note 102981 added to control-structures.foreach
| From: | siva dot subramani975 at gmail dot com | Date: | Fri, 18 Mar 2011 07:35:16 +0000 |
| Subject: | note 102981 added to control-structures.foreach | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-177972@lists.php.net to get a copy of this message | ||
Hello,
I am trying to write a script in PHP. I knew to use Hashes in perl. The same way i tried using
arrays in php. But I got some problem in printing the array.
The array which I tried is,
$h[$id]=$sample;
in that $id and $sample both are words like datas.
Can anyone please help me find out a solution..
Regards,
Siva
----
Server IP: 69.147.83.197
Probable Submitter: 182.71.240.210 (proxied: 127.0.0.1)
----
Manual Page -- http://www.php.net/manual/en/control-structures.foreach.php
Edit -- https://master.php.net/note/edit/102981
Del: integrated -- https://master.php.net/note/delete/102981/integrated
Del: useless -- https://master.php.net/note/delete/102981/useless
Del: bad code -- https://master.php.net/note/delete/102981/bad+code
Del: spam -- https://master.php.net/note/delete/102981/spam
Del: non-english -- https://master.php.net/note/delete/102981/non-english
Del: in docs -- https://master.php.net/note/delete/102981/in+docs
Del: other reasons-- https://master.php.net/note/delete/102981
Reject -- https://master.php.net/note/reject/102981
Search -- https://master.php.net/manage/user-notes.php