note 100834 added to function.is-string

From: Date: Wed, 10 Nov 2010 12:54:32 +0000
Subject: note 100834 added to function.is-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-173900@lists.php.net to get a copy of this message
I need help!!! this is correct? foreach ($rowsetArray as $rowArray) { foreach ($rowArray as $column => $value) { // is_string($column); // is_string($value); // echo "\t $column: $value<br />"; // ++$rowCount; // echo "\n"; $test1 = is_string($column); $test2 = is_string($value); $test3 = "$test1: $test2<br />" . ++$rowCount . "\n"; echo $test3; } } because que get that back? 1: 2 1: 1 3 1: 1 4 1: 1 5 1: 1 6 1: 7 1: 8 1: 1 9 1: 1 10 1: 1 11 1: 1 12 1: 13 ---- Server IP: 217.160.235.204 Probable Submitter: 217.92.21.59 ---- Manual Page -- http://www.php.net/manual/en/function.is-string.php Edit -- https://master.php.net/note/edit/100834 Del: integrated -- https://master.php.net/note/delete/100834/integrated Del: useless -- https://master.php.net/note/delete/100834/useless Del: bad code -- https://master.php.net/note/delete/100834/bad+code Del: spam -- https://master.php.net/note/delete/100834/spam Del: non-english -- https://master.php.net/note/delete/100834/non-english Del: in docs -- https://master.php.net/note/delete/100834/in+docs Del: other reasons-- https://master.php.net/note/delete/100834 Reject -- https://master.php.net/note/reject/100834 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#173900) next »