MortimerJazz Posted November 23, 2006 Share Posted November 23, 2006 Can someone help?What is wrong with this??[code]if(($type == NULL) || ($price == NULL)){echo ("Please select both a toy type and an price range");include 'search_form.php';exit(); }[/code]Thank you very much Link to comment https://forums.phpfreaks.com/topic/28236-simple-if-statement-driving-me-mad/ Share on other sites More sharing options...
kenrbnsn Posted November 23, 2006 Share Posted November 23, 2006 As it stands, there is nothing wrong with the snippet of code you provided, but there is insufficient data for a meaningful answer.Please provide a context for your question. How are the variables $type and $price set?Ken Link to comment https://forums.phpfreaks.com/topic/28236-simple-if-statement-driving-me-mad/#findComment-129120 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.