On 9/27/05, Bulent <bmalik@xxxxxxxxxxxx> wrote: > here is the concerning line; > about line "mysql_close($sonuc3);" > > @mysql_connect($server,$kullanici,$sifre) or die("sql server baglanamadi"); > @mysql_select_db($vt) or die("tabloya baglanamadi"); > $sonuc3=mysql_query($sorgu3) or die("dosya açilamadi-1"); [...] > mysql_close($sonuc3); $sonuc3 is a mysql result resource NOT a mysql connection. You can't close it. If you want to close the connection that you just opened then call mysql_close() without any parameters. -robin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php