-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
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
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
$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
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