note 79909 added to ref.array

From: Date: Wed, 19 Dec 2007 12:49:48 +0000
Subject: note 79909 added to ref.array
Groups: php.notes 
Request: Send a blank email to php-notes+get-133775@lists.php.net to get a copy of this message
Hi is there any one that can maybe help me sort out this problem? $result1 = mysql_query("SELECT * FROM final_report_no_selections WHERE contacts_contacts_identity_n = {$idNum}", $connection); $row1 = mysql_fetch_array($result1[num]); $retVal = $row1[$num]; echo "test : " . $retVal . "<br>"; // displays blank mysql_close($connection); return $retVal; My major problem is that I can't retrieve the data out of the array. ---- Server IP: 69.147.83.197 Probable Submitter: 196.30.113.26 ---- Manual Page -- http://www.php.net/manual/en/ref.array.php Edit -- https://master.php.net/note/edit/79909 Del: integrated -- https://master.php.net/note/delete/79909/integrated Del: useless -- https://master.php.net/note/delete/79909/useless Del: bad code -- https://master.php.net/note/delete/79909/bad+code Del: spam -- https://master.php.net/note/delete/79909/spam Del: non-english -- https://master.php.net/note/delete/79909/non-english Del: in docs -- https://master.php.net/note/delete/79909/in+docs Del: other reasons-- https://master.php.net/note/delete/79909 Reject -- https://master.php.net/note/reject/79909 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#133775) next »