I wish the PHP book which would uncover the location, the couple upon the categorical login page, if their date of bieing born is reduction than the week the way. Birthdays have been stored in the database as well as usually if they mix their report is displayed from their line. I consider it should not be difficult, though for the little reason I can not get. Im flattering most perplexing to emanate the tie for people if their date of bieing born reduction than the week away, they can click upon the couple as well as we will embrace the voucher. But I will not benefaction the couple of everyones login page where they see answers upon their birthdays approchent.La Dr. Marh, how it would, though it is not. . What is the format (YYYY-MM-DD or something else) should be the anniversary of the database? as well as should be varchar or should it be the date field?
NEED HELP IN PHP?
Previous post: PERFUME AT DISCOUNT PRICES ONLINE STORE
Next post: MOBILE MARKETING WITH SMS
{ 2 comments… read them below or add one }
Here is a snippet that should work: / Birthday / $ from the databaseif ($ birthday> time () & & $ birthday – time () < = (7 * 24 * 60 has been selected * 60)) (/ / birthday is in seven days) / / $ birthday was selected from the database when ($ birthday> time () & & $ Anniversary – time ( ) < = (7 * 24 * 60 * 60)) (/ / birthday class="highlight"> within seven days)
Assuming that you are MySQL database date fields as “YYYY-MM-DD” formats – and of course, save the dates in date fields. What do you think it is? Thus, if the birthday is in a field it. I have not been tested.