English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Can't get my head around web forms at all??? Want to use simple .php form on websites. Can anyone send me an easy to manipulate code/ help??

2007-02-28 20:42:57 · 3 answers · asked by cjdardis 3 in Computers & Internet Programming & Design

PS i am not a programmer i'm a graphic designer dabbling in web so i need very basic start to finish instructions

2007-02-28 23:43:53 · update #1

All i want it to do is email the response details to a set address

2007-03-01 03:02:26 · update #2

3 answers

What do you want the form to do? Without knowing what the form should do, we cannot provide code.

2007-03-01 00:53:14 · answer #1 · answered by Anonymous · 0 1

look at the source code, there are some variabls to transform. Try to change the method to get and look the status bar.
Then program .

2007-02-28 20:51:17 · answer #2 · answered by Anonymous · 0 1

Forms are simple html like







On submit.php, you can recieve the value of strName field. It depends upon the "method" attribute of form tag. If it is GET, you can get form items in $_GET array at submit.php file. In case of POST you will have to use $_POST.
For the above mentioned form, you can have following in submit.php

$strYourName = $_POST['strName'];
echo "Your Name : ".$strYourName;
?>

2007-02-28 22:15:20 · answer #3 · answered by Atif Majid 3 · 1 1

fedest.com, questions and answers