[PHP] 2d array help

2002-01-21 Thread kurth
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]');

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

Re: [PHP] 2d array help

2002-01-21 Thread Jim Lucas [php]
be referanced by the pkgid ? Jim Lucas bend.com - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 21, 2002 2:51 PM Subject: [PHP] 2d array help arg- trying to get the data that I pull outta my db into a 2d assoc array... any help? ~kurth $result

Re: [PHP] 2d array help

2002-01-21 Thread Kurth Bemis
, ...); are you wanting to have the above be referanced by the pkgid ? Jim Lucas bend.com - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 21, 2002 2:51 PM Subject: [PHP] 2d array help arg- trying to get the data that I pull outta my db