[Solved]when variable contains a quot Insert does not work
Posted: Tue Aug 22, 2006 3:42 am
$qs = "INSERT INTO videodb VALUES ('$id','$title','$artist');";
$result = mysql_query($qs);
This code normaly works unless $artist or $title contains a quot '
I when i echo $qs and try it in phpmyadmin, it says quot not closed and refering to the end...
Any way to work around this issue ?
Byenary
$result = mysql_query($qs);
This code normaly works unless $artist or $title contains a quot '
I when i echo $qs and try it in phpmyadmin, it says quot not closed and refering to the end...
Any way to work around this issue ?
Byenary