Forcing close of thread
| From: | jtjohnston | Date: | Wed, 30 Jan 2002 23:04:07 +0000 |
| Subject: | Forcing close of thread | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-82860@lists.php.net to get a copy of this message | ||
I'm having growing pains with my mysql server (Windows).
I get a lot of "Forcing close of thread ..."
Do I need to add mysql_close() to the end of everything? I never had to
before on a Unix mysql server. Is "mysql_close($myconnection);" correct?
Is it necessary?
$myconnection = mysql_pconnect($server,$user,$pass);
mysql_select_db($db,$myconnection);
$news = mysql_query("SHOW TABLE STATUS FROM ".$db." LIKE '$table'");
while ($news_story = mysql_fetch_array($news))
{
$table_comment = $news_story['Comment'];
}
mysql_close($myconnection);
?>