Re: [PHP] HTML Forms, PHP Question

2006-11-19 Thread Robert Cummings
On Sun, 2006-11-19 at 11:00 -0500, Stephen wrote: Hi First question to the list. I am writing a control panel for a web site and there will be about 20 HTML forms. Instead of creating 20 PHP files to process the submit data, is there a way that I can do this with a single PHP file.

[PHP] HTML Forms, PHP Question

2006-11-19 Thread Stephen
Hi First question to the list. I am writing a control panel for a web site and there will be about 20 HTML forms. Instead of creating 20 PHP files to process the submit data, is there a way that I can do this with a single PHP file. Either specify a specific function for each form, or use

Re: [PHP] HTML Forms, PHP Question

2006-11-19 Thread tedd
At 11:00 AM -0500 11/19/06, Stephen wrote: Hi First question to the list. I am writing a control panel for a web site and there will be about 20 HTML forms. Instead of creating 20 PHP files to process the submit data, is there a way that I can do this with a single PHP file. Either

[PHP] html forms and php

2006-01-31 Thread Philippe Reynolds
Greetings all, Currently I have a form that has two lists that contain options. I use javacript to dynamically move options from one select list to another. All this works fine... this is the select: select name=trucklist size=12 style=width: 150px multiple option value=LT680LT680/option

Re: [PHP] html forms and php

2006-01-31 Thread David Grant
Philippe, I recommend using an ID, instead of the NAME attribute to refer to the various elements. This ought to solve your problem. David Philippe Reynolds wrote: Greetings all, Currently I have a form that has two lists that contain options. I use javacript to dynamically move options

Re: [PHP] html forms and php

2006-01-31 Thread Richard Davey
On 31 Jan 2006, at 16:07, Philippe Reynolds wrote: To resolve this we have to create an array out of our select name: select name=trucklist[] size=12 style=width: 150px multiple I added the square brakets to the name...now when I select all the options on the list I can read all values

Re: [PHP] html forms and php

2006-01-31 Thread Philippe Reynolds
Awesome...that solved it!! Thanks a bunch to everyone who contributed!! Cheers Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] html forms and php

2006-01-31 Thread Ford, Mike
On 31 January 2006 16:08, Philippe Reynolds wrote: I added the square brakets to the name...now when I select all the options on the list I can read all values individually. Here is problem...my javascripts have stopped working, I can't move options from one list to the next. Here is the

Re: [PHP] html forms in php

2005-09-20 Thread Alain Reguera
I HATE Are you sure? prompts. If I wasn't sure, I wouldn't have clicked it in the first place. If you want to make your users happy, trust them when they say Delete, but make it easy to undo. Instead of deleting the records, just set the Delete flag and timestamp. Then when the odd user

Re: [PHP] html forms in php

2005-09-16 Thread Scott Noyes
Are you sure? and then a yes and no buttons to confirm the deletion or to cancel the command. Any thougts?? While some of the others here have answered your technical question, I'd like to state my opinion on usability. I HATE Are you sure? prompts. If I wasn't sure, I wouldn't have

[PHP] html forms in php

2005-09-15 Thread Philippe Reynolds
Good day all, I have a problem for you all.. I have a form that has has the ability to delete a lot of information from my MySQL database. I would like to create a bit of security, in case the user hits the button by accident. I would like to create an additionnal window that would appear

RE: [PHP] html forms in php

2005-09-15 Thread Jay Blanchard
[snip] Are you sure? and then a yes and no buttons to confirm the deletion or to cancel the command. Any thougts?? [/snip] You can use JavaScript for this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] html forms in php

2005-09-15 Thread bruce
-Original Message- From: Philippe Reynolds [mailto:[EMAIL PROTECTED] Sent: Thursday, September 15, 2005 11:14 AM To: php-general@lists.php.net Subject: [PHP] html forms in php Good day all, I have a problem for you all.. I have a form that has has the ability to delete a lot

RE: [PHP] html forms in php

2005-09-15 Thread Murray @ PlanetThoughtful
Good day all, I have a problem for you all.. I have a form that has has the ability to delete a lot of information from my MySQL database. I would like to create a bit of security, in case the user hits the button by accident. I would like to create an additionnal window that would

RE: [PHP] html forms in php

2005-09-15 Thread Alan Fullmer
return false ; } /script -Original Message- From: Murray @ PlanetThoughtful [mailto:[EMAIL PROTECTED] Sent: Thursday, September 15, 2005 12:32 PM To: 'Philippe Reynolds'; php-general@lists.php.net Subject: RE: [PHP] html forms in php Good day all, I have a problem for you all.. I have

Re: [PHP] html forms in php

2005-09-15 Thread D A GERM
Here's some javascript I use for such instances: [CODE] if (myForm.hidWhich.value == delete) { var verify = prompt(You are about to delete this entry \n + \n \n + To delete this entry you must type this phrase in the prompt and click OK: \n

[PHP] html forms class in php

2004-04-08 Thread Andy B
hi yesterday i posted a msg about wanting to know if it was a good idea to write a class that created/dealt with html forms and so on... somebody told me to go look at html_quick_forms class and it looks good like everything i would want to do but there is 1 problem: is there any classes for the

Re: [PHP] html forms class in php

2004-04-08 Thread Richard Harb
Then again you can just put the pear stuff into a subdirectory of your project site / whatever. for PHP 4 = 4.3.0 you could have a look at: http://www.php.net/manual/en/function.set-include-path.php for older versions you can use ini_set (@see same url) I've seen it done - works just as well.

[PHP] Html forms on windows servers

2004-01-22 Thread Carolina Silva Animas
Hi This is my first experience with php... and I'm already having trouble... I´m working on an html form for a website which uses php to create an e-mail. My 'Submit' button has a php document as action. It works great on my unix server, but when I try to submit the form on my windows server,

Re: [PHP] Html forms on windows servers

2004-01-22 Thread Tom Rogers
Hi, Friday, January 23, 2004, 12:24:24 AM, you wrote: CSA Hi CSA This is my first experience with php... and I'm already having trouble... CSA I´m working on an html form for a website which uses php to create an CSA e-mail. My 'Submit' button has a php document as action. It works great on CSA

RE: [PHP] Html forms on windows servers

2004-01-22 Thread Ford, Mike [LSS]
On 22 January 2004 14:24, Carolina Silva Animas wrote: Hi This is my first experience with php... and I'm already having trouble... I´m working on an html form for a website which uses php to create an e-mail. My 'Submit' button has a php document as action. It works great on my unix

RE: [PHP] Html forms on windows servers

2004-01-22 Thread Carolina Silva Animas
a.m. Para: 'Carolina Silva Animas'; [EMAIL PROTECTED] Asunto: RE: [PHP] Html forms on windows servers On 22 January 2004 14:24, Carolina Silva Animas wrote: Hi This is my first experience with php... and I'm already having trouble... I´m working on an html form for a website which uses php

RE: [PHP] Html forms to php scripts

2003-04-04 Thread VanZee, Timothy
that 4.2.2 doesn't like apache2. Tim Van Zee ITS Network Specialist Governors State University -Original Message- From: Tim Burden [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:07 AM To: VanZee, Timothy Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Html forms to php scripts What

RE: [PHP] Html forms to php scripts

2003-04-04 Thread VanZee, Timothy
Here are the results: Array ( [ttt] = javattt=java ) Array ( [ttt] = javattt=java ) Tim Van Zee ITS Network Specialist Governors State University [ snip ] Would be curiuos to see the the results of : echo pre; print_r($_REQUEST); echo/pre; echo pre; print_r($_POST); echo/pre; That

Re: [PHP] Html forms to php scripts

2003-04-04 Thread CPT John W. Holmes
I though we already covered that this was an PHP / Apache 2 bug?? Stop using Apache 2 with PHP. ---John Holmes... - Original Message - From: VanZee, Timothy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 04, 2003 11:01 AM Subject: RE: [PHP] Html forms to php scripts Here

FW: [PHP] Html forms to php scripts

2003-04-02 Thread VanZee, Timothy
Repost because no one replied originally. Are there any other lists that anyone knows of for php that could be more helpful? I'm quite disappointed in this one because I thought this was a fairly easy question for those who have been working with php for a while. I have the following issue

Re: FW: [PHP] Html forms to php scripts

2003-04-02 Thread Marek Kilimajer
VanZee, Timothy wrote: Repost because no one replied originally. Are there any other lists that anyone knows of for php that could be more helpful? I'm quite disappointed in this one because I thought this was a fairly easy question for those who have been working with php for a while.

RE: [PHP] Html forms to php scripts

2003-04-02 Thread Ford, Mike [LSS]
-Original Message- From: VanZee, Timothy [mailto:[EMAIL PROTECTED] Sent: 02 April 2003 17:31 Repost because no one replied originally. Are there any other lists that anyone knows of for php that could be more helpful? I'm quite disappointed in this one because I thought this was

Re: [PHP] Html forms to php scripts

2003-04-02 Thread Tim Burden
What version of Apache are you using? Can you point us to a phpinfo() file? - Original Message - From: Timothy Vanzee [EMAIL PROTECTED] Newsgroups: php.general To: [EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:31 AM Subject: FW: [PHP] Html forms to php scripts Repost because

Re: [PHP] Html forms to php scripts

2003-04-02 Thread CPT John W. Holmes
PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:31 AM Subject: FW: [PHP] Html forms to php scripts Repost because no one replied originally. Are there any other lists that anyone knows of for php that could be more helpful? I'm quite disappointed in this one because I thought

Re: [PHP] Html forms to php scripts

2003-04-02 Thread Burhan Khalid
Ford, Mike [LSS] wrote: -Original Message- From: VanZee, Timothy [mailto:[EMAIL PROTECTED] Sent: 02 April 2003 17:31 Repost because no one replied originally. Are there any other lists that anyone knows of for php that could be more helpful? I'm quite disappointed in this one because I

[PHP] Html forms to php scripts

2003-04-01 Thread VanZee, Timothy
I have the following issue between my html forms and php scripts. Html file (input.html) looks like this: form action=input.php method=post input type=text name=ttt pinput type=submit name=submit value=Submit/p /form Php file (input.php) looks like this: ? echo $ttt; ? I can input text

[PHP] Html forms

2003-02-03 Thread Todd Barr
I am having difficulty putting results into an form Once the query runs, I have this for my output print Input type=text name=foo value=; print $Foo; print ; This results in an HTML error being apache finds an error AFTER the /html tag Any ideas?

Re: [PHP] Html forms

2003-02-03 Thread 1LT John W. Holmes
What is the error message you get? ---John Holmes... - Original Message - From: Todd Barr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 9:59 AM Subject: [PHP] Html forms I am having difficulty putting results into an form Once the query runs, I have

Re: [PHP] Html forms

2003-02-03 Thread Todd Barr
forms What is the error message you get? ---John Holmes... - Original Message - From: Todd Barr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 9:59 AM Subject: [PHP] Html forms I am having difficulty putting results into an form Once the query runs

Re: [PHP] Html forms

2003-02-03 Thread 1LT John W. Holmes
Parse error: parse error in C:\apache\htdocs\tsadbatest.php on line 148 Its the line after the html ends Almost always means you forgot a closing brace somewhere. Count up your { and } and make sure they match. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Html forms

2003-02-03 Thread Chris Shiflett
--- Todd Barr [EMAIL PROTECTED] wrote: I am having difficulty putting results into an form Once the query runs, I have this for my output print Input type=text name=foo value=; print $Foo; print ; This results in an HTML error being apache finds an error AFTER the /html tag Any

Re: [PHP] Html forms

2003-02-03 Thread Jeff Pauls
: [PHP] Html forms I am having difficulty putting results into an form Once the query runs, I have this for my output print Input type=text name=foo value=; print $Foo; print ; This results in an HTML error being apache finds an error AFTER the /html tag Any ideas? -- PHP General Mailing

Re: [PHP] Html forms

2003-02-03 Thread Sunfire
: Todd Barr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 9:59 AM Subject: [PHP] Html forms I am having difficulty putting results into an form Once the query runs, I have this for my output print Input type=text name=foo value=; print $Foo; print ; This results in an HTML

Re: [PHP] Html forms

2003-02-03 Thread Philip Olson
, Philip - Original Message - From: Todd Barr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 9:59 AM Subject: [PHP] Html forms I am having difficulty putting results into an form Once the query runs, I have this for my output print Input type=text name

[PHP] HTML forms php 4.2.3 - how to get cvs fix applied

2002-11-09 Thread andy
I recently updated from 4.2.0 to 4.2.3 - since doing so values submitted to php from HTML forms using keys - value=foo[bar] - get truncated in php - example: if I submit [EMAIL PROTECTED] it will come out as eight13.com with a print_r($_POST) I found these bug reports which say what appears

Re: [PHP] HTML forms php 4.2.3 - how to get cvs fix applied

2002-11-09 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, Reconfigure php without --enable-mbstr-enc-trans and that will fix the problem. HTH! ~Paul On Friday 08 November 2002 06:56 pm, andy wrote: I recently updated from 4.2.0 to 4.2.3 - since doing so values submitted to php from HTML forms using

[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] html forms, reading writing data, etc

2001-04-07 Thread Andrew V. Romero
First thanks to all the ideas for reading one word from a file, but I hit another snag. Here is what I am trying to accomplish. I have a text file (questionFile.txt) and it contains questions that can be arranged like: 1. Question One A1. Question OneA C. Question Three For this email, I will