Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL

Notices


Reply
 
Thread Tools Rate Thread Display Modes
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

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Status Error 324 (net::ERR_EMPTY_RESPONSE)? jamesranatte Review My Website 1 01-02-2014 11:56 PM
403 substatus error codes for IIS? jamesranatte Review My Website 1 01-02-2014 11:52 PM
Explorer error - help munna85 General Discussion 1 01-02-2014 04:43 AM
Gone from Bing; Could it be a System Error? bobo.cx Bing 1 06-20-2012 09:51 PM
How to set up of custom html default error pages jennypretty Search Engine Optimization 1 01-03-2012 09:21 AM


All times are GMT -7. The time now is 08:50 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.