updating mysql rows in 'for' loop
Posted: Sat Feb 07, 2004 2:43 pm
hello;
my problem, I believe, is the syntax of
any thoughts?
thanks,
Shannon Burnett
Code: Select all
<?php
$query = "update $table set caption='l' where(item_number='{$i}')";
for ($i=1 ; $i<=8 ; $i++)
{if (mysql_db_query($database , $query , $link))
{echo "&doppie=good&";
}
};
?>Code: Select all
<?php
...number='{$i}')";
?>thanks,
Shannon Burnett