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()); Quote Link to comment 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'? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.