note 47213 deleted from language.variables.variable by betz
| From: | betz@php.net | Date: | Sat, 06 Nov 2004 19:12:41 +0000 |
| Subject: | note 47213 deleted from language.variables.variable by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-80200@lists.php.net to get a copy of this message | ||
Note Submitter: info at sanjeshearta dot com
----
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
----
Reason: useless note