aman_batra Posted September 12, 2008 Share Posted September 12, 2008 hello.., i want to make a todo list with the help of php/html. can anone guide me? it must be a kind of that as many users can use and make their desired to dos and after that date the todo expires. Link to comment https://forums.phpfreaks.com/topic/123901-to-do-lists-help/ Share on other sites More sharing options...
dropfaith Posted September 12, 2008 Share Posted September 12, 2008 thats kinda a vague issue your going to need a form with all your inputs a php script to insert them into database then selects to get data back out and format into html either of these Will do the delete if the date is before today <?php $today = date("Y-m-d"); mysql_query("delete from table WHERE date < '$today'") or die(mysql_error()); ?> <?php $today = date("Y-m-d", strtotime("-1 day")); mysql_query("delete from table WHERE date = '$today'") or die(mysql_error());?> but you need to describe what your having trouble with i cant write out the entire thing to build this and your question leaves me wondering what exactly you need help on Link to comment https://forums.phpfreaks.com/topic/123901-to-do-lists-help/#findComment-639631 Share on other sites More sharing options...
aman_batra Posted September 18, 2008 Author Share Posted September 18, 2008 thanx for replying. please guide me with the code that how to use MYSQL dates in order to insert a reminder to the date. i'l do what you said.. i'l first make a form of req feilds and then calander will be there where a user can click and add a note on that particular date. Link to comment https://forums.phpfreaks.com/topic/123901-to-do-lists-help/#findComment-645019 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.