Week Planner

Moderators: Calcifer, slothy

Insert in Week Planner

Postby » 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']))."')";

$id = mysql_insert_id($db);

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


Return to Questions regarding other scripts at

Who is online

Users browsing this forum: No registered users and 6 guests