Re: Re: What am I doing wrong - PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux