here is my array hown can i capture each item within the array and insert it into a database.
<select name="suburbs[]" size="12" m....... (its a multiple selectable list menu)
here is the sql to insert into the database im guessing i need to loop through the array for each item.
$sql_suburb = "INSERT into login_suburbs (login_id,suburb,area)".
"values($user_id, $suburb, $page)" or die("Invalid query: " . mysql_error());
echo "$sql_suburb";
$result_suburb = mysql_query($sql_suburb);
cheers aron.