madspof Posted March 21, 2008 Share Posted March 21, 2008 I wish ]to create a IF statment which would look something like this : if($counter == 1 or 4) Is this possible so that the if stament checks if the variable is equal to 1 or 4 ? thanks ahead madspof Link to comment https://forums.phpfreaks.com/topic/97252-can-an-if-statment/ Share on other sites More sharing options...
BlueSkyIS Posted March 21, 2008 Share Posted March 21, 2008 if ($counter == 1 || $counter == 4) Link to comment https://forums.phpfreaks.com/topic/97252-can-an-if-statment/#findComment-497645 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.