Hi,
I have a problem, i can't work out how to produce a variable with another variable in it.
e.g.
i want a variable ($content) which will then make a statement like "your username is $username"
It must be a variable as this is loaded into another page dynamically.
How to do i write the $content = '????????
Hope someone can help.
I tried using
but it doesnt work, i assume that was a crazy thing to try.
I have a problem, i can't work out how to produce a variable with another variable in it.
e.g.
Code:
$username=$_POST['username'];
It must be a variable as this is loaded into another page dynamically.
How to do i write the $content = '????????
Hope someone can help.
I tried using
Code:
$content ='your username is <?php echo $username ?>';
Comment