[PHP] IF's!

2007-09-26 Thread Dan Shirah
Okay, I know this is probably a real easy fix, and I could swear I've done it before, but for some reason it's just not working. Below is my query, it does a conditional search based on info put in a form by the user. If I put in a valid letter/name for the last_name that I know is in my database

Re: [PHP] IF's!

2007-09-26 Thread Jim Lucas
Dan Shirah wrote: Okay, I know this is probably a real easy fix, and I could swear I've done it before, but for some reason it's just not working. Below is my query, it does a conditional search based on info put in a form by the user. If I put in a valid letter/name for the last_name that I

Re: [PHP] IF's!

2007-09-26 Thread Daniel Brown
On 9/26/07, Dan Shirah [EMAIL PROTECTED] wrote: Okay, I know this is probably a real easy fix, and I could swear I've done it before, but for some reason it's just not working. Below is my query, it does a conditional search based on info put in a form by the user. If I put in a valid

Re: [PHP] IF's!

2007-09-26 Thread Dan Shirah
Thanks! I think I saw mssql_error() somewhere on a forum a long time ago so I just inherently started using it. Thanks for pointing that out. Jim, yes you are right...that was just a portion of my code. The entire page in which that section resides is over 900 lines and I didn't want everyone