hello i'm using the following array to update my db tables
if($order)
{
foreach ($order_features as $value)
{
$result=MYSQL_QUERY("UPDATE subba_features SET order = '0' WHERE id = '$value'");
}
}
this works fine but i now need to pass two variables to the update query how do you do this? do i need to set two array one within each other?
for example:
if($order)
{
foreach ($order_features as $value)
{
$result=MYSQL_QUERY("UPDATE subba_features SET order = '$order_id' WHERE id = '$value'");
}
}