bluetoother Posted November 17, 2006 Share Posted November 17, 2006 guys i have some problem in php string .. look$name="";once i put it in if or switch statement $name become ZERO 0or $name+="hi";echo $name;//return zeroi think there is some php function for thatcan u help ? Link to comment Share on other sites More sharing options...
reportingsjr Posted November 17, 2006 Share Posted November 17, 2006 Thats because your making it do math to add "" and "hi" together. Would you please write the equation for this? Just replace the + with a ".". Link to comment Share on other sites More sharing options...
bluetoother Posted November 17, 2006 Author Share Posted November 17, 2006 ooooooooooopsu r rightam sorry iam just new in phpi was asp developerbut i have to learn php alsoiam looking for good free hosting site now,, any one can help i didnt find any here 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