Re: [PHP] passing variables to a sql statement

2003-01-18 Thread Tom Rogers
Hi, Sunday, January 19, 2003, 5:50:51 AM, you wrote: j> hi, i'm hoping someone can help me out here - im trying to pass a variable from a string in the href tag, however my sql breaks when i put a var in the statment. j> when i replace $foo with a number, the page works fine. can someone please t

RE: [PHP] passing variables to a sql statement

2003-01-18 Thread John W. Holmes
> hi, i'm hoping someone can help me out here - im trying to pass a variable > from a string in the href tag, however my sql breaks when i put a var in > the statment. > when i replace $foo with a number, the page works fine. can someone please > tell me what im doing wrong? > > here is the error

Re: [PHP] passing variables to a sql statement

2003-01-18 Thread Jason Wong
On Sunday 19 January 2003 03:50, jennifer wrote: > hi, i'm hoping someone can help me out here - im trying to pass a variable > from a string in the href tag, however my sql breaks when i put a var in > the statment. when i replace $foo with a number, the page works fine. can > someone please tell

[PHP] passing variables to a sql statement

2003-01-18 Thread jennifer
hi, i'm hoping someone can help me out here - im trying to pass a variable from a string in the href tag, however my sql breaks when i put a var in the statment. when i replace $foo with a number, the page works fine. can someone please tell me what im doing wrong? here is the error i get: Warn