Quote:
Originally Posted by Lynne
|
just for testing i put this up
Code:
<html><head><title>Test</title></head>
<body><?php echo mysql_result(mysql_query("SELECT COUNT(*) as Num FROM thread Where open
= 0"),0); ?></body>
</html>
i uploaded this to /forums directory and it doesn't return any value when I load it in the browser.
How would the script know which db to get the values from?