Sniffy Posted April 30, 2006 Share Posted April 30, 2006 I have a simple question that I've been meaning to ask for a while.A variable change.Say, the variable (var1) equals 10 and (var2) equals 5, I want php to switch it to the same amount as (var1). I think it can be easily done and I might know how but I just want to be sure. I just started learning php and I'm not used to it yet. Link to comment Share on other sites More sharing options...
calvin182 Posted April 30, 2006 Share Posted April 30, 2006 $var2 = $var1; that would set var2 to the same value as var1-Calvin Link to comment Share on other sites More sharing options...
Sniffy Posted May 3, 2006 Author Share Posted May 3, 2006 mercy beaucoup Link to comment Share on other sites More sharing options...
calvin182 Posted May 3, 2006 Share Posted May 3, 2006 aucun problèmei dont know french, but supposedby babelfish does so if that's too literal, no problem Link to comment Share on other sites More sharing options...
justsomeguy Posted May 3, 2006 Share Posted May 3, 2006 Don't worry, Sniffy doesn't know French either (it's 'merci' ) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now