This;
or this;PHP Code:if ( $id == "1" ) {
}
else {
if ( $id == "2" ) {
}
else {
if ( $id == "3" ) {
}
else {
}
}
}
Im using the 2nd one alot arround my site and i was wondering if the first way is quicker.PHP Code:if ( $id == "1" ) {
}
else if ( $id == "2" ) {
}
else if ( $id == "3" ) {
}
else {
}


Reply With Quote






