Profile
Achievement
chopbust's Recent Snippets
- All /
« Prev 1 Next »
PHP
Preserving Form Elements by creating hidden form elements on new page based on previous page's form submit
I made this function to render hidden form elements in a new page based on what was sent from the last form. This function can be used to preserve input from a long multiple-page form.
What does it do:
1. Go through all the submitted POST eleme...
0
906
posted 13 years ago by chopbust
When a link is clicked, call up this function.
Parameter
message = message you want to display after click
url = page you want to forward to if the user clicks OK
1
630
posted 14 years ago by chopbust
This is to call up Javascript alert through PHP. I hate switching between echoing Javascript while writing PHP so I wrote one in PHP.
0
919
posted 14 years ago by chopbust