User Profile

Collapse

Profile Sidebar

Collapse
StuButler
StuButler
Last Activity: May 23 '07, 12:35 PM
Joined: May 22 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • StuButler
    replied to Calling one variable as part of another
    in PHP
    Sorted, was the double quotations, thanks.

    Stu
    See more | Go to post

    Leave a comment:


  • StuButler
    replied to Calling one variable as part of another
    in PHP
    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'];
    ...
    See more | Go to post

    Leave a comment:


  • StuButler
    started a topic Calling one variable as part of another
    in PHP

    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.
    Code:
    $username=$_POST['username'];
    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 = '????????
    ...
    See more | Go to post
No activity results to display
Show More
Working...