sorry forgot to mention that u have to repeat the for loop.. if you get the info out of a db it should be easy with while(list($variable) = mysql_fetch_row($result))
do you want them to create a whole new table, or just change the contents of one?
if you want them to create a whole new table, just read out the sql file in a session variable, and execute with mysql_query.. its the same with changing the contents..
hope this helped.
use the download link as your solution..
start with inserting time in the database,
as soon as the person clicks the link, time and expiry date will be inserted in your mysql database..
(start date) (end date)
INSERT INTO db VALUES (timestamp, timestamp + 2 days)
Hope...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.