Jump to content

If And Else.......


arunpatal

Recommended Posts

This is my if else statement....

But it dose not show $codes1

 

Is something wrong with it???

 

<?php
if(isset($codes3)) {
echo"<br/><div id='codedisplay_box' style='overflow: auto;'><code><xmp> $codes3</xmp></code></div><br/>";
} else {
   echo"<div id='codedisplay_box' style='overflow: auto;'><code><xmp>$codes1</xmp></code></div>";
}
?>

Link to comment
https://forums.phpfreaks.com/topic/270761-if-and-else/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.