> mysql_select_db("jamesmc",$db);
> $result = mysql_query("SELECT * FROM comment WHERE pid='$poid'
ORDER by
> cid desc",$db);
> $comm = mysql_fetch_array($result);
This is in the FAQ, I think... Better re-read that.
Start using or die() a lot:
mysql_select_db("jamesmc", $db) or die("Could not select db");
$result = mysql_query(...) or die(mysql_error());
By Day: |By Night:
Don't miss the Zend Web Store's | There's not enough room here...
Grand Opening on January 23, 2001! | Start here:
http://www.zend.com | http://l-i-e.com/artists.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]