You are on page 1of 1

PHP================== <a href="name.php?name=<?php echo(urlencode($_GET['name'])); ?>"> LINK</a> shortcut===<a href="name.php?name=<?=(urlencode($_GET['name'])); ?>"> LINK</a> Multipurpose Page Outline============ <body> <?

php if (condition) { ?> <!----HTML content to display if condition is true-------> <?php } else { ?> <!--HTML content to display if condition is false--> <?php } ?> </body> somewhat confusing but if taken <?php as a gateway to php mode and ?> as an exit from php mode this code makes perfect sense/ Alternative form of the if=else statemtn of multipurpose page-=== Mbody> <?php if(condition): ?> <!--------html code to execute---------> <?php else: ?> <!-------html content to display if condition is false-------> <?php endif; ?> </body>

You might also like