Re: [PHP] REsource Identifier( PHP_MYSQL)

2004-03-26 Thread Burhan Khalid
Gimic wrote: 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

[PHP] REsource Identifier( PHP_MYSQL)

2004-03-26 Thread Gimic
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 = mysql_con