Jump to content

[SOLVED] I can't see it


cooldude832

Recommended Posts

Giving me an error saying the ; at the end isn't suppose to be there and i'm clueless on why

been through it 10 times now no clue

parse error: syntax error, unexpected ';' in register.php on line 268


<?php
	$q = "Insert into `".USERS_TABLE."`
		(Email, Password, Name, M_Status, Address, City, State, Zip, Country, Occupation, Education, Ethnicity, Birthday, Religion, Gender
		VALUES(
			'".$form_data['email']."',
			'".md5($form_data['password']."',
			'".$form_data['name']."',
			'".$form_data['m_stats']."',
			'".$form_data['address']."',
			'".$form_data['city']."',
			'".$form_data['state']."',
			'".$form_data['zip']."',
			'United States of America', 
			'".$form_data['job']."',
			'".$form_data['education']."',
			'".$form_data['ethnicity']."',
			'".$b_day."',
			'".$form_data['religion']."',
			'".$form_data['gender']."')";
?>

 

It even highlights the syntax perfectly here

Link to comment
https://forums.phpfreaks.com/topic/99111-solved-i-cant-see-it/
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.