Dynamically Setting and Accessing Variables : Print : Development PHP Source Code


PHP Source Code » Development » Print »

 

Dynamically Setting and Accessing Variables







<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>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Development
» Print