Get shipping problem continued!

From: Date: Fri, 01 Nov 2002 13:11:52 +0000
Subject: Get shipping problem continued!
Groups: php.general 
Request: Send a blank email to php-general+get-122414@lists.php.net to get a copy of this message
Sorry to keep on at you guys but this is really getting to me now! I want to pull a shipping quantity (the very last record in the Db) into a page and am still having problems. Tried looping through the records and I can't seem to get it to return anything: function get_shipping($shippingvar) { $conn = db_connect(); $query = mysql_query("SELECT MAX(receipt_id) from receipts"); $myrow = mysql_fetch_row($query); $shippingvar = $myrow["shipping"]; return $shippingvar; } Surely it can't be much more complicated than that? Help please. Smoked 10 fags already! Steve Jackson Web Developer Viola Systems Ltd. http://www.violasystems.com stephen.jackson@violasystems.com Mobile +358 50 343 5159

« previous php.general (#122414) next »