Stupid title I know. I have this:
$x = array_keys($_POST);
foreach($x as $y) {
$query = "UPDATE * FROM events (PromotionalTimeLine = "$_POST[$y]" WHERE EventID='$y'";
$result = mysql_query($query);
print_r($result);
}
I need to update only the PromotionalTimeLine
cell for specific rows with $y
as their EventID
. Will this do that?