cybertai Posted August 8, 2008 Share Posted August 8, 2008 Hi, My first time here. Having problem with one of my page. This is my code. $insertSQL = "UPDATE nz_tbl_member set nzm_fullname= '".$_POST['indname']."' where nzm_id='".$id."'"; I've been getting errors.. so i tried output.. to my surprise this is the output: UPDATE nz_tbl_member set nzm_fullname= \'Johhny\' where nzm_id=\'\' Look at the extra \\\\\\\\\\\\ How do i get rid of it ? THANKS! Link to comment https://forums.phpfreaks.com/topic/118744-update-help-sql-added-extra/ Share on other sites More sharing options...
fenway Posted August 9, 2008 Share Posted August 9, 2008 Do you have magic_quotes enabled? Link to comment https://forums.phpfreaks.com/topic/118744-update-help-sql-added-extra/#findComment-612480 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.