Re: [PHP] MySql Close problem

2004-06-21 Thread Curt Zirzow
* Thus wrote Erik Gjertsen: > I have problem with mysql_close > I dont understand why. > Are ther someone that have any proposal? > > ... > > > $query = "SELECT usrid FROM users WHERE username"; > $result = @mysql_query ($query); //Run the query > > ... > > } > mysql_close(); perhaps beca

[PHP] MySql Close problem

2004-06-20 Thread Erik Gjertsen
I have problem with mysql_close I dont understand why. Are ther someone that have any proposal? Thank for any help Erik Gjertsen Here is the code $query = "SELECT usrid FROM users WHERE username"; $result = @mysql_query ($query); //Run the query if (mysql_num_rows($result) == 0) { // Make t