meltingpoint Posted December 22, 2011 Share Posted December 22, 2011 I want to check to see if two variables are NOT empty and if so- assign a new variable if(!empty($net_op_call) and !empty($f_name)){ $net_start = 'Yes'; } Is this syntax correct as it is not setting the variable - $net_start Link to comment https://forums.phpfreaks.com/topic/253706-if-and-syntax-problem/ Share on other sites More sharing options...
meltingpoint Posted December 22, 2011 Author Share Posted December 22, 2011 Syntax good- another part of code was faulty. Cheers Link to comment https://forums.phpfreaks.com/topic/253706-if-and-syntax-problem/#findComment-1300621 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.