Good day!
i want to know if it is possible in php code that the form would be hide and unhide?
What shoud be the syntax for that?
Thank you
Good day!
i want to know if it is possible in php code that the form would be hide and unhide?
What shoud be the syntax for that?
Thank you
Surround it in a conditional (if) statement.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
loading the page as
http://www.site.com/page.php?show=1
will show the form. Loading it as
http://www.site.com/page.php
will not.
PHP Code:<?php
if (isset($_GET['show']) && $_GET['show'] == '1') {
?>
<form>
<input type="text" />
<input type="submit" />
</form>
<?php
} else {
?>
Don't show.
<?php
}
?>
[CENTER][/CENTER]
Corrections to my coding/thoughts welcome.
Bookmarks