manalnor Posted September 28, 2010 Share Posted September 28, 2010 Hello friends, how can i combain this codes If i've 3 functions $limited,$refere,$pass all have commen result echo "good"; if($limited){if($hits >= $limited){echo "U1";}else{echo "Good";}} else {echo "Good";} ================================= if($refere){if($me >= $you){echo "U2";}else{echo "Good";}} else {echo "Good";} ================================= if($pass){if($she >= $he){echo "U3";}else{echo "Good";}} else {echo "Good";} thansk, it would really helps me alot Link to comment https://forums.phpfreaks.com/topic/214619-how-to-write-if-and-elseif-multi/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.