Re: [PHP] SQL Query syntax error... Help?

2001-04-15 Thread Scott VanCaster
Nevermind everyone, I'm an idiot :) I had the case wrong. I needed $ID, not $id ! Thanks for the assistance though. Nice to know ya'll are here. Scott ""Scott VanCaster"" <[EMAIL PROTECTED]> wrote in message 9bd394$ikn$[EMAIL PROTECTED]">

Re: [PHP] SQL Query syntax error... Help?

2001-04-15 Thread Scott VanCaster
Well, I added the echo($id); back in and am just getting $id printed, so it looks like I have another problem :( Now to see if I can find it and figure it out. ""Scott VanCaster"" <[EMAIL PROTECTED]> wrote in message 9bd3pv$qbd$[EMAIL PROTECTED]">news:9bd3p

Re: [PHP] SQL Query syntax error... Help?

2001-04-15 Thread Scott VanCaster
; On Sun, Apr 15, 2001 at 04:20:07PM -0500, Scott VanCaster wrote: > > > Any idea what my problem is? I removed the WHERE id=$id and it works, but > > updates every record of course :( > > Have you tried putting the $id in quotes too? > > | WHERE = '$id' &g

Re: [PHP] SQL Query syntax error... Help?

2001-04-15 Thread Scott VanCaster
t;Felix Kronlage" <[EMAIL PROTECTED]> wrote in message 20010415232649.A11407@mad">news:20010415232649.A11407@mad... > On Sun, Apr 15, 2001 at 04:20:07PM -0500, Scott VanCaster wrote: > > > Any idea what my problem is? I removed the WHERE id=$id and it works, but > >

Re: [PHP] SQL Query syntax error... Help?

2001-04-15 Thread Scott VanCaster
PROTECTED]> wrote in message Pine.A41.4.32.0104151924060.11846-10@marte">news:Pine.A41.4.32.0104151924060.11846-10@marte... > What do you have in the id variable? > > It's contents can be the problem. > > regards, > > Augusto Cesar Castoldi > > On Sun, 15 Apr

[PHP] SQL Query syntax error... Help?

2001-04-15 Thread Scott VanCaster
I've only been trying to learn this stuff for a few days and thought I was on a roll, but now have run into a problem I don't get at all. In my script I have the following sql query and am receiving the following error when it executes "You have an error in your SQL syntax near '' at line 1." An

[PHP] HTML table to MySQL?

2001-04-08 Thread Scott VanCaster
How would one go about getting each element from an HTML table to a database? The HTML will be the source code from a games site score report pasted into a form. I'm just learning, so don't waste you're valuable time explaining every detail of how this can be done, but if someone can point me in