Resource id #2
| From: | Andrew Duck | Date: | Sun, 28 Oct 2001 13:00:27 +0000 |
| Subject: | Resource id #2 | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-13780@lists.php.net to get a copy of this message | ||
I am trying to select a message from a table in a database. the message will will be in column
'msg' and will be in same row as id='0'.
I need that msg put to the screen. With the code below I get the error: Resource id #2
Can someone please explain how I can fix this..
Thankyou in advance.
<?
$msgcre = "SELECT msg FROM creators WHERE id='0'";
$msg = mysql_query($msgcre);
echo "<FONT color='#000000' style='font-size: 10pt; font-weight:
bold'>$msg</font>";
?>