Tue Oct 28, 2008 12:32 am
<html>
<head>
<title>Dynamically setting and accessing variables</title>
</head>
<body>
<?php
$holder = "user";
$$holder = "holder";
print "$user<br>";
print $$holder;
print "<br>";
print "${$holder}<br>";
print "${'user'}<br>";
?>
</body>
</html>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.