Jump to content

to do lists help


aman_batra

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.