justAnoob Posted May 12, 2009 Share Posted May 12, 2009 <?php $sql = "INSERT INTO abcxyz(imgpath2)VALUES('$imgpath')WHERE id = '$id' and user_id = '$user_id'"; ?> How would I get an echo for the mysql error if the insert was working?.. I know how to do it,, but I can't get the syntax right. Link to comment https://forums.phpfreaks.com/topic/157768-solved-echo-error/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.