[PHP] Erroring out?!

2004-06-14 Thread Robert Sossomon
I am trying to figure out why if there is an error in my query it throws an error message to the screen instead of parsing the rest of my script to get the rest of the information. I have error checking in my script and if there is no information I want it to process and do things. I run this: ?

Re: [PHP] Erroring out?!

2004-06-14 Thread Steve Douville
You need to quote the $user: $query = select * from quoteprefs where salesman = '$user'; - Original Message - From: Robert Sossomon [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Monday, June 14, 2004 2:44 PM Subject: [PHP] Erroring out?! I am trying to figure out why

Re: [PHP] Erroring out?!

2004-06-14 Thread Chris
Robert Sossomon wrote: I am trying to figure out why if there is an error in my query it throws an error message to the screen instead of parsing the rest of my script to get the rest of the information. I have error checking in my script and if there is no information I want it to process and do

Re: [PHP] Erroring out?!

2004-06-14 Thread Daniel Clark
I think you need single quotes around $user. $query = select * from quoteprefs where salesman = '$user'; I am trying to figure out why if there is an error in my query it throws an error message to the screen instead of parsing the rest of my script to get the rest of the information. I have

RE: [PHP] Erroring out?!

2004-06-14 Thread Robert Sossomon
pages. Any thoughts? -Original Message- From: Robert Sossomon [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 2:44 PM To: PHP List Subject: [PHP] Erroring out?! I am trying to figure out why if there is an error in my query it throws an error message to the screen instead

Re: [PHP] Erroring out?!

2004-06-14 Thread Steve Douville
to javascript load 2 pages. Any thoughts? -Original Message- From: Robert Sossomon [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 2:44 PM To: PHP List Subject: [PHP] Erroring out?! I am trying to figure out why if there is an error in my query it throws an error message