Home
My Faqts
Contributors
About
Help
News: Faqts.com
search
is now functional again. Thank you for your patience.
Faqts
:
Computers
:
Programming
:
Shopping For You
:
PHP
:
Common Problems
: Forms and User Input
+ Search
Enter your search terms
Submit search form
Web
faqts.com
Folders
Array Form Variables
(9)
Cookies
(1)
File Uploads
(6)
URLs and Post or Get Methods
(39)
Validating Data
(9)
db
(0)
Share Your Knowledge
Ask a Question
Questions
Recently Asked Questions
How can I get the email received from a php form in tables with borders?
How do I prevent leading spaces when posting user input in a textarea?
how to check an array of radiobuttons in Javascript
How to submit a form to various pages and get the output in different Iframes on a single page.
When user submit data in my form, how can i make the form e-mail me the data of the user?
Random Questions
How can I get the query part of a GET request?
How to do a select multiple?
How can I pass an ampersand (&) in a url?
How can I let a user upload a file to the server in PHP?
I can save info from forms in cookies, but how do I save variables generated throughout the code?
How can I access data entered into a form by the user?
How can I make a HTML select box from the values in a database column?
How can prompt the user for their state?
What should be used to pass encrypted data back and forth?
Why is $PHP_SELF empty from a Netscape browser but not from IE?
I'm protecting a dir with .htaccess. How can I get the password?
How can I remember data from the first page through a multi-page form?
What is the best way to store credit card information?
Should I email credit card information to myself?
How can I run all form variables through a function automatically?
I have a form with 4 buttons, how can I run a different PHP script for each?
Can I run different PHP scripts from the same form submission?
Why are the apostrophes and quotes in my form data always doubled up?
How can I find out which option a user selected in a SELECT form?
Can I submit a HTML form to an email address?
How can I have two submit buttons in the same HTML form?
How do you respond to image submit buttons?
Can I pass a multi-dimensional array from one script to another?
How can I access data of form elements with php without having to submit the form to another script?
How can I get PHP to create javascript that updates field 2 based on field 1 in a select box?
How can I check if a form was submitted to trigger a page?
How can I handle unselected checkboxes in PHP scripts?
How do you deal with quotes when populating a form with DB information?
How can I ensure that data entered by the user is characters A-Z/a-z/0-9 only?
I have two frames. Can I access user input in a form on one frame by executing php in the other frame (without JavaScript)?
How can I use PHP to print user input form data to a printer attatched to the server
How would I find the variables that were posted from a generic form without knowing the variable names using the post method?
How can I have a user submit PHP script like <? echo $variable ?> using an textarea field?
Do you loose data in multiple page forms (POST) with large text blocks being passed along in hidden fields?
How do I create variables that "remember" their value after I close the browser.
How I can check if the form was submitted if it only has one field and a submit button, and the user hit "enter" instead of clicking on the button?
How do I move from CGI to a PHP mailto form?
How can I disable the back button from a form?
Is there any way to convert a user's textarea entry into HTML (mostly paragraph formatting)?
I simply want to output the results of a form, posted to a php3 file to an html page which is formated in my website style, and has existing text.
When i press the submit button i want to send the data to my db and reset my form, i want no confirmation page. How do i do it?
Since IE 5.x doesn't pass the name/value pairs of a submit button, how can you use multiple submit buttons in a way that works with IE?
How can I make a complete separation between Forms design and PHP programing (form fields validation, insert/update database, etc) ?
After a form is submitted and a script is run, how do I keep the script from running again if the user clicks 'refresh' in the browser?
I used "echo($value)" to parse value from a form submission but nothing is displayed. How can I display the "value" input from form submission?
How can I have in a form two "select" type, but the contains for the 2nd field depend on what user have choosen in the first one (datas from mysqL)
How do I convert form values into MySQL datetime format using php?
How do I display the results of a db query in a different frame to the one that holds the select statement/php code?
When I post or get a form it does not assign a variable like $var. I have to use the $HTTP_POST_VARS["var"] array. Any Sugestions?????
How can I pass multiple selections from a drop down menu?
is there a way to pass all the options in a select box, not just the currently selected one?
When using LIMIT in MySQL how can I tell PHP where to start browsing the next page when user hits 'more'?
How to search with wildcards from PHP form? MySQL wants %$var% but this doesn't work.
Using PHP, how can I can check which radio button is checked and store its value in a variable?
While on a php page how can I tell if a person has clicked on a checkbox, and how can I pass that value to another page...without using submit?
How can I setup a form that counts the number of checkboxes the user selects, then multiplies that number times a dollar amount to achieve a total.
Can I simulate a form submission using a php script?
Does PHP has funtions to allow posting information to a search engine to complete registration form with POST.
How can I post an object to a PHP script? (example: ...action="form.php?$object)
In a multiple page form how can you have multiple answers posted for the same variable?
I store "\" as a hidden data and upon submitting the form, on the receivng php page shows up as "\\". Why is this so ?
I want to update DB, send ak, and return the filled form for changing data, all at the same time. How?
How do I stop my multi page form elements from looking like this: foobar\\\\\\\\'s?
If I have multiple checkboxes checked (with the same name, but different values), why don't I get them as an array?
how do i get ride of the \ in front of ",',\ when the user submits them in a form?
How can I check that a username entered by someone into a form is unique and if not choose another?
How can I echo line breaks inside a textarea? \n and \r\n just print as text.
How can JavaScript refer to a PHP MULTIPLE SELECT form object, such as foo[] (how to escape the [])?
I have html inputs, with names of emp1,emp2,emp3, how do I pass these to php without hardcoding them
how can i input a list from a textarea into an array(one per line)?
I use session_start(), fill in some form. Push the back-button IE-says 'Page has Expired'?
How do I tell PHP to run all submitted form data through a function?
PHP Newbie: HTML form calls PHP file, unable to access Html form variables in php; please help?
How can I add a file to the $data as in http://www.faqts.com/knowledge_base/view.phtml/aid/12039?
New to php...would like to know how 2 capture data from a email form and send it to a thankyou page
<? echo $form_name ?> is blank no matter what's entered in the form_name. Need help.
<? echo $form_name ?> is blank no matter what's entered in the form_name. Need help.
My HTML form variables are not being passed into my php script. I am using $ before my variables on
How can I prompt a user to confirm a button press?
Why can't I submit anything when I tried clicking the submit button?
My php code is not able to retireve values from an HTML form. What could be the reason.
How can i access data in a mysql database with php?
Undefined variable PHP_SELF and other submited form variables
Undefined variable PHP_SELF and other submited form variables
I can't send variable with method post or get from the input box
How do I know which check boxes have been clicked from any number of boxes.
How can is stop a user from pressing the submit button twice on a php/mysql data entry form?
How to check which radio button is checked and pass the name of the radio button as argument?
How do I get all selected values from a SELECT MULTIPLE element after submitting the form in PHP?
How can I find the name of the FORM that was used to POST to a page?
How do I get 2 forms to communicate with each other with the child form updating the parent form?
If I altered the values (of a form submission) after a POST how do i display them back in the form?
My Apache2.0.39 and php4.2.3 cannot work well!
My Apache2.0.39 and php4.2.3 cannot work well!
When I use POST/GET methods to send my HTML input, the input will not appear in the next HTMPHP vars
Can I submit a form to the page it's on without having it reloaded?
How do I guarantee that data remains present in the form after returning fro the back button
How can I write to a file, what a user has input into a form
Data will not transfer to the php script.
How can I have PHP email me a form after a user has filled it in?
Why are my (") preceded by a (\) when I use the post function in PHP? Is there a way to halt this?
Is there another way to protect forms from being hacked other then querying the HTTP_REFERER header?
How do I redirect a brower to the approtite page pendding on user input from a form?
How do I deal with multiple checkboxes in PHP; add numeric value if box is checked?
When user submit data in my form, how can i make the form e-mail me the data of the user?
How to submit a form to various pages and get the output in different Iframes on a single page.
How do I prevent leading spaces when posting user input in a textarea?
How can I get the email received from a php form in tables with borders?
Unanswered Questions
Why I could only see first and/or second result row if I try to display checked rows from a form (using mysql_data_seek()) ?
How can PHP parse a 3rd party POST with multiple variables of the same name?
How can I keep values in a from when using session_start() and later "Back"-Button on my Browser
Variables empty after submit via POST (Only with IE and MS-PROXY) - why ?
How can a page be e-mailed to someone AFTER php has parsed the page?
How to pass variable from javascript to PHP variables?
How do I autoincrement todays date by 1 for each form submitted and then start at 1all over again for the next day?
I cannot get php3 forms to work with Netscape 6. Does anyone know of any documentation that may help me remedy this? Thanks, Julian
Is there a way to prevent Refresh from resubmitting form data? I can't seem to clear the values of the submitted form. Any tips would be appreciated!
I can add text containing apostrophes to data base using form, but can't copy that text to another table.
How do I convert a date (current or user-supplied from a form) into week-of-the-year for use as a DB key for an X-of-the-week display?
How can I omit unnessary data (unchecked boxes) from a multiple page form sent to mail?
Select box Z has options AB and BA. How do I convert to 2 DB columns (X, Y)? If ($Z == 'AB') { $X = 1; $Y = 2;} etc. doesn't work. X,Y blank on DB.
How can I share php defined arrays between two forms in a html page
Trying to fill a PHP variable, value e.g. "Test Case" into a HTML form text field. Output is cut after blank, only "Test" is displayed. Why?
How can PHP scan all the radio objects on a page and then either set or unset them.
How can I let the user change a form element after onClick="saveValue(this) saves the value in a cookie?
When submitting form from Netscape 6, it does not show the source for the result - and does not show images (but they show in NS 4 and IE). Help?
how do i get the values from the database based on the option details inthe listbox, the result must be displayed on the same page
How do I prevent "URL Surgery"? Can I hide form info from URL?
I need to add info from a mysql table into an existing html page using a variable set from a dropbox
A PHP browser game. How to broadcast a message to other players when one user make his selection?
How to activate a function ONLY when the form is submitted (onSubmit kindof action)
When sending Formdata via POST to a php-file that includes CSS via <link ..>, the CSS ist ignored!?
how could i mimic form submission? how to use excatly the script at http://www.zend.com/zend/spotlig
Passing Info. from HTML form --> PHP --> to certain HTML page.
Can you pass a variable used in a php file back to a html file to redisplay in a form ?
I keep getting parse errors. The script I am using come from several diffrent Tutorial sites.. .
How do I get 2 forms to communicate with each other with the child form updating the parent form?
How do you pass a variable using Post Method, but have to set it when clicking an href?
How can I allow a user to update multiple rows in a database by using just one form?
How can I get a variable in pop up window from form. Java script open that window (open.window)
Two frames, type code in one, get the html file outputted to the other frame?
How do I make my guestbook put entrys after fifty or so onto page2 and then to page3 etc.
When using a flat file, what is the best way to populate a form with the data in the flat file?
How can I show similar results for a name search if the exact name was not found?
Hi, I am trying to insert values into 2 different tables, how do I create multiple insert into st?
When x, y & z are selected from 3 dropdown menus, only results that match all 3 criterias are shown?
How can I generate an "invoice" to a submitted form as a new html page & add URL of new page to DB?
How can I keep the value of a submit input displayed in the URL when user clicks a second submit?
How do I display multiple values (stored in db) in a FORM SELECT?
How can I use a checkbox "unchecked" in a form with a php script?
how to jump to the same php script using anchor in the action field of a form ?
Problem with passing variables and calling javascript in a php href
How do i scan for a carriage return within a textarea of a form.
Can anybody tell me how to store values whit a self-submission form
Can anybody tell me how to store values whit a self-submission form
w/ REGISTER_GLOBALS set to OFF, how do I display the values (from a db table) from the input field?
I could get values input from a form, but how do i send these values to other pages for processing?
PHP4 with Apache as module on win2k. phpinfo(); gives info I can't form data info.
How: Load a select box with dynamic content based on the selection of another select box in 1 form?
About 1% of the time a form is submitted to php, IE goes to blank "page unavailable". Very bad!!
Mysql table as html select box: Insert selected value in mysql table?
Mysql table as html select box: How to insert selected value in mysql table?
how to pass variable from Form to php scripts and get data from database
Does anyone know problems posting form input to a hidden field with AOL?
Form input is resubmitted if user refreshes screen - and a seocnd entry made to my flat database.
How can I send a processed form to a printer on a unix system?
How can I send a processed form to a printer on a unix system?
When I try to send info between form and my PHP source :Notice: Undefined variable: Team in C:\Ine..
How can I calculate the score from answers given to questions on a form using radio buttons?
NEWBIE: i need to have my fields to post to a mysql data base and to a form on authorizenet any help
how to post/get values of multiple select box?
How would I create a form that expands as user checks a checkbox?
i am use "<input type ="image" name ="image1">" , how to add "1" to mydatabase when this is clicked
How do I use form (multiple fields) to query mysql
How can I take the results from a query and put them in a form list?
how can i set a specific value as selected wehn creating a select box from a database
I m using PHP4.2.3 and windows 2000 and iis5 , in my php script get vars working but post does not..
Is there a certain setting in php that sets form variables as php variables of the same name?
How can I get user input without the use of forms? To write to a file.
how to use like operator in a conditional statements
How can I write to a file, what a user has input into a form
How can I write to a file, what a user has input into a form
How do you execute just a php function from a html form?
How do you execute just a php function from a html form?
I keep getting this error "The requested method POST is not allowed for the URL"
How Exactly do I Insert form values into a MySQL Database (images included)
How Exactly do I Insert form values into a MySQL Database (example script PLEASE!)
Moved servers from 4.0.6 to 4.2.2: Some posts are doubling input - strings are duplicating weirdly
What does this mean "failed to create stream: HTTP wrapper does not support writeable connections" ?
how can i access the value entered in controls (text boxes,combo boxes) in php pages
Use data in antoher php file
Use data in antoher php file
Use submitted Form data in another php file
Why does Form METHOD=POST return both the value as well as $var=value when using echo() or print()?
is this correct $_GET[$var_A.$var_B] . will yield: $_GET['11'] if $var_A and $var_B both equal 1?
is this correct $_GET[$var_A.$var_B] . will yield: $_GET['11'] if $var_A and $var_B both equal 1?
Can someone help with an example php script of how a user can add data to an existing sql database
Can someone help with an example php script of how a user can add data to an existing sql database
How to return data to same form from which database query is submitted?
How to return data to same form from which database query is submitted?
I want to have an admin form where I can update a site without opening the html page to update it.
ENUM and SET SQL data and radio buttons/check boxes
ENUM and SET SQL data and radio buttons/check boxes
ENUM and SET SQL data and radio buttons/check boxes
ENUM and SET SQL data and radio buttons/check boxes
ENUM and SET SQL data and radio buttons/check boxes
ENUM and SET SQL data and radio buttons/check boxes
How do I pass a class function as the form action?
How do I pass a class function as the form action?
How do I pass a class function as the form action?
How do I pass a class function as the form action?
How do I use data from a form input in a MySQL select statement?
$_Request variable to work with QueryString but not a form.
When I sent textBox values to another page via submit I did'n get passed values (use IIS 4/winXP)
why won't page display entered info from form page when php works and script is good
I have created a form and used both the get and post methods to pass data. When the new page loads
please how would I sbmit to say google using a php with out loading there page up manually
please how would I sbmit to say google using a php with out loading there page up manually
please how would I sbmit to say google using a php with out loading there page up manually
Problem thats has me boggled :|
<?echo("<input name=card_holder_name value=$card_holder_name>")?> Doesnt contain variable passed to
i want to update a db,have a client fill form,give him several options,client chooses 1 then update
When using frames, how can I take data from a hidden form field of one frame and do an insert ?
Why are my (") preceded by a (\) when I use the post function in PHP? Is there a way to halt this?
Why are my (") preceded by a (\) when I use the post function in PHP? Is there a way to halt this?
Why are my (") preceded by a (\) when I use the post function in PHP? Is there a way to halt this?
How do I stop a space-seperated string from being truncated when it is passed using a form construct
How do I stop a space-seperated string from being truncated when it is passed using a form construct
How can I let users enter URLs containing a dollar sign into a text field without PHP interpreting
How do I extract everything after the @ in an email address someone enters in a form on my website?
How do i explode a string from a textarea with carriage returns as the seperator?
How do i explode a string from a textarea with carriage returns as the seperator?
How do I autopopulate a form from the db to edit data?
How do I autopopulate a form from the db to edit data?
How do I autopopulate a form from the db to edit data?
How do I autopopulate a form from the db to edit data?
How do I autopopulate a form from the db to edit data?
How do I programatically 'submit' a form in PHP so I can submit selected input data to another site
argv[0,1,2] shows "search=Abysmal/Knightℑ=on&submit=Show/" Is there a reason that I see a ℑ?
How can I store user e-mail addresses from my website; i.e., ask a user for his/her e-mail, name...
How can I store user e-mail addresses from my website; i.e., ask a user for his/her e-mail, name...
How can I store user e-mail addresses from my website; i.e., ask a user for his/her e-mail, name...
How can i validate more button values from html in PHP?
User were to enter "integer only" for their User ID. How do I make "id" to ONLY accept integer?
I wrote a php script with a form and when i open it in a browser (ie5) it's not appear
How to pass input from custom form to htaccess protected file? (username:passw@URL not reliable)
Why do my errors show up before the form is even filled in?
How do you change the content of one pull-down menu based on the choice of another pull-down menu?
How do you change the content of one pull-down menu based on the choice of another pull-down menu?
How can I make a choice of the form to be opened by making a selection on previous form?
How can I make a choice of the form to be opened by making a selection on previous form?
Please, how can I pre-fill-in information from DB in a form, which can be updated through the form??
How can I send myself an e-mail ONLY when people change certain data (ex. e-address)?
How can I default a query to searching all, if nothing is selected in the form?
How do I retrieve value from a form while openning a new window
How can I copy user input from form filed to another (2nd Form)form field automatically in same page
After submitting a form in IE6, if i hit the back button i get a "cannot find server" error message.
How can i set php to make the htpasswd command easier just by a one page form with 2 text boxes?
How do I include a file attachment in a form post using PHP ? other data is emailed ok.
auto newlines from textarea wrap=physical are ingnored (manual newlines are ok). help!
auto newlines from textarea wrap=physical are ingnored (manual newlines are ok). help!
How can I make checkbox form elements sticky so they remain ticked after submission?
Sorting of a Drop Down
How can I make a simple reply system. The site shows some data and users can reply on this.
How do I allow a space to be used along with my allowed characters?
When i POST form data from html to php, all is fine, SAME form data from php to php, no variables!??
Problem with Menu and combobox
Not able to get the value= to appear, global variables are set to yes, get name of variable - $test
Not able to get the value= to appear, global variables are set to yes, get name of variable - $test
Not able to get the value= to appear, global variables are set to yes, get name of variable - $test
Not able to get the value= to appear, global variables are set to yes, get name of variable - $test
Not able to get the value= to appear, global variables are set to yes, get name of variable - $test
Not able to get the value= to appear, global variables are set to yes, get name of variable - $test
How do I convert a line of text that a user types, to a variable that I have defined?
Why are form variables not working
Can I post to a form multiple checkbox selections whith out knowing how many boxes will be available
How to pass value in checkbox and radio button to my email?
I want to use submit or select to go to the same page and display that information. Is this possible
I want to use submit or select to go to the same page and display that information. Is this possible
Can I Submit a form to itself?
Help! I am unable to pass variable from HTML form to php script. register_globals = ON already.
How can I alter the "Priority" field, in a bug form?
How can I change a field to a drill down?
How do I install and use JPGraph?
Do you have a very simple data entry code that add, edit, delete & list records?
In an update.php file, how do I update non-grouped checkboxes?
How can I use rollover buttons to submit a form for processing
How do i replicate a block of a form by clicking a button (i.e. Add another name)?
Can I have 2 forms op one web page? How do the submit decide who is who?
I want to update a MySQL entry, but need the update form to show the existing values for the entry
Echo does not output anything from a HTML form..
how to check availability of loginid ?
How is it possible to set focus into input in PHP form in opening the page? Not via java script!
How do I collect data from a form to a log file that I can export into an Excel spreadsheet?
how do i create forms for e-banking(i need the forms)
How can you get the line break (from the keyboard) as a <br> tag when using a simple textarea, to in
Why my page receive the data from client be format(%XX%YY%ZZ)? and how i can convert to meaningfull?
I need a way to read the entire URL from a form posted using GET, and parse that data into an array?
There is any javascript function to enable multiple selecting of files from hard disk? I
My form has 2 submit buttons. How can I make one of them open in a new window when clicked?
How can I fill checkboxes with data from Lookup tables?
Why does X and Y display using foreach after form submitting?
create a login where users id and password directs them to different sites based on their login info
2 forms on page. Can data from one be seen in one input of the other before submit 2nd
I am not getting any output on the resulting PHP page from the form in HTML?
I'm receiving 404 File not found errors when I submit my form, but I know the file is uploaded?
i am uploading a file, but can't send it through email in php, help please
i am uploading a file, but can't send it through email in php, help please
Making a POST request using href
undefined index and variables
I am sure that I have used the password function in the recent past - but now it throws and error -
I've a page with 200 events. How can I allow users to show events between dates they specify?
sending an email confirmation to register to become a member of the forum
how do i make forms
How do I echo information entered into a textarea or output alternative text if field is blank?
Foldable checkbox list
When a user clicks on a checkbox, how can I get it so the "children" of the item selected open?
How do I disable some fields in a form if the user enters data in other fields in the same form?
Is it possible to access the value of a button(i.e input type=button) in another PHP script
I have created a drop down menu in php how do i pass the selection back to my sql database
How can I position the cursor in the first form field when the form is displayed?