LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-14-2012, 11:01 AM   #1
shygvy
LQ Newbie
 
Registered: May 2012
Posts: 10

Rep: Reputation: Disabled
i have tried to view this error message don;t seem 2 understand


Table creation fail.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 5


<?php
$name =$_POST["name"];
$position =$_POST["position"];
$visible =$_POST["visible"];
?>


my line 5 is: $name =$_POST["name"];
 
Old 05-14-2012, 11:44 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by shygvy View Post
Table creation fail.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 5
then you should look at the SQL statement that you're passing to the DBMS.

Code:
<?php
$name =$_POST["name"];
$position =$_POST["position"];
$visible =$_POST["visible"];
?>
This is PHP code and has nothing to do with the SQL error message.
By the way, it's nonsense to just copy the POST parameters. I've seen that a thousand times, but that doesn't make it any better.

[X] Doc CPU
 
1 members found this post helpful.
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I don't understand this error message... ScottSmith Programming 3 11-16-2009 10:57 AM
Don't understand dependency error johngcarlsson Linux - Newbie 2 05-29-2008 06:49 PM
Quake4 demo shows me a message I don't understand lord_didger Linux - Games 2 04-20-2007 12:38 PM
I don't understand this error FowlProgrammer Linux - Newbie 4 02-18-2007 07:42 AM
Permissions error message I dont understand? BajaNick Linux - Security 5 02-16-2005 08:12 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration