note 47213 added to language.variables.variable

From: Date: Sat, 06 Nov 2004 19:09:44 +0000
Subject: note 47213 added to language.variables.variable
Groups: php.notes 
Request: Send a blank email to php-notes+get-80198@lists.php.net to get a copy of this message
if you want use php instead of mysql results, for example <? $a1="hhhhhhhhhhh"; $a2="bbbbbbbbbbb"; ...... $a1000="qqqqqqqqq"; for($s=1;$s<1001;$s++) { $r="a".$s; // for first loop $r is equal to a1 //and is not a variable echo $$r; //for first loop we will print hhhhhhhhhhh ?> <br> <? }; // break for html tags ?> If you are in Persian language you can visit http://www.sanjeshearta.com Free Php and Mysql Courses. Iranian Php and Mysql lovers group ---- Manual Page -- http://www.php.net/manual/en/language.variables.variable.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+47213 Delete -- http://master.php.net/manage/user-notes.php?action=delete+47213&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47213&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47213&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47213&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47213&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47213&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+47213&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#80198) next »