Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   PHP / mySQL (http://siteownersforums.com/forumdisplay.php?f=10)
-   -   syntax error. (http://siteownersforums.com/showthread.php?t=64912)

noahwilson 05-15-2013 03:46 AM

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...


All times are GMT -7. The time now is 06:26 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.