Re: var_dump() results

From: Date: Sun, 13 Jan 2008 18:15:21 +0000
Subject: Re: var_dump() results
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-267185@lists.php.net to get a copy of this message
T.Lensselink wrote:
Can you show some code?
Apparently I sent replies to T.Lensselink only, here's the meat of the 2nd one: -- Actually, it doesn't exactly iterate the 1st row 4 times, it's a bit more convoluted. The table fas 4 columns (Fields): 1 - int, primary, auto-incrementer 2 - varchar() values 3 - varchar() values 4 - varchar() values and 2100 rows. I'm after the data in the 2nd and 3rd columns. The return is 4 rows of this: array(4) {
    [0]=>  string(11) "col_2_row_1_data" ["col_2"]=>  string(11) "col_2_row_1_data"
    [1]=>  string(13) "col_3_row_1_data" ["col_3"]=>  string(13) "col_3_row_1_data" }
This is way beyond my ken, but I want to learn so I'll keep plugging at it. Tips & suggestions are welcome.... Ulex

« previous php.general (#267185) next »