Training: jQuery Fundamentals -- Carrboro, NC, July 29-30

Announcing jQuery Fundamentals,
a two-day class at Carrboro Creative Coworking (July 29-30) that will
give you the knowledge you need to properly and effectively start
integrating jQuery, the popular JavaScript library, into your web
development projects. Over the course of two days, you’ll learn the
fundamental concepts of JavaScript and jQuery and tackle real-world
exercises to solidify your understanding of the language and the
library.

Next TriPUG meeting

Presenter: Michael Kimsal
Time: 06/10/2009 - 6:30pm06/10/2009 - 9:00pm
Location: Carrboro Creative Coworking
Address: 205 LLoyd Ave, Suite 110, Carrboro, NC 27510

problem with input date

Hi all,

 I have a date field on a form and I need to save it to MySql database. I have the following php code.

echo  $_POST['BirthDate'];
$bdate = date('Y-m-d H:i:s', strtotime($_POST['BirthDate']));
echo " now5=";
echo $bdate;

for input 28/07/1964 I get

28/07/1964 now5=1970-01-01 10:00:00

for input 11/07/1964 I get

11/07/1964 now5=1964-11-07 00:00:00

Can't insert into the Database.

Hello,

I'm having trouble with this script. For some reason it won't insert the information into the database. All the database info is set up correctly, because if I insert the info from the PHP my Admin it shows on the site.

<?

if ($sermonname == "") {

Syndicate content

Back to top