I'm not sure exactly what you need help with, but if you're getting any
errors, I'd recommend adding the resource identifier to your mysql_*
functions (usually ($db = mysql_connect(), but YMMV).
But I wonder if you were trying to do something else?
Erik
On Monday, January 21, 2002, at 05:51 PM, <[EMAIL PROTECTED]> wrote:
> arg- trying to get the data that I pull outta my db into a 2d assoc
> array...
>
> any help?
>
> ~kurth
>
> $result = mysql_query( "SELECT pkgid FROM plans");
> while($row = mysql_fetch_assoc($result)){
> $resultpkg = mysql_query( "SELECT * FROM plans WHERE
> pkgid='$row[pkgid]'");
> $package = mysql_fetch_assoc($resultpkg);
> }
>
> print_r($plan);
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]