i have make full script form, etc, i want to add field in that forum some one choose end date and time in that field and this go in mysql database, when that time come it automatically update this column and change product visible to 0 for example i have column in mysql db product visible = 1 and end time is 2011- 20 - 10 yyyy-dd-mm and time 12 am now what that time and date came it automatically update product visible = 0 can u guys please help me out it's urgent please
Where you read the record for that product, if the current timestamp is later than the one in the record, update the record to set "product visible" to 0, and leave without displaying the product.
yes i want that, and i want that it automatically update to 0 from 1 after current time past to record don't need to run the file can u please help me to created this code
The code is "Where you read the record for that product, if the current timestamp is later than the one in the record, update the record to set "product visible" to 0, and leave without displaying the product. ". Write it in whatever language you use on the site. Or find someone you trust enough to give the login and password for your site to download your files, modify what has to be modified and upload it again. This can't be done as "put the following lines into the code at this point", since exactly what has to be written, and where it has to go, depends entirely on the code you already have.