I am printing an image using an ID which is generated.however i wanted to do a check to se开发者_开发知识库e if this image exists and if it doesnt print no-image.jpg instead...
Is it possible to rewrite this to be shorter somehow? if (isset($_POST[\'pic_action\'])){ $pic_action=$_POST[\'pic_action\'];
Update 2: examples removed, because they were misleading. The ones below are more relevant. My question: