Does nyone see a prob with this code?
I'm getting a MySQL error on the line with the while loop.
I swear to god im going insane...
<?php
mysql_connect("localhost",user,pass);
mysql_select_db('db');
$retrieve = stripslashes($code);
$werking = "$code";
$workit = mysql_query($werking);
while($row=mysql_fetch_row($workit)){
$sql = "update outage set custcalled = 'yes' where tss like '$row[0]' and name like '$row[1]' and city like '$row[4]' and datestamp like '$row[32]'";
$query = mysql_query($sql);
}
?>