Basic PHP app to learn from and to use as your ToDo-list.
The documentation in middle of writing, so some things might not be 100% clear yet, but we're expanding the docs as soon as possible.
See it yourself, visit our demo! (v.1.20081221)
SVN access is limited to web-based only at the time, but from there you can find the newest revisions. Just locate your browser to our svn-repositories browser and select todo from the list, then grab your copy in a nice package.
Latest copy from our Subversion repository as .tar.gz Browse the repository Download old version: ToDo/v.1.20081221 (336kb)
...is easy as eating bread!
todo.php-file and configure the needed values.The next part goes into more detail of what is everything does and isn't required to be read.
require_once("todo.php");
From line 3; includes the needed functions and database access for the interface.
$listall = listall();
if( is_array($listall) )
{
echo "<ol id=\"thelist\">\n\n";
formatlist( $listall );
echo "</ol>\n";
} else {
echo "<p class=\"noentries\">Nothing found!</p>";
}
From lines 33—41; fetches the list using listall()-function writing the results to $listall-variable. Then the $listall-variable is checked so it really contains something.
If the variable contains an array, we write <ol> elements around it and set the ordered list id as "thelist" and send it to simple formatlist()-function that loops through the array and echoes nice <li>-elements with the delete link.
Coming soon...
CREATE TABLE h13_todo ( id int(55) NOT NULL auto_increment, w timestamp NULL default NULL, todo text collate utf8_swedish_ci, PRIMARY KEY (id), UNIQUE KEY `when` (w) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_swedish_ci;
Creates a MySQL database table with 3 columns.
The table will be written into utf8_swedish_ci-collation and UTF8-charset for best compatibility with everything.
Created as joint project between Hollow13.net members Mr. Penttinen (dommend), who did the graphics and design work and Mr. Vuorinen (darkmind) who build the code and now does the upkeeping.