jonnyw6969 Posted February 20, 2008 Share Posted February 20, 2008 Hi, I'll try and explain what im doing. I have a simple page and when you click a button i want a small form to appear below the button ive just clicked. Thanks Jon Link to comment https://forums.phpfreaks.com/topic/92063-showing-extra-fiels/ Share on other sites More sharing options...
priti Posted February 20, 2008 Share Posted February 20, 2008 If you are aware of Programming then my simple suggestion will make you life easy i.e <form name='frm' action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> $_SERVER['PHP_SELF'] will post the form to the same page and you can recognize weather form is submitted or not.If you don't want to do this in PHP then you can also work with help of javascript. Regards Link to comment https://forums.phpfreaks.com/topic/92063-showing-extra-fiels/#findComment-471473 Share on other sites More sharing options...
rameshfaj Posted February 20, 2008 Share Posted February 20, 2008 to maintain the stage that the page is displayed after u have clicked the submit button,u can set some vairables or can use table structure where,the new form will be seen in a <td> after the button has been clicked. Link to comment https://forums.phpfreaks.com/topic/92063-showing-extra-fiels/#findComment-471501 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.