Jump to content

Really simple only two lines of code that need help


karatekid36

Recommended Posts

Why are these two line producing an error.  All of the variables are fine it is the actual structure of this code.

 

		

foreach($attend as $key => $value2){
	mysql_query("INSERT INTO attendance ('eid', 'mid','attend_status') VALUES ('$eventid','$key','$value2') or die(mysql_error()");
}

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.