View Single Post
12-17-2006, 12:05 PM
#1
Alex Eyre is offline Alex Eyre
Alex Eyre's Avatar
Status: Designer
Join date: Aug 2006
Location: Manchester
Expertise:
Software:
 
Posts: 1,132
iTrader: 5 / 100%
 

Alex Eyre is on a distinguished road

Send a message via MSN to Alex Eyre

  Old  MySQL Syntax error

Hey everyone, I am creating a system for my new automated coding shop, please can you assist me with this. I am trying to take out the percent completion of there project from the table 'data'. I am using this syntax:

Originally Posted by COMMAND
SELECT * FROM data complete WHERE email = {$_SESSION['email']}
but I am currently getting this error:
Originally Posted by MYSQL server
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 '@hotmail.co.uk' at line 1
please advise me on my SQL syntax or any errors you see,
Regards, Alex.