02-26-2008, 09:53 PM
|
#5 (permalink)
|
|
The Frequenter
Join Date: Nov 2007
Location: Netherlands
Posts: 460
Thanks: 49
|
Like TlcAndress just said, maybe you should try using error_reporting( E_ALL ^ E_NOTICE ); for your debugging.
So, what you want to do is retrieve a 1D (one dimensional array as we call it at work) and filter every value depending on the row name. For example;
PHP Code:
$queryFinal = $queryRow[['fieldcat']['fieldname']] = $queryRow['queryvalue'];
If I am right, this is what you are trying to accomplish?
Else, from another perspective, you want to sort every value? Or push it into 4 different arrays?
You should take a look at PHP: Arrays - Manual. That might solve some of your issues. I advise you to read them carefully since I use a lot of them for different tasks.
I hope this helps.
__________________
"Life is a bitch, take that bitch on a ride"
|
|
|