|
MySQL "Select from Database" Question
I'm trying to select a number from my database and when I run my scrip I always received this message " Resource id #3 " and not the actual number that is in my database. Does anyone know what this means? Please help if you can!!
<?php
$sql_amt = "SELECT total FROM Customer_Order
WHERE order_number='{$_SESSION['order_number']}'";
$result = mysql_query($sql_amt)
or die("Error: ".mysql_error($cxn));
echo $result;
?>
Last edited by kpowers4; 03-29-06 at 01:27 PM.
|