Re: MS-SQL 2000 weird problem
| From: | Dan Anderson | Date: | Mon, 15 Sep 2003 21:42:59 +0000 |
| Subject: | Re: MS-SQL 2000 weird problem | ||
| References: | 1 | Groups: | php.db php.general |
| Request: | Send a blank email to php-general+get-162666@lists.php.net to get a copy of this message | ||
> Any thoughts?
Are you dying and outputting an error where something could happen to
bodge up the server?
I'm not familiar with MS SQL Server, but I know under mysql:
<?php
$link = mysql_connect($host,$username,$password) or die("");
// I forget the next line off the top of my head
/* returns null if $link didn't work and we didn't die */
$result = mysql_query("SELECT * FROM table");
?>
-Dan