Sorted, was the double quotations, thanks.
Stu
User Profile
Collapse
-
The username was an example, perhaps i should explain my full situation.
I get these values from an input form:
...Code:$title=$_POST['trackname']; $author=$_POST['author']; $region=$_POST['region']; $version=$_POST['version']; $website=$_POST['website']; $stars=$_POST['stars']; $details=$_POST['details']; $ch_rl_mgp=$_POST['ch_rl_mgp']; $ch_rl_sbk=$_POST['ch_rl_sbk'];
Leave a comment:
-
Calling one variable as part of another
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"Code:$username=$_POST['username'];
It must be a variable as this is loaded into another page dynamically.
How to do i write the $content = '????????
...
No activity results to display
Show More
Leave a comment: