Jump to content


Photo

What's the problem?


  • This topic is locked This topic is locked
1 reply to this topic

#1 Blitz

Blitz

    Jedi In Training

  • Twodded Staff
  • PipPip
  • 307 posts
  • Location:California
  • Interests:Php, html, css, etc, band, trumpet, anime, my dog, TV, computers, video games, sleeping, marching band, sleeping, jazz, sleeping, metal, sleeping, classic rock, sleeping, music, jazz band, did I mention sleeping?, kicking the hell out of kids that won't take the time to spell or use proper grammar, my website, etc.

Posted 30 September 2004 - 10:58 PM

This is the code I have:

   $name = $_POST[name];
    $pass = $_POST[name];
    $email = $_POST[email];
    $time = time();
INSERT INTO atable ('id', 'name', 'pass', 'email', 'layout', 'date') VALUES('', '$name', password('$pass'), '$email', '6', '$time')

And I always get this error:

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 ''id', 'name', 'pass', 'email', 'layout', 'date') VALUES('', 'te

Am I missing something? There shouldn't be a problem....

EDIT: Figured out, delete/lock this topic please. Or just let it die.

#2 Jamie Huskisson

Jamie Huskisson

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 3,648 posts
  • Gender:Male
  • Location:Nottingham, UK

Posted 01 October 2004 - 06:09 AM

lol topic closed :bs:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users