Advertisement

Week Planner

Moderators: Calcifer, slothy

Insert in Week Planner

Postby fahad.direct » Tue Aug 03, 2010 2:26 pm

Insert query works but it is losing the parameters and no values in description, bg color code and Dates are being received though in my insert query as:

$sql = "insert into weekSchedule(description,bgColorCode,eventStartDate,eventEndDate)
values('".$description."','".$_GET['bgColorCode']."','".date("Y-m-d H:i:s",strtotime($_GET['eventStartDate']))."','".date("Y-m-d H:i:s",strtotime($_GET['eventEndDate']))."')";
//mysql_query($sql);

$id = mysql_insert_id($db);

Kindly if some one can help me out.
fahad.direct
 
Posts: 11
Joined: Tue Aug 03, 2010 2:11 pm

PreviousNext

Return to Questions regarding other scripts at www.dhtmlgoodies.com

Who is online

Users browsing this forum: No registered users and 6 guests

cron