Hello Everyone...
I have wrote a script (part of a mailing list) which subscribes users by adding the users to the database.
Now, I am using this in a PostNuke block, so whenever the form is submitted, I would like the page to refresh, and have the confirmation message where the original form was. I have seen this done a lot with polls, and I am wondering how I am supposed to do this.
In english, here is what I want the PHP to do:
- If the script has already been executed successfully, display message 1 in the block.
- If the script has already been executed unsucessfully, display message 2 in the block.
- If the script hasn't been executed (or else), just display the subscription form.
If anyone could help me, it would be great. I know this is a little hard to understand, probably because of the way I have worded it.