Name for array element instead of number...
Posted 05 August 2006 - 06:42 PM
I'm getting results from a database, and it's doing as I expect, however, if I do something like this...
...where config_name is the column, and file_size is the row, I cannot access it. Instead, I have to do this:
To access it, then, I have a $row['config_value'] column/values, however, I don't want to be fetching a number and guess around with what I have, so I'd like the name in replacement of 0 to be as well, the name of config_name.
So yes, I want to be able to access a part of that array, by the name of a row in in config_name. Thanks.
Sorry if I didn't explain that well, I'll explain it better, if needed.
Posted 05 August 2006 - 06:46 PM
your have to assign a varable to the name for it to make human sence ok.
((EMAIL CODE THAT WORKS))
((PAYPAL INTEGRATION THAT WORKS))
Posted 05 August 2006 - 07:11 PM
Then I guess I'll have to make sure I do this all very carefully.
Posted 05 August 2006 - 07:17 PM
Posted 05 August 2006 - 07:24 PM
I'm getting results from a database....
Donations gratefully received
|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users