Advertisement

07.19.2004 at 09:33AM PDT, ID: 21063617
[x]
Attachment Details

Changing Date Formats between MySQL and PHP

Asked by Housey in Macromedia Dreamweaver

Tags: , , , ,

I have a page that  enables users to enter news items into the database.  

The first question I would like to know is How can I get the 'Date' field in the MySQL table to automatically populate itself when a user adds their news item.  

Because of the way that MySQL stores dates.  They always appear backwords when displayed in the viewing table.  So my second question is, How do I format the date so that 10th December 2004 would read 10/12/2002.

Thanks in anticipation.

HouseyStart Free Trial
[+][-]07.19.2004 at 12:54PM PDT, ID: 11586821

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Macromedia Dreamweaver
Tags: date, mysql, format, php, changing
Sign Up Now!
Solution Provided By: CoolATIGuy
Participating Experts: 3
Solution Grade: A
 
 
[+][-]07.19.2004 at 01:11PM PDT, ID: 11586985

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.19.2004 at 01:31PM PDT, ID: 11587186

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.19.2004 at 01:36PM PDT, ID: 11587237

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.19.2004 at 02:21PM PDT, ID: 11587562

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.19.2004 at 03:11PM PDT, ID: 11587910

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]08.11.2004 at 04:39AM PDT, ID: 11771628

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]08.11.2004 at 05:39AM PDT, ID: 11772077

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.11.2004 at 12:13PM PDT, ID: 11777235

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.19.2004 at 02:51AM PDT, ID: 11839531

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]08.23.2004 at 01:19AM PDT, ID: 11868057

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32