How can insert a array into my MySQL database?
I have managed to insert some of this data into the database already.
Below is part of my code:
$depart=serialize($_POST['departure']);
$sql="INSERT INTO bookings VALUES('$depart');
I am trying to insert
[departure] => Array ( [0] => 30 [1] => 05 [2] => 2011 [3] => 17 [4] => 41 )
into the database field 'depart'
your help will be much appreciated.