searls03 Posted April 16, 2011 Share Posted April 16, 2011 alright, is this the correct format for a REPLACE INTO? if not what do i need to change.......it isn't working...... $sql = "REPLACE INTO Events (name, event, eventid, userid, title1, title2, title3, title4, title5, title6, title7, title8, email) VALUES('$name','$event','$eventid','$userid','$title1','$title2','$title3','$title4','$title5','$title6','$title7','$title8', '$email')"; $rs = mysql_query($sql) or die ("Problem with the query: $sql<br>" . mysql_error()); Link to comment https://forums.phpfreaks.com/topic/233895-help-with-replace-into/ Share on other sites More sharing options...
searls03 Posted April 16, 2011 Author Share Posted April 16, 2011 where do i put where userid='$userid'? Link to comment https://forums.phpfreaks.com/topic/233895-help-with-replace-into/#findComment-1202325 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.