Aureole Posted July 28, 2007 Share Posted July 28, 2007 Normally I'd do something like this... <?php if (Something) { echo "Something..."; } else { echo ""; } ?> Would this work the same? <?php if (Something) { echo "Something..."; } else { } ?> Link to comment https://forums.phpfreaks.com/topic/62221-solved-quick-question-about-ifelse-statements/ Share on other sites More sharing options...
emehrkay Posted July 28, 2007 Share Posted July 28, 2007 yes. as a matter of fact, you dont even need the else *gasp* Link to comment https://forums.phpfreaks.com/topic/62221-solved-quick-question-about-ifelse-statements/#findComment-309680 Share on other sites More sharing options...
Aureole Posted July 28, 2007 Author Share Posted July 28, 2007 Didn't know that. *exasperated gasp* Thanks... Link to comment https://forums.phpfreaks.com/topic/62221-solved-quick-question-about-ifelse-statements/#findComment-309681 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.