Jump to content

help with REPLACE INTO


searls03

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.