Re: [PHP] PHP Post forms

2006-04-14 Thread Joe Henry
On Thursday 13 April 2006 8:44 pm, Stephen Johnson wrote: On 4/13/06 7:40 PM, Gary E. Terry [EMAIL PROTECTED] wrote: Quite possibly a stupid question, but here goes. I have a form that is a list of jobs. On that list is a checkbox. The form field is named 'changedate'. I also have a

RE: [PHP] PHP Post forms

2006-04-14 Thread Gary E. Terry
. Terry Subject: Re: [PHP] PHP Post forms On Thursday 13 April 2006 8:44 pm, Stephen Johnson wrote: On 4/13/06 7:40 PM, Gary E. Terry [EMAIL PROTECTED] wrote: Quite possibly a stupid question, but here goes. I have a form that is a list of jobs. On that list is a checkbox. The form field

[PHP] PHP Post forms

2006-04-13 Thread Gary E. Terry
Quite possibly a stupid question, but here goes. I have a form that is a list of jobs. On that list is a checkbox. The form field is named 'changedate'. I also have a hidden field called 'JobID'. What I am trying to accomplish is if a checkbox is checked, when the form is submitted, I want

Re: [PHP] PHP Post forms

2006-04-13 Thread Stephen Johnson
On 4/13/06 7:40 PM, Gary E. Terry [EMAIL PROTECTED] wrote: Quite possibly a stupid question, but here goes. I have a form that is a list of jobs. On that list is a checkbox. The form field is named 'changedate'. I also have a hidden field called 'JobID'. What I am trying to

[PHP] php and forms

2003-03-24 Thread Iggy
hi, I am very new to php so please forgive me if this is somewhat of a dumb question I have a html page with a whole bunch of textfields and checkboxes. Once the user fills out the information it is entered it is recorded in a mySQL db/table the problem that i am having is with the checkboxes. if

Re: [PHP] php and forms

2003-03-24 Thread Chris Shiflett
--- Iggy [EMAIL PROTECTED] wrote: I have a html page with a whole bunch of textfields and checkboxes. Once the user fills out the information it is entered it is recorded in a mySQL db/table the problem that i am having is with the checkboxes. if they are checked everything works fine, but if

[PHP] php and forms

2003-03-20 Thread b b
Hi, This could be a silly mistake or it could be a sign of configuratin problems. Simply put, my submitted form variables are not reaching the recieving end: A form: form method=post action=testForm.php input type=text name=testVar input type=submit name=submit value=submit /form A

Re: [PHP] php and forms

2003-03-20 Thread Chris Shiflett
--- b b [EMAIL PROTECTED] wrote: This could be a silly mistake or it could be a sign of configuratin problems. Is register_globals on? If not, your code assumes it is, so that is your problem. Chris = Become a better Web developer with the HTTP Developer's Handbook

[PHP] PHP/HTML Forms and saving files

2002-01-21 Thread laura varney
I have a html form that people enter data into, when they click submit, a php file is called, this displays the data in a desired format, the user then has to click on another submit button...this button needs to save the current file (without the button). My question is how do i save the

[PHP] PHP using Forms

2001-05-04 Thread Mike Mike
Hello, I have a form field TEXTAREA name=Home ROWS=10 COLS=40? echo $Home ?/TEXTAREA with this data in it: My Home 11 North 5th St St. Paul MN Phone: (555) 555- Fax: (555) 555- E-Mail: [EMAIL PROTECTED] When submited it goes into a mysql database. The problem i'm running into is that

Re: [PHP] PHP using Forms

2001-05-04 Thread Zak Greant
Use the nl2br() function --zak - Original Message - From: Mike Mike [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 04, 2001 8:11 AM Subject: [PHP] PHP using Forms Hello, I have a form field TEXTAREA name=Home ROWS=10 COLS=40? echo $Home ?/TEXTAREA with this data

RE: [PHP] PHP using Forms

2001-05-04 Thread Jon Haworth
of thing :-) HTH Jon -Original Message- From: Mike Mike [mailto:[EMAIL PROTECTED]] Sent: 04 May 2001 15:12 To: [EMAIL PROTECTED] Subject: [PHP] PHP using Forms Hello, I have a form field TEXTAREA name=Home ROWS=10 COLS=40? echo $Home ?/TEXTAREA with this data in it: My Home 11 North 5th

RE: [PHP] PHP using Forms

2001-05-04 Thread Altunergil, Oktay
) { return(nl2br(htmlentities($string))); } -Original Message- From: Jon Haworth [mailto:[EMAIL PROTECTED]] Sent: Friday, May 04, 2001 10:16 AM To: 'Mike Mike'; [EMAIL PROTECTED] Subject: RE: [PHP] PHP using Forms Try this: $Home = nl2br($Home

RE: [PHP] PHP using Forms

2001-05-04 Thread Mike Mike
PROTECTED] Subject: RE: [PHP] PHP using Forms Try this: $Home = nl2br($Home); // nl2br converts newlines to brs See http://www.php.net/nl2br for more info. (Incidentally, I answered exactly the same question yesterday, in exactly the same way. *Please* check the list archives/last

[PHP] PHP saving forms on client side

2001-03-14 Thread mat t
I have new "blank" forms on the server and I would like to give my client an option to save a partially filled form to his computer. Is there any way I can do this with php? I know that if the client just saves the form using his browser then it will only save the initial HTML, and ignore

Re: [PHP] PHP saving forms on client side

2001-03-14 Thread Andrew Halliday
. You can change the submit locations of a single form depending on the button pressed using some simple Java Script ... included ... but check the object paths of document.forms['...'].action - I havent coded JS in a long while! AndrewH ----- Original Message - From: "mat t" [EMAIL

Re: [PHP] php and forms question

2001-01-31 Thread Michael Hall
Chip: Sessions aren't my forte, but I can't see where you're registering your session variables. You need to do more than simply use 'session_start' if using sessions ... perhaps you're doing this on another page, but if not you'll need to register variables using 'session_register'. You'll also

[PHP] php and forms question

2001-01-30 Thread Chip
I am trying to build a multi-part form and am using the example from the book Beginning PHP4 by Choi, Kent, Lea, et al. in chapter 8. Here's what I want to do - form_page1 - 10 input fields size=3 then onwards to form_page2 - 5 input fields size=3 then onwards to form_page3 - 5 input fields

Re: [PHP] php and forms question

2001-01-30 Thread Michael Hall
One way to do this is to include information in hidden form fields that pass information along from page to page. If this is too unwieldy, you have session variables or writing information a database or file. Mick On Tue, 30 Jan 2001, Chip wrote: I am trying to build a multi-part form and am

Re: [PHP] php and forms question

2001-01-30 Thread David Robley
On Wed, 31 Jan 2001 14:26, Chip wrote: I am trying to build a multi-part form and am using the example from the book Beginning PHP4 by Choi, Kent, Lea, et al. in chapter 8. Here's what I want to do - form_page1 - 10 input fields size=3 then onwards to form_page2 - 5 input fields size=3

Re: [PHP] php and forms question

2001-01-30 Thread Jeff Lacy
Hia Chip, If I were you (but I'm not, thankfully for both of us), I would use a multiple select, and, maybe sessions. I think sessions are better/easier than hidden fields, but only in php4. Multiple selects are nice. They come back as an array, which is pretty easy to deal with by using a

Re: [PHP] php and forms question

2001-01-30 Thread Chip
Michael Hall wrote: , you have session variables or writing information a database or file. Hi Michael, I have set up a couple test pages using session variable like this: --- ? session_start(); ? html head /head body ? if (isset($radars_form)) {