This is a discussion on "MySQL/PHP Date" within the PHP Forum section. This forum, and the thread "MySQL/PHP Date are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
MySQL/PHP Date
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
||||
|
||||
|
MySQL/PHP Date
Hey all. I have a post stored in a table, with a field called date. On the website, I want to display the following using PHP/MySQL: This puzzle ends on: (date of puzzle + 1 week).
So, it takes the date the puzzle was added to the table, and adds 1 week to it, and displays that date. My current code is:
Jack
__________________
Jack Franklin - Webforumz Moderator (x)HTML | CSS | PHP | MySQL | JQuery (Javascript) Contact: My Blog | Twitter | Delicious Want Lessons? PM me. If you think I've helped, please press the 'Thanks' Button.
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
|
|
|
|
#2
|
|||
|
|||
|
Re: MySQL/PHP Date
I wish I could give you specifics about how to insert this into your particular code, but I'm pretty sure you can specify the puzzle ends on date by using this code...
Good luck! |
|
#3
|
||||
|
||||
|
Re: MySQL/PHP Date
No luck I'm afraid. Cannot figure out how to intergrate it in. Any ideas?
Appreciate the help so far
__________________
Jack Franklin - Webforumz Moderator (x)HTML | CSS | PHP | MySQL | JQuery (Javascript) Contact: My Blog | Twitter | Delicious Want Lessons? PM me. If you think I've helped, please press the 'Thanks' Button.
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to compaire Stored Dates with System Date (PHP-MYSQL) | jeffry | PHP Forum | 3 | Feb 22nd, 2007 02:15 |
| Convert date to MySQl format | AdRock | PHP Forum | 4 | Jan 15th, 2007 09:41 |
| Changing date format in date picker | AdRock | JavaScript Forum | 1 | Aug 1st, 2006 17:16 |
| Date in Asp | Gup | Classic ASP | 1 | Jun 5th, 2006 09:05 |
| asp date | Monie | Classic ASP | 1 | Sep 21st, 2004 04:38 |