Hi frnds..
this query having a small error at where condition....plz solve this..
$sql="insert into customer (sizeindustry) values ('$sindustry') where (sno = '$sno')";
echo $sql;
mysql_query($sql)or die(mysql_error());
$sql= insert into customer (sizeindustry) values ('Small') where (sno = '4')
error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where (sno = '4')' at line 1