RE: [PHP-DB] SELECT string

2007-04-24 Thread Dwight Altman
-4); }else{ $sql .= "1"; } echo "SQL:$sql"; ?> It was getting a tad complicated with the "Could Include" using "OR" and testing for the end of the existing $sql string, but the "Could Include"'s just need to be omitted from the SQ

Re: [PHP-DB] SELECT string

2007-04-23 Thread bedul
cmiiw.. since i don't the visual what u said bellow - Original Message - From: "Ron Piggott" <[EMAIL PROTECTED]> To: "PHP DB" Sent: Tuesday, April 24, 2007 11:31 AM Subject: [PHP-DB] SELECT string > > I am looking for help to write a SELECT sy

[PHP-DB] SELECT string

2007-04-23 Thread Ron Piggott
I am looking for help to write a SELECT syntax to help me process a directory searching query tool I am developing. If you start at http://www.actsministrieschristianevangelism.org/ministrydirectory/ and under 'Step 1:' click Business a form is displayed. My question is how would you generat

RE: [PHP-DB] Select string.

2002-07-10 Thread Shrock, Court
$login = mysql_query("SELECT * FROM Users WHERE Username ='$User_Name'"); > -Original Message- > From: Shiloh Madsen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 4:48 PM > To: php-db > Subject: [PHP-DB] Select string. > > > Y

[PHP-DB] Select string.

2002-07-10 Thread Shiloh Madsen
Yet another thing i need some quick help with. What is the proper way to generate a select string in php. I know if youre trying to select a value from a column you need to enclose it in double quotes if youre doing it directly in sql. in this case the value in question is being passed as a va