SirChick Posted November 21, 2007 Share Posted November 21, 2007 If you have an is numeric in an if statement does it require an extra bracket like so: If((is_numeric($SellTableStaff)) && $SellTableStaff > 0 && $SellTableStaff != '') or is it just: If(is_numeric($SellTableStaff) && $SellTableStaff > 0 && $SellTableStaff != '') ? Link to comment https://forums.phpfreaks.com/topic/78273-solved-is-numeric/ Share on other sites More sharing options...
revraz Posted November 21, 2007 Share Posted November 21, 2007 2nd one Link to comment https://forums.phpfreaks.com/topic/78273-solved-is-numeric/#findComment-396099 Share on other sites More sharing options...
kratsg Posted November 21, 2007 Share Posted November 21, 2007 if(is_numeric($SellTableStaff)) If you wanted the other way around, using an "!" if(!is_numeric($SellTableStaff)) Link to comment https://forums.phpfreaks.com/topic/78273-solved-is-numeric/#findComment-396101 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.