RE: [PHP] Forms and destroying values

2007-01-12 Thread Beauford
also still confused as to why giving them a null value doesn't work. Thanks to all. > -Original Message- > From: Satyam [mailto:[EMAIL PROTECTED] > Sent: January 12, 2007 8:21 AM > To: Beauford; PHP > Subject: Re: [PHP] Forms and destroying values > > This i

Re: [PHP] Forms and destroying values

2007-01-12 Thread Satyam
ase update. It will be this address, not the post that made the database update, that the browser will remember. Satyam - Original Message - From: "Beauford" <[EMAIL PROTECTED]> To: "PHP" Sent: Friday, January 12, 2007 9:27 AM Subject: [PHP] Forms and des

Re: [PHP] Forms and destroying values

2007-01-12 Thread clive
Beauford wrote: Hi, How do I stop contents of a form from being readded to the database if the user hits the refresh button on their browser. Perhaps a session variable that is set once the form is submitted. Depending on the data you could also look at having a primary key in the database.

Re: [PHP] Forms and destroying values

2007-01-12 Thread Miguel J. Jiménez
El Fri, 12 Jan 2007 03:27:12 -0500 "Beauford" <[EMAIL PROTECTED]> escribió: > Hi, > > How do I stop contents of a form from being readded to the database > if the user hits the refresh button on their browser. > > I have tried to unset/destroy the variables in several different > ways, but it st

Re: [PHP] Forms and destroying values

2007-01-12 Thread Fredrik Thunberg
It doesn't help to reset any values. The form data is being resent by the browser itself, just if the user presses the submit button again with the same data. What you could do is mabye use a session to see if the particular user has sent form data before. /Fredrik Thunberg Beauford skrev:

[PHP] Forms and destroying values

2007-01-12 Thread Beauford
Hi, How do I stop contents of a form from being readded to the database if the user hits the refresh button on their browser. I have tried to unset/destroy the variables in several different ways, but it still does it. After the info is written I unset the variables by using unset($var1, $var2,

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 wi

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 for

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 wi

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 th

[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] 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, nex

Re: [PHP] PHP Forms

2006-05-04 Thread Chris
s are set correctly.. -Original Message- 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 1

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 c

[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 the

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 $_PO

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 glob

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 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 bei

[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 pointe

[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

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

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 $SomeVar = "Add

Re: [PHP] forms and variables?

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

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 $SomeVar = "Add"; $SomeVar = "Del"; Or do I just have name t

[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 $SomeVar = "Add"; $SomeVar = "Del"; Or do I just have name

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* 'SUBM

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 (http://www.ph

[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 unsubscribe,

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 fo

[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 (

[PHP] Forms

2005-03-21 Thread Marquez Design
Greetings, Does anyone know how to get a particular option to display in a drop menu? Option Value - value1 value2 value3 value4 The user has previously selected a category. That information is in the database. Here they are editing the record. What I would like is f

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 'Option 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? Option Value - value1 value2 value3 value4 The user has previously selected a category. That information is in the database. Here they are

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 ""; cheers -- PHP General Mai

Re: [PHP] Forms

2005-03-21 Thread Matt M.
> Does anyone know how to get a particular option to display in a drop menu? > > > Option Value > - > value1 > value2 > value3 > value4 > add selected="selected" to the option value4 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

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 > 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 $bome

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 Leon Poon
Refer to the following line numbers: 01 > // 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 > $result=`$command

[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 sc

[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 gall

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. > > >

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 's in the output. I just went through this issue the other day, what I found worked for me was: htmlspecialchars('s

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 lu

[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] 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 preserved

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 tag around it. and don't

[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 (http://www.

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 no

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 P

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 a

[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 t

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. a

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 extrem

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] 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

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

Re: [PHP] forms

2004-10-10 Thread bigmark
t; echo $b; > > that prints localhost. > > HTH > -Minuk > > > - Original Message ----- > From: "bigmark" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, October 10, 2004 10:23 PM > Subject: [PHP] forms/variables/create database &

Re: [PHP] forms/variables/create database

2004-10-10 Thread Minuk Choi
- From: "bigmark" <[EMAIL PROTECTED]> 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 h

[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] 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 t

[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] 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

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 give

[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 ListBoxes

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

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 (http://ww

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"). T

[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 p

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 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 somewher

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 $fname0

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 =

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,

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.: > > > > > > The extra bits for the inputs are omitted deliberately for > this question but > exists in the form i.e.: size, value, type. > > A

[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.: 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 many time as required. Thus they are generating arr

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 t

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 th

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 window

[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 window.o

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 bu

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 questio

[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 I have the data on server B in a mysql database that needs to be inserted via that form. I have written a script that will grab one record and sub

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 su

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 someth

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 v

[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 (http:/

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

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

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 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. i

RE: [PHP] Forms and PHP

2003-07-19 Thread Chris Hubbard
[mailto:[EMAIL PROTECTED] Sent: Saturday, 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 re

[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_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 encr

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: 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 (o

Re: [PHP] Forms and PHP_SELF

2003-07-05 Thread Dan Anderson
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 whatever) $

Re: [PHP] Forms and PHP_SELF

2003-07-05 Thread Alan D'Angelo
For print $PHP_SELF, or $_SERVER['PHP_SELF'] use: or the shortcur sintax: (if short_open_tag = On in php.ini) - Original Message - From: "Beauford.2005" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Sunday, July 06, 2003 1:43 A

<    1   2   3   4   >