Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged form
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
the user sees the confirmation page immedeateley. this is helpful if the mail() function takes some time
0
823
posted 15 years ago by miebach
This snippet allows you to update multiple rows of a database using a single form in one easy click
0
1328
posted 15 years ago by daveismyname
I use this to activate basic forms for clients. Just make sure your form input names are named appropriately. Any inputs such as phone or fax that are separated into different inputs should have the same name.
1
927
posted 15 years ago by dmautz1
This is a long over due update to my db insert building function. Please not that the function is the important part the code below is just prove that it works... l:-)
1
667
posted 15 years ago by brownrl
This is a good way to validate form input from PHP, in essence this could be a blue print for your forms.
5
939
posted 15 years ago by brownrl
This is a short and sweet snippet that will save the users form input after PHP runs validation and returns false. Very good for User Experience!
0
743
posted 15 years ago by montanaflynn
A simple to use framework for a contact form. This is missing some serious validation and such but is a good startin' point for any simple contact form.
The input field named 'botty' is an input field we hide with css.. if data is sent to the ha...
7
1460
posted 15 years ago by jadedbat
[quote]$_SERVER['HTTP_REFERRER']'s problem is that can be spoofed, but it's better than nothing if you really want that.[/quote]
1
1024
posted 15 years ago by luizlopes
Makes Drupal Advanced Search form non collapsible and expanded by default.
0
686
posted 16 years ago by aleprieto
Sometimes you need to have an ability to show limited number of elements in your select objects or sort elements by name or so. I figured out that this feature was added to object_select_tag later so that not everybody knows about that. This featureâ...
1
685
posted 17 years ago by ggb2g
Step 1: Copy and paste the e-mail Form Code into a 'contact.php' page (must be a html/php page on a server that allows php!).
Step 2: Copy n paste the sendeail.php code into a new file. Change the YourEmail section to include your email address. T...
3
1295
posted 17 years ago by jonhenshaw
admin panel for php scripts with a login form elaborated by a function.php page, then an upload form with canc option
2
1288
posted 18 years ago by dandyna
The form method must be post and the enctype set as it is below. The hidden input for MAX_FILE_SIZE must also be included. The value is the max file size (in bytes?).
4
909
posted 18 years ago by pckujawa