Forum Moderators: coopster
In other words:
I have a page listing feedback from visitors with a link called "Reply to Post". If i click on this link i would like to automatically include a contact form that resides in an includes folder. Is this possible with PHP without needing to write a Javascript which i actually don't know how to do it in Javascript?
Kind regards
On the other hand, if you don't mind a page refresh, you can just generate the same page with the contact form and display it.
For this to work, your "Reply" button would need to call a script that generated the same page with the contact form include file ... included.
Hope this helps.
For instance, to test that a submit button from the post array has been clicked, i would do something like if(array_key_exists('submit'), $_POST)... and then determine the list of actions to take place. I am looking for a similar way for a link and in a procedural manner.
So please, help