how to update a data everyday using php and mysql
Posted: Tue Apr 13, 2010 10:30 pm
Hello everyone,
I am new to php and mysql,,,i stuck with a problem and need help.
The problem is that i am working on a website for horoscope.Where i want to make a admin account who can submit data about sunshines for any date ( for example on 14th april he can submit data for 15,16,17,....)
But the user will only see the data for the current date.(like if today is 14th april ,he will see the sunshine data for 14th only)and on 15th april data will automatically update and now on 15th april user can see only for 15th...like this.
so how to solve this and wht should b the logic and syntax for this..any idea??.
Regards
Amit
I am new to php and mysql,,,i stuck with a problem and need help.
The problem is that i am working on a website for horoscope.Where i want to make a admin account who can submit data about sunshines for any date ( for example on 14th april he can submit data for 15,16,17,....)
But the user will only see the data for the current date.(like if today is 14th april ,he will see the sunshine data for 14th only)and on 15th april data will automatically update and now on 15th april user can see only for 15th...like this.
so how to solve this and wht should b the logic and syntax for this..any idea??.
Regards
Amit