Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2005
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    PHP beginner question (quick one)

    Not sure how to set a variable equal to another.

    $myvar = $myothervar ???

    Is that right?

  2. #2
    Supreme Master coder!
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    10,200
    Thanks
    10
    Thanked 1,166 Times in 1,157 Posts
    yep ...

    $myvar = $myothervar;

    don't forget the semicolon.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •