Hey y'all, I'm having problems trying to get the
MySql_Query() function to return the resource ID when using a $string as the
argument to pass to it. It returns when I hard code the argument but not the
string. Any ideas? here is what the function looks like:
function GetVals() {
$db =
.
Gimic [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hey y'all, I'm having problems trying to get the
MySql_Query() function to return the resource ID when using a $string as
the
argument to pass to it. It returns when I hard code the argument but not
the
string. Any ideas? here
It's a simple algorythem, use a loop to enter the names from the database
into an array, and compare each to the value in the array. or some hybred
thereof.
?php
function Compare($UserInput) {
$db=mysql_connect($ServerAddress,$LoginName,$LoginPassword));
mysql_select_db($userDB,$db);
$result =
I just looked over the code I recently submitted.. the last if statement
needs a semi-colon at the end of the echo(The name don't exist) part...
sory if you copy/pasted and got an error.. ;)
Gimic [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
It's a simple algorythem, use a loop
4 matches
Mail list logo