Re: [PHP] 2d array help

2002-01-21 Thread Kurth Bemis
Yes I do... for an online billing system... Kurth Bemis Senior Network Admin/Owner: USAExpress.net Owner: Ozone Computer http://kurth.hardcrypto.com PGP Key Avail. - Uh!.Uh!.Uh!."I'm done with this."...Out the windo

Re: [PHP] 2d array help

2002-01-21 Thread Jim Lucas [php]
$result = mysql_query( "SELECT pkgid FROM plans"); while($row = mysql_fetch_assoc($result)) { $package = mysql_fetch_assoc(mysql_query( "SELECT * FROM plans WHERE pkgid='$row[pkgid]'")); } obviously this will have $package = array("key" => "value", ...); are you wanting to have the above be

Re: [PHP] 2d array help

2002-01-21 Thread Erik Price
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