Re: Re: What am I doing wrong - PHP

From: Date: Sat, 13 Nov 2004 10:40:41 +0000
Subject: Re: Re: What am I doing wrong - PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-201899@lists.php.net to get a copy of this message
On Saturday 13 November 2004 17:40, Stuart Felenstein wrote: > //I tried MYSQL_ASSOC, NUM and BOTH, no diff > while($row = mysql_fetch_array($inds, MYSQL_BOTH)) { > echo '<option > > value="'.$inds['CareerIDs'].'">'.$inds['CareerCategories'].'</option>'; > } $row is what contains the data you're grabbing from the DB and you're not using it -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* BOFH Excuse #175: OS swapped to disk */

« previous php.general (#201899) next »