Thread: syntax error.
View Single Post
Old 05-15-2013, 03:46 AM   #1
noahwilson
Registered User
 
Join Date: Mar 2013
Posts: 246
syntax error.

Hi there,
I can't find where I made a mistake, for years...
$row = "INSERT INTO Student (Name, Surename, StudentID, Generation) VALUES ('$_POST[$student_data[0]]', '$_POST[$student_data[1]]', '$_POST[$student_data

[2]]', '$_POST[$student_data[3]]')";

This is report: Parse error: syntax error, unexpected '[', expecting ']' in
Thanks in advance...
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
noahwilson is offline   Reply With Quote