RE: [PHP] Forms and destroying values

2007-01-12 Thread Robert Cummings
On Fri, 2007-01-12 at 17:36 +0100, Németh Zoltán wrote: Beauford, The unset() function is for session variables, which are remembered by the server even after the script finished running, that's their purpose. Your variables are not session variables but normal variables. Wrong! Please go

RE: [PHP] Forms and destroying values

2007-01-12 Thread Németh Zoltán
2007. 01. 12, péntek keltezéssel 11.43-kor Robert Cummings ezt írta: On Fri, 2007-01-12 at 17:36 +0100, Németh Zoltán wrote: Beauford, The unset() function is for session variables, which are remembered by the server even after the script finished running, that's their purpose. Your

Re: [PHP] Forms and destroying values

2007-01-12 Thread Satyam
transaction. Satyam - Original Message - From: Beauford [EMAIL PROTECTED] To: 'PHP' php-general@lists.php.net Sent: Friday, January 12, 2007 5:23 PM Subject: RE: [PHP] Forms and destroying values So the answer is, there is no way to destroy the values. Question then, what

RE: [PHP] Forms and destroying values

2007-01-12 Thread Beauford
Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: January 12, 2007 11:38 AM To: Beauford Cc: 'PHP' Subject: Re: [PHP] Forms and destroying values Beauford wrote: So the answer is, there is no way to destroy the values. Question then, what is unset() used for as it doesn't seem to do

[PHP] forms usage in web pages

2006-10-29 Thread Karthi S
hi, i am newbie to web programming. i have a basic doubt in using forms. Is it advisable to use multiple forms performing various functions in a single web page. what are the pros and cons of using that. Please forgive me if this is not the right mailing list to post this question. But help me

Re: [PHP] forms usage in web pages

2006-10-29 Thread Robert Cummings
On Sun, 2006-10-29 at 13:15 +0530, Karthi S wrote: hi, i am newbie to web programming. i have a basic doubt in using forms. Is it advisable to use multiple forms performing various functions in a single web page. what are the pros and cons of using that. Please forgive me if this is

Re: [PHP] forms usage in web pages

2006-10-29 Thread Larry Garfield
There's nothing wrong with multiple forms on a single page, as long as all id attributes in all elements are unique on the entire page, not just within the form. Just make sure that each form is self-contained with its own submit button and such. Only the form whose submit button is clicked

Re: [PHP] forms usage in web pages

2006-10-29 Thread Ed Lazor
Is anyone else getting multiple copies of posts? On Oct 29, 2006, at 9:52 AM, Larry Garfield wrote: There's nothing wrong with multiple forms on a single page, as long as all id attributes in all elements are unique on the entire page, not just within the form. Just make sure that each

Re: [PHP] forms usage in web pages

2006-10-29 Thread Børge Holen
yes, but then again, I've already mentioned this, and have seen some posts now an then mention the subject... :) On Sunday 29 October 2006 21:26, Ed Lazor wrote: Is anyone else getting multiple copies of posts? On Oct 29, 2006, at 9:52 AM, Larry Garfield wrote: There's nothing wrong with

Re: [PHP] PHP Forms

2006-05-06 Thread Richard Lynch
On Thu, May 4, 2006 9:57 pm, R. Van Tassel wrote: I am having an issue with a form, basically an order form, with 10 rows. Each row is the same, the rows are being generated by a loop and I am appending the counter of the loop to the name of the form elements (i.e. quantity1, type1, next row

[PHP] PHP Forms

2006-05-04 Thread R. Van Tassel
I am having an issue with a form, basically an order form, with 10 rows. Each row is the same, the rows are being generated by a loop and I am appending the counter of the loop to the name of the form elements (i.e. quantity1, type1, next row = quantity2, type2, etc) I can't seem to receive

Re: [PHP] PHP Forms

2006-05-04 Thread Chris
R. Van Tassel wrote: I am having an issue with a form, basically an order form, with 10 rows. Each row is the same, the rows are being generated by a loop and I am appending the counter of the loop to the name of the form elements (i.e. quantity1, type1, next row = quantity2, type2, etc) I

Re: [PHP] PHP Forms

2006-05-04 Thread Chris
- From: Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 11:05 PM To: R. Van Tassel Cc: php-general@lists.php.net Subject: Re: [PHP] PHP Forms R. Van Tassel wrote: I am having an issue with a form, basically an order form, with 10 rows. Each row is the same, the rows are being generated

Re: [PHP] forms and dynamic creation and unique field names

2006-04-29 Thread Richard Lynch
On Thu, April 27, 2006 9:56 am, Jason Gerfen wrote: I have come upon a problem and am not sure how to go about resolving it. I have an web form which is generated dynamically from an imported file and I am not sure how I can loop over the resulting post variables within the global $_POST

[PHP] forms and dynamic creation and unique field names

2006-04-27 Thread Jason Gerfen
I have come upon a problem and am not sure how to go about resolving it. I have an web form which is generated dynamically from an imported file and I am not sure how I can loop over the resulting post variables within the global $_POST array due to the array keys not being numeric. Any

Re: [PHP] forms and dynamic creation and unique field names

2006-04-27 Thread Martin Zvarík
Jason Gerfen wrote: I have come upon a problem and am not sure how to go about resolving it. I have an web form which is generated dynamically from an imported file and I am not sure how I can loop over the resulting post variables within the global $_POST array due to the array keys not

Re: [PHP] forms and dynamic creation and unique field names

2006-04-27 Thread Jason Gerfen
Martin Zvarík wrote: Jason Gerfen wrote: I have come upon a problem and am not sure how to go about resolving it. I have an web form which is generated dynamically from an imported file and I am not sure how I can loop over the resulting post variables within the global $_POST array due to

Re: [PHP] forms and dynamic creation and unique field names

2006-04-27 Thread Barry
Jason Gerfen schrieb: Martin Zvarík wrote: Jason Gerfen wrote: I have come upon a problem and am not sure how to go about resolving it. I have an web form which is generated dynamically from an imported file and I am not sure how I can loop over the resulting post variables within the

[PHP] Forms Validation library

2006-04-25 Thread Murtaza Chang
Hi I just wanted to know if there's a generalised library available for Forms validation in php? -- Murtaza Chang

[PHP] forms and variables?

2006-04-21 Thread William Stokes
Hello, Probably a stupid one but anyway... In PHP. Is it possible to point to a variable with the HTML form name by which it was posted from? Example: //point to the variable with something like or somenthing??? $AddNew.SomeVar form name=AddNew method=post action=? $PHP_SELF ? $SomeVar =

RE: [PHP] forms and variables?

2006-04-21 Thread Jay Blanchard
[snip] Probably a stupid one but anyway... In PHP. Is it possible to point to a variable with the HTML form name by which it was posted from? Example: //point to the variable with something like or somenthing??? $AddNew.SomeVar form name=AddNew method=post action=? $PHP_SELF ? $SomeVar = Add;

Re: [PHP] forms and variables?

2006-04-21 Thread Jochem Maas
take the following code and do some experimentation: ? echo 'pre'; echo POST vars: \n; var_dump($_POST); echo GET vars: \n; var_dump($_GET); echo '/pre'; ? stick that in your page that contain the form and start playing with different form fields, different form fields names, etc, etc -

Re: [PHP] forms and variables?

2006-04-21 Thread tedd
At 3:45 PM +0300 4/21/06, William Stokes wrote: Hello, Probably a stupid one but anyway... In PHP. Is it possible to point to a variable with the HTML form name by which it was posted from? Example: //point to the variable with something like or somenthing??? $AddNew.SomeVar form

Re: [PHP] forms and variables?

2006-04-21 Thread Richard Lynch
On Fri, April 21, 2006 7:45 am, William Stokes wrote: In PHP. Is it possible to point to a variable with the HTML form name by which it was posted from? The FORM name attribute was an add-on for Javascript client-side. It is not transmitted by HTTP. PHP never sees it. Or do I just have

[PHP] forms

2006-01-03 Thread Mark
Hi can any one show me how make another form appear below another once the 1st form has been submitted. ie: name: address: country: SUBMIT then this form appears below after the submit button is clicked blah: blah: blah: SUBMIT -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] forms

2006-01-03 Thread Jay Blanchard
[snip] Hi can any one show me how make another form appear below another once the 1st form has been submitted. [/snip] post to PHP_SELF and test for population of original form parts if('' != $_POST['name'] etc.){ echo all of the other form parts; } -- PHP General Mailing List

Re: [PHP] forms

2006-01-03 Thread Silvio Porcellana [tradeOver]
Mark wrote: Hi can any one show me how make another form appear below another once the 1st form has been submitted. [not really a PHP solution...] You can do like this: the 'SUBMIT' button of the first form only makes visible the (hidden) DIV where the second form is, and only *that*

Re: [PHP] forms

2005-05-04 Thread Richard Lynch
Try reading the PHP FAQ and looking for the answer about a generic form response using $_POST. On Mon, May 2, 2005 9:09 pm, Lisa A said: Does anyone know of a good easy php script or Form that we can use with Front Page. We need a form to get results, that actually sends the results in a

[PHP] forms

2005-05-02 Thread Lisa A
Does anyone know of a good easy php script or Form that we can use with Front Page. We need a form to get results, that actually sends the results in a format that is easy to read. Not all run together with no spaces, etc. like the Front Page forms. Thanks, Lisa A -- PHP General Mailing List

Re: [PHP] Forms

2005-03-21 Thread Matt M.
Does anyone know how to get a particular option to display in a drop menu? select name=category id=category option selected=true value=Option ValueOption Value/option option value=line-/option option value=value1 value1/option option value=value2 value2 /option

Re: [PHP] Forms

2005-03-21 Thread Chris Ramsay
On Mon, 21 Mar 2005 10:04:23 -0600, Marquez Design [EMAIL PROTECTED] wrote: Greetings, Does anyone know how to get a particular option to display in a drop menu? Perhaps, do db query first, then for each option (perhaps as a foreach or something): echo option name=\whatever\ value=\\;

Re: [PHP] Forms

2005-03-21 Thread Miles Thompson
At 12:04 PM 3/21/2005, Marquez Design wrote: Greetings, Does anyone know how to get a particular option to display in a drop menu? select name=category id=category option selected=true value=Option ValueOption Value/option option value=line-/option option value=value1

Re: [PHP] Forms

2005-03-21 Thread [EMAIL PROTECTED]
The way I did: # taking values from DB $query = mysql_query(select * from VALUES) $result = mysql_fet_array($query); #create an array of all values of dropdow menu $values = arra('value1', 'value2', 'value3', 'value4'); # create SELECT form using for loop echo 'select name=category

[PHP] Forms

2005-03-21 Thread Marquez Design
Greetings, Does anyone know how to get a particular option to display in a drop menu? select name=category id=category option selected=true value=Option ValueOption Value/option option value=line-/option option value=value1 value1/option option value=value2 value2 /option

Re: [PHP] Forms on PHP

2005-01-11 Thread Leon Poon
Refer to the following line numbers: 01 ?php 02 // Start of PHP code - Extract values from form. 03 /* Other values read */ 04 $n=$_POST['n']; 05 06 // Pass the data from the form to lightcurve_csharp 07 $command=./lightcurve_csharp $a $i $e $lomega $bomega $lambda $n; 08

Re: [PHP] Forms on PHP

2005-01-11 Thread Richard Lynch
PHPDiscuss - PHP Newsgroups and mailing lists wrote: I am new to this or any newsgroup in PHP, as well as PHP itself, so this question is probably rather elementary. I have a form which on clicking on the Submit button calls up a compiled program on the server that is executed and writes

Re: [PHP] Forms on PHP

2005-01-11 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Leon Poon wrote: Refer to the following line numbers: 01 ?php 02 // Start of PHP code - Extract values from form. 03 /* Other values read */ 04 $n=$_POST['n']; 05 06 // Pass the data from the form to lightcurve_csharp 07 $command=./lightcurve_csharp $a $i $e $lomega $bomega

[PHP] Forms on PHP

2005-01-10 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hi, I am new to this or any newsgroup in PHP, as well as PHP itself, so this question is probably rather elementary. I have a form which on clicking on the Submit button calls up a compiled program on the server that is executed and writes output to a file. This file is then read by the PHP

[PHP] Forms Question: Options

2004-12-11 Thread Steve Marquez
Hi everyone! Can someone help me with this question? I created a photo upload utility with individual galleries that images can be uploaded into. In the MySQL database, there are multiple names of galleries, some are the same. I want to have a select menu to show just the unique names of the

RE: [PHP] Forms and viewing Text Area

2004-12-10 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 09 December 2004 22:41, Ben C wrote: I have a form which has a text box which then stores in MySQL. When I write seperate paragraphs and try and then view what I wrote it

RE: [PHP] Forms and viewing Text Area

2004-12-10 Thread Stuart Felenstein
--- Ford, Mike [EMAIL PROTECTED] wrote: echo nl2br(htmlspecialchars($text)) is my usual mantra for this. nl2br will give you back the correct formatting, but will leave br/'s in the output. I just went through this issue the other day, what I found worked for me was:

Re: [PHP] Forms In PHP

2004-12-10 Thread Richard Lynch
Wil Hitchman wrote: I created a web form in PHP and used a couple of email addresses. The only email address that worked when I submitted to the form (for testing purposes) was my Yahoo address. My AOL, hotmail and other work addresses did not work. Can someone tell me why? Technically,

RE: [PHP] Forms and viewing Text Area

2004-12-10 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 10 December 2004 11:30, Stuart Felenstein wrote: --- Ford, Mike [EMAIL PROTECTED] wrote: echo nl2br(htmlspecialchars($text)) is my usual mantra for this. nl2br will

[PHP] Forms and viewing Text Area

2004-12-09 Thread Ben C
I have a form which has a text box which then stores in MySQL. When I write seperate paragraphs and try and then view what I wrote it lumps it all together in one paragraph when I echo. I am sure I am doing something simply wrong. Anyone have any ideas? -- PHP General Mailing List

Re: [PHP] Forms and viewing Text Area

2004-12-09 Thread Marek Kilimajer
Ben C wrote: I have a form which has a text box which then stores in MySQL. When I write seperate paragraphs and try and then view what I wrote it lumps it all together in one paragraph when I echo. I am sure I am doing something simply wrong. Anyone have any ideas? put pre tag around it. and

Re: [PHP] Forms and viewing Text Area

2004-12-09 Thread John Holmes
Ben C wrote: I have a form which has a text box which then stores in MySQL. When I write seperate paragraphs and try and then view what I wrote it lumps it all together in one paragraph when I echo. I am sure I am doing something simply wrong. Anyone have any ideas? The line breaks are

[PHP] Forms In PHP

2004-12-09 Thread Wil Hitchman
Hi, I created a web form in PHP and used a couple of email addresses. The only email address that worked when I submitted to the form (for testing purposes) was my Yahoo address. My AOL, hotmail and other work addresses did not work. Can someone tell me why? Thanks, Wil

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-18 Thread Jeff - Webmaster
Brent, Declaring the DOCTYPE did it! I completely overlooked that. Thank you very much for your help. Jeff At 06:40 AM 11/17/2004, Brent Baisley wrote: For the record, this is NOT a PHP problem. I have no problem on my Mac using Safari or FireFox, or even Camino .7. However, there is a problem

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-17 Thread Brent Baisley
For the record, this is NOT a PHP problem. I have no problem on my Mac using Safari or FireFox, or even Camino .7. However, there is a problem using IE on the Mac. Which, if you have Mac users still using IE, you should tell them to cease and desist. It's a discontinued product. But, you may

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Jonel Rienton
do you have the actual link of this page, i can test it for you. -- I not know English well, but I know 7 computer languages. anonymous On Nov 16, 2004, at 2:24 PM, Jeff - Webmaster wrote: Hello all. I have created a few PHP pages

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Brent Baisley
I never had a problem with a Mac, nor any platform as long as I adhered to web standards. OK, so IE can be problematic especially with CSS. Anyway, I notice that your input field doesn't have a value= attribute. That may be your problem. I'm pretty sure it's a required attribute. IE is

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Jeff - Webmaster
https://www.shoppingnw.com/ccare/auto_bill.php Thanks Jeff At 01:12 PM 11/16/2004, Jonel Rienton wrote: do you have the actual link of this page, i can test it for you. -- I not know English well, but I know 7 computer languages.

[PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Jeff - Webmaster
Hello all. I have created a few PHP pages on our website where users can go a fill out a simple form and submit it to our support department using the post method. For users on PC's, this works flawlessly. I am getting complaints from people who use Macintosh who say that they are not able to

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Jeff - Webmaster
Thank you for the response Brent. I made that change and the problem still exists. I ran the page through the validator and it found some generic problems, but nothing that seemed like it would relate here. Jeff At 01:19 PM 11/16/2004, Brent Baisley wrote: I never had a problem with a Mac, nor

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Jonel Rienton
It works flawlessly on my mac os panther 10.3.6, i wonder what build of mac os they are using. I can type in on all the textfields. -- I not know English well, but I know 7 computer languages. anonymous On Nov 16, 2004, at 2:24

Re: [PHP] forms

2004-10-11 Thread Minuk Choi
What is a connect_db file? - Original Message - From: bigmark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 10, 2004 11:33 PM Subject: Re: [PHP] forms Thanks-- i got that going-GREAT ! now i have a form that creates the database and tables, any ideas how i can get

[PHP] forms/variables/create database

2004-10-10 Thread bigmark
hi, does anyone know why this is not working, i have married 2 pieces of code together and i have no idea what im doing--any help is appreciated. I get an error that says it cant find the host--$host so obviusly its not passing it from the form. / ?php

Re: [PHP] forms/variables/create database

2004-10-10 Thread Minuk Choi
] To: [EMAIL PROTECTED] Sent: Sunday, October 10, 2004 10:23 PM Subject: [PHP] forms/variables/create database hi, does anyone know why this is not working, i have married 2 pieces of code together and i have no idea what im doing--any help is appreciated. I get an error that says it cant find

Re: [PHP] forms

2004-10-10 Thread bigmark
] To: [EMAIL PROTECTED] Sent: Sunday, October 10, 2004 10:23 PM Subject: [PHP] forms/variables/create database hi, does anyone know why this is not working, i have married 2 pieces of code together and i have no idea what im doing--any help is appreciated. I get an error that says it cant find

Re: [PHP] forms

2004-10-10 Thread Michal Migurski
Thanks-- i got that going-GREAT ! now i have a form that creates the database and tables, any ideas how i can get this info to change the connect_db file so that it doesnt have to be done manually. See fopen(), fwrite(), and fclose(): http://php.net/manual/en/ref.filesystem.php Not sure exactly

[PHP] forms and DB

2004-06-01 Thread BigMark
Hi i urgently need a complete ---connect_db/form/results script, does anyone know of a ready to use script available and ready to use today. All i need is a connect.php page, a form to input a users name and one for some text -and also a page that shows all the table results . i have to get

[PHP] Forms, or multiple headers?

2004-03-05 Thread Tristan . Pretty
I'm talking to a MySQL database that contains info on all downloads from our site. I list all these entries, on a PHP page. The table structure etc, are static, but the fields retrieved, are dynamic, based on the users search criteria. Within each result, I've added a small form, that posts that

[PHP] Forms, ListBoxes, Validating Errors.

2004-01-16 Thread Kacey A. Murphy
What I have is an issue with posting forms with Dynamic ListBoxes. What happens is when you fill the form out, and hit submit, it validates the form .. if there is a required field not filled out, it comes back and gives an error. All the textfields have all the information and the Static

Re: [PHP] Forms, ListBoxes, Validating Errors.

2004-01-16 Thread Richard Davey
Hello Kacey, Friday, January 16, 2004, 11:33:22 AM, you wrote: KAM What I have is an issue with posting forms with Dynamic ListBoxes. KAM What happens is when you fill the form out, and hit submit, it validates the KAM form .. if there is a required field not filled out, it comes back and gives

[PHP] RE:AGAIN [PHP] Forms, ListBoxes, Validating Errors.

2004-01-16 Thread Kacey A. Murphy
-Original Message- From: Richard Davey [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 6:43 AM To: Kacey A. Murphy Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Forms, ListBoxes, Validating Errors. Hello Kacey, Friday, January 16, 2004, 11:33:22 AM, you wrote: KAM What I have

[PHP] PHP forms that are valid XHTML

2003-12-30 Thread Tim Burgan
Hello, I'm *very* new to PHP. I am working through the 'Professional PHP Programming' book by Worx. In their forms they use the name attribute (ie. name=example) instead of XHTML's id attribute (ie. id=example). If I use 'name' my results display on the next page after the submit button is

Re: [PHP] PHP forms that are valid XHTML

2003-12-30 Thread Tom Rogers
Hi, Wednesday, December 31, 2003, 11:45:37 AM, you wrote: TB Hello, TB I'm *very* new to PHP. I am working through the 'Professional PHP TB Programming' book by Worx. TB In their forms they use the name attribute (ie. name=example) instead of TB XHTML's id attribute (ie. id=example). TB If I

Re: [PHP] PHP forms that are valid XHTML

2003-12-30 Thread Leif K-Brooks
Tim Burgan wrote: In their forms they use the name attribute (ie. name=example) instead of XHTML's id attribute (ie. id=example). How can I fix this? (X)HTML still requires name to be used for forms. It's usually best to use both name and ID for forms. -- PHP General Mailing List

Re: [PHP] PHP forms that are valid XHTML

2003-12-30 Thread Tim Burgan
Thanks for your replies. The name attribute is depreciated in XHTML for use with the input tag and has been replaced with the id attribute. The name element can still be used in the form tag though. What I'm looking for is something similar to ASP's GetElementByID(example); Thanks Tim Burgan

[PHP] forms and mysql

2003-12-02 Thread BigMark
Hi i am very new to PHP so need some help ! i have a form which allows the user to put in 2 team names and then displays them, at the moment it displays them side by side but i need to insert V (versus) in the middle--how can i do that. I am guessing it goes in the lines of the code below

Re: [PHP] forms and mysql

2003-12-02 Thread Tom Rogers
Hi, Tuesday, December 2, 2003, 9:54:33 PM, you wrote: B Hi i am very new to PHP so need some help ! B i have a form which allows the user to put in 2 team names and then displays B them, at the moment it displays them side by side but i need to insert V B (versus) in the middle--how can i do

[PHP] Forms and Arrays

2003-11-28 Thread Dave Carrera
Hi List, I have a dynamically generated form with inputs with names that create arrays i.e.: input name=fname[] input name=flab[] input name=fplc[] The extra bits for the inputs are omitted deliberately for this question but exists in the form i.e.: size, value, type. And these are repeated as

RE: [PHP] Forms and Arrays

2003-11-28 Thread Ford, Mike [LSS]
On 28 November 2003 14:36, Dave Carrera wrote: Hi List, I have a dynamically generated form with inputs with names that create arrays i.e.: input name=fname[] input name=flab[] input name=fplc[] The extra bits for the inputs are omitted deliberately for this question but exists in

RE: [PHP] Forms and Arrays

2003-11-28 Thread Dave Carrera
example will be most appreciated. Dave C -Original Message- From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED] Sent: 28 November 2003 14:50 To: 'Dave Carrera'; [EMAIL PROTECTED] Subject: RE: [PHP] Forms and Arrays On 28 November 2003 14:36, Dave Carrera wrote: Hi List, I have

RE: [PHP] Forms and Arrays

2003-11-28 Thread Ford, Mike [LSS]
On 28 November 2003 17:22, Dave Carrera wrote: Thank you for clearing up my rather lame explanation. So how can I process $_POST[dynamic-name][user-entered-value] arrays to give me my desired output: fname0 = value flab0 = value fplc0 = value fname1 = value flab1 = value fplc1 = value

Re: [PHP] Forms and Arrays

2003-11-28 Thread David T-G
Dave - ...and then Dave Carrera said... % % Thank you for clearing up my rather lame explanation. % % So how can I process $_POST[dynamic-name][user-entered-value] arrays to give % me my desired output: % % fname0 = value flab0 = value fplc0 = value Do you really want a variable called

[PHP] Forms

2003-11-19 Thread Matthew Oatham
Hi, This is probably more of a javascript question but thought someone here might have an answer. I have a form in a pop up windoe I want this form data to be submited to the window that opened the popup - how can I do this? I have tried setting the target attribute on the form tag to

RE: [PHP] Forms

2003-11-19 Thread Jay Blanchard
[snip] This is probably more of a javascript question but thought someone here might have an answer. I have a form in a pop up windoe I want this form data to be submited to the window that opened the popup - how can I do this? I have tried setting the target attribute on the form tag to

Re: [PHP] Forms

2003-11-19 Thread John Nichel
Matthew Oatham wrote: Hi, This is probably more of a javascript question but thought someone here might have an answer. I have a form in a pop up windoe I want this form data to be submited to the window that opened the popup - how can I do this? I have tried setting the target attribute on

Re: [PHP] Forms

2003-11-19 Thread Marek Kilimajer
Matthew Oatham wrote: Hi, This is probably more of a javascript question but thought someone here might have an answer. I have a form in a pop up windoe I want this form data to be submited to the window that opened the popup - how can I do this? I have tried setting the target attribute on

[PHP] Forms

2003-08-14 Thread Kris Reid
I'm having trouble explaining this so please bare with me. Say there is a form hosted on server A on a web page Something simple like form action=submit.php method=post onSubmit=window.onunload=null; input name=data size=25 value= //td input type=submit value=submit / /form I have the

Re: [PHP] Forms

2003-08-14 Thread Robert Cummings
If I understand your question correctly it sounds like you want to populate a database on Server A with data residing in a database on server B via a form hosted on server A *grin*. Obviously this is tedious, and if there are a lot of entries then I would suggest writing a script to populate and

Re: [PHP] Forms

2003-08-14 Thread Kris Reid
- Original Message - From: Robert Cummings [EMAIL PROTECTED] To: Kris Reid [EMAIL PROTECTED] Cc: PHP List [EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 12:25 AM Subject: Re: [PHP] Forms If I understand your question correctly it sounds like you want to populate a database

Re: [PHP] Forms

2003-08-14 Thread Robert Cummings
As I mentioned already you would be best not using Javascript and performing the submission via PHP. I wrote the following snippet in the past to do something similar to what you are asking. Study it and see if you can adapt it to your own needs. You should be able to loop on the form submission

Re: [PHP] Forms and PHP

2003-07-20 Thread Jason Wong
On Sunday 20 July 2003 12:37, Jason Giangrande wrote: I have a question about forms and PHP. Here's what I'm looking to do. I'm trying to set up a spell checker that checks text entered in a form, but I want the check results to show up in a different window so that the user can change the

[PHP] Forms and PHP

2003-07-20 Thread Yasir Malik
I'm working with forms using PHP and HTML. I've noticed that there is a limit of the length of a URL that can sent to browser (I'm passing many many things as arguments across pages). Is there a way to get across the limit or am I doing something wrong? Yasir -- PHP General Mailing List

Re: [PHP] Forms and PHP

2003-07-20 Thread John Nichel
Yasir Malik wrote: I'm working with forms using PHP and HTML. I've noticed that there is a limit of the length of a URL that can sent to browser (I'm passing many many things as arguments across pages). Is there a way to get across the limit or am I doing something wrong? Yasir Submit your form

Re: [PHP] Forms and PHP

2003-07-20 Thread Curt Zirzow
* Thus wrote Yasir Malik ([EMAIL PROTECTED]): I'm working with forms using PHP and HTML. I've noticed that there is a limit of the length of a URL that can sent to browser (I'm passing many many things as arguments across pages). Is there a way to get across the limit or am I doing something

[PHP] Forms and PHP

2003-07-19 Thread Jason Giangrande
I have a question about forms and PHP. Here's what I'm looking to do. I'm trying to set up a spell checker that checks text entered in a form, but I want the check results to show up in a different window so that the user can change the misspelled words if they'd like. In other words, I want to

RE: [PHP] Forms and PHP

2003-07-19 Thread Chris Hubbard
, July 19, 2003 8:37 PM To: [EMAIL PROTECTED] Subject: [PHP] Forms and PHP I have a question about forms and PHP. Here's what I'm looking to do. I'm trying to set up a spell checker that checks text entered in a form, but I want the check results to show up in a different window so that the user can

Re: [PHP] Forms and PHP

2003-07-19 Thread Justin French
This is done with javascript... without getting too off topic... JS can get the contents of the textarea, and submit it via get (maybe post as well) to another (pop-up) window. the pop-up window can highlght misspelled words, and even make dynamic changes to the content in the first window.

Re: [PHP] Forms and PHP

2003-07-19 Thread Curt Zirzow
* Thus wrote Justin French ([EMAIL PROTECTED]): This is done with javascript... without getting too off topic... JS can get the contents of the textarea, and submit it via get (maybe post as well) to another (pop-up) window. the pop-up window can highlght misspelled words, and even make

Re: [PHP] Forms and PHP

2003-07-19 Thread Jason Giangrande
Thanks guys. I think I'll try it first as Chris suggested and see how that goes. Thanks again. Jason On Sun, 2003-07-20 at 00:55, Justin French wrote: This is done with javascript... without getting too off topic... JS can get the contents of the textarea, and submit it via get (maybe post

[PHP] Forms and PHP_SELF

2003-07-05 Thread Beauford.2005
Hi, I have a very simple form that searches a MySQL database and I want to be able to have the search appear on the same page as the search. FORM NAME=search METHOD=post ACTION=? $PHP_SELF; ? INPUT type=text size=30 name=player INPUT TYPE=image src=../images/submit.gif

Re: [PHP] Forms and PHP_SELF

2003-07-05 Thread Alan D'Angelo
:43 AM Subject: [PHP] Forms and PHP_SELF Hi, I have a very simple form that searches a MySQL database and I want to be able to have the search appear on the same page as the search. FORM NAME=search METHOD=post ACTION=? $PHP_SELF; ? INPUT type=text size=30 name=player

Re: [PHP] Forms and PHP_SELF

2003-07-05 Thread Leif K-Brooks
Dan Anderson wrote: Be careful when using PHP self. Not all servers support it. If you're planning on using this script over and over on multiple servers you may find creating a variable is helpful. $some_variable = the_script_name.php; Then, where you would use PHP_SELF just echo (or

Re: [PHP] Forms and PHP_SELF

2003-07-05 Thread Dan Anderson
Please don't mislead users! That's plain untrue. I assure you that server administrators can turn off the variables such as PHP SELF. It may not be common but it does happen. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Forms and PHP_SELF

2003-07-05 Thread Leif K-Brooks
Dan Anderson wrote: I assure you that server administrators can turn off the variables such as PHP SELF. It may not be common but it does happen. The only way to do that would be editing the PHP source. That's above the IQ of any sysadmin who would want to do that. -- The above message is

Re: [PHP] Forms PHP

2003-07-03 Thread Greg Wiley
On Wed, 02 Jul 2003 14:58:39 +0100, Greg Wiley [EMAIL PROTECTED] wrote: On Wed, 2 Jul 2003 14:45:27 +0100, Gary Ogilvie [EMAIL PROTECTED] wrote: [snip] By maintaining the POST (assuming you're using POST)variables and calling them into the form values when reloaded. If you go to the second

[PHP] Forms PHP

2003-07-02 Thread Gary Ogilvie
Hello everyone, I have a form that gets filled out and within this form there is a link to add additional information in a new form. When this information is saved I would like the browser to redirect to the previous form (this I can do) but with all the details they have already filled out

<    1   2   3   4   >