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]');
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
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
, ...);
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
4 matches
Mail list logo