note 102981 rejected from control-structures.foreach by thiago

From: Date: Fri, 18 Mar 2011 19:45:28 +0000
Subject: note 102981 rejected from control-structures.foreach by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-177987@lists.php.net to get a copy of this message
Note Submitter: siva dot subramani975 at gmail dot com ---- 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

« previous php.notes (#177987) next »