Re: [PHP] Re: forms problem

2009-06-04 Thread Michael A. Peters
Al wrote: Michael A. Peters wrote: Al wrote: I also use the "HTML Validator" extension. Leave it active and as you develop and test your resultant html code, it'll check your pages on the fly. When you see the red circle, with a cross, click the circle and get an error report in detail

Re: [PHP] Re: forms problem

2009-06-04 Thread Al
Michael A. Peters wrote: Al wrote: I also use the "HTML Validator" extension. Leave it active and as you develop and test your resultant html code, it'll check your pages on the fly. When you see the red circle, with a cross, click the circle and get an error report in detail. Hey wow

Re: [PHP] Re: forms problem

2009-06-04 Thread Michael A. Peters
Al wrote: I also use the "HTML Validator" extension. Leave it active and as you develop and test your resultant html code, it'll check your pages on the fly. When you see the red circle, with a cross, click the circle and get an error report in detail. Hey wow - that's nifty. I've got s

[PHP] Re: forms problem

2009-06-04 Thread Al
PJ wrote: The code: ...snip accès client mot de passe Inscription Always W3C validate html and CSS . Use Firefox's "Web Developer" extension. It's super. It would have shown you the problems in minutes, see the "fo

[PHP] Re: forms problem

2009-06-03 Thread Shawn McKenzie
PJ wrote: > PROBLEM 1 solved: errant s removed; strange that they were > inhibiting entry of data into form field? > > PROBLEM 2 not resolved: but the form was off the page and clipped in > upper right hand corner. What can be done to get it to show correctly? > Remove the link to any stylesheet

Re: [PHP] Re: Forms validation and creation- easier solution?

2009-05-23 Thread Stephen
Tony Marston wrote: Your ideas are similar to mine, but I have a much more advanced implementation which involves the use of a Data Dictionary. After building a database table I import the structure into my data dictionary, then export it to create a database table class and a table structure f

[PHP] Re: Forms validation and creation- easier solution?

2009-05-23 Thread Tony Marston
"Daniele Grillenzoni" wrote in message news:16.1e.28112.84ca5...@pb1.pair.com... > On 20/05/2009 9.03, Angelo Zanetti wrote: >> Hi all. >> >> >> >> We have done quite a few projects and we are looking to find better ways >> to >> implementing forms. >> >> >> >> Forms seem to be quite time consu

[PHP] Re: Forms validation and creation- easier solution?

2009-05-21 Thread Daniele Grillenzoni
On 20/05/2009 9.03, Angelo Zanetti wrote: Hi all. We have done quite a few projects and we are looking to find better ways to implementing forms. Forms seem to be quite time consuming and repetitive. Generally are there any classes or libraries that will assist with: 1. Easy crea

[PHP] Re: Forms and destroying values

2007-01-16 Thread Colin Guthrie
Beauford wrote: > Thanks, a little confusing there. You would think though that once the info > is transmitted by the browser it would be forgotten by the browser. Anyway, > I do have a work around, and since PHP can't do anything about what the > browser does, this will have to suffice. But a ref

[PHP] Re: Forms and destroying values

2007-01-16 Thread Mark
Hello all, give this a try Beauford. Place that up in the head of the documement. It's not PHP but it used to work. I haven't used it in a few years. ""Beauford"" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Hi, > > How do I stop contents of a form from being readded to the

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

2006-04-27 Thread Martin Alterisio
2006/4/27, Jason Gerfen <[EMAIL PROTECTED]>: > > Oops, I thought there might be an array function that would be better to > use then foreach loops. Thanks. There are other functions (check the Array Functions section in the manual), but they just don't get along with the KISS principle. Dave Goo

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

2006-04-27 Thread Jason Gerfen
Oops, I thought there might be an array function that would be better to use then foreach loops. Thanks. Dave Goodchild wrote: Foreach. Please try and read the manual, this is very basic stuff that could be gleaned in 5 minutes. On 27/04/06, Barry <[EMAIL PROTECTED]> wrote: Jason Gerfen s

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

2006-04-27 Thread Dave Goodchild
Foreach. Please try and read the manual, this is very basic stuff that could be gleaned in 5 minutes. On 27/04/06, Barry <[EMAIL PROTECTED]> wrote: > > Jason Gerfen schrieb: > > I have come upon a problem and am not sure how to go about resolving > > it. I have an web form which is generated dyna

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

2006-04-27 Thread Barry
Jason Gerfen schrieb: 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] Re: Forms Validation library

2006-04-25 Thread Jens Kleikamp
Murtaza Chang wrote: Hi I just wanted to know if there's a generalised library available for Forms validation in php? -- Murtaza Chang http://pear.php.net/package/HTML_QuickForm http://ez.no/doc/components/view/latest/(file)/introduction_UserInput.html -- PHP General Mailing List (http://www.

[PHP] Re: Forms Validation library

2006-04-25 Thread Manuel Lemos
Hello, on 04/25/2006 04:38 PM Murtaza Chang said the following: > Hi I just wanted to know if there's a generalised library available for > Forms validation in php? http://www.phpclasses.org/formsgeneration -- Regards, Manuel Lemos Metastorage - Data object relational mapping layer generator

[PHP] Re: forms

2005-05-04 Thread Lisa A
Thanks for the info, but do I create the form in front page then? Where does this script go? Do I save the php you sent as a results page? thanks, Lisa A "Jason Barnett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Lisa A wrote: >> Does anyone know of a good easy php script or

[PHP] Re: forms

2005-05-04 Thread Jason Barnett
Lisa A wrote: 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 /** File Action.

[PHP] Re: Forms Question: Options

2004-12-11 Thread Matthew Weier O'Phinney
* Steve Marquez <[EMAIL PROTECTED]>: > 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 galleries. > >

[PHP] Re: Forms In PHP

2004-12-09 Thread Brad Ciszewski
besure to have the to emails have only a , inbetween them. Example: $to = [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]; etc Hope that helps :) -Brad www.BradTechnologies.com 99.9% Uptime 24/7 Support Packages as low as 3.50 p/month cPanel/PHP/mySQL www.BradTechnologies.com "Wil Hitchm

[PHP] Re: forms and DB

2004-06-01 Thread Justin Patrin
Justin Patrin wrote: Bigmark wrote: 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

[PHP] Re: forms and DB

2004-06-01 Thread Justin Patrin
Bigmark wrote: 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

[PHP] Re: Forms, or multiple headers?

2004-03-05 Thread Andre Cerqueira
i think you have to give each checkbox a different name try: del0, del1, del2,... and each one with the id of the thing you are displaying than you do something like this: for ($i=0; isset($_POST['del'.$i]); $i++) { if (!empty($_POST['del'.$i])) $res = mysql_query("DELETE FROM $table_name

[PHP] Re: forms and mysql

2003-12-02 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > 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 d

[PHP] Re: Forms and MySql date

2003-02-20 Thread Philip Hallstrom
You could use the TO_DATE function to convert that text string into a date, or reformat it in PHP to -mm-dd which mysql will take automatically (at least I think so) On Thu, 20 Feb 2003, Mike Tuller wrote: > I have a form that I want to enter a date into a MySql database. I > currently have t

[PHP] Re: Forms Question

2003-02-15 Thread rush
"Beauford.2002" <[EMAIL PROTECTED]> wrote in message 000701c2d51c$616206d0$6401a8c0@p1">news:000701c2d51c$616206d0$6401a8c0@p1... > Im trying to figure out the best way to do the following. I need to have a > series of forms that when the user finishes the first part of the form he is > sent to an

[PHP] Re: forms and sessions ?

2003-01-09 Thread Munir
Scott wrote: hi I'm having some problems submitting forms while using sessions :o( I have a form, that will only display if the session vars exist and are not null or empty. I'm using this is the form handler Write some more information so that we know what u want ok :) -- PHP General Mail

[PHP] Re: Forms

2002-12-11 Thread Christopher Raymond
> > > > John > Mary > > TIA: You are missing the action and method attributes to the form tag. You are also missing the closing form tag. I don't know if you accidentally omitted these when posting your question or if you are actually missing these in your actual HTML code as well. Your

[PHP] Re: Forms

2002-12-10 Thread michael kimsal
Beauford.2002 wrote: John Mary John Mary Maybe you just had a typo before? Michael Kimsal http://www.phphelpdesk.com Guaranteed PHP support when you need it! 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Forms

2002-12-10 Thread Keith D Sellars
What "action" is designated in the form you are using? I don't see anything below in the code you submitted. Whenever php processes a form, then it automatically generates the individual strings containing the designated data in the form's fields. Therefore, if on the page to which the data is s

[PHP] Re: Forms

2002-12-10 Thread Mike Smith
Set the FORM ACTION="script.php" and METHOD="POST" ie... John Mary script.php: Beauford.2002 wrote: Hi, I'm sending this to both lists as I'm not sure where the problem is, but I believe it is an issue with my HTML form. Here's the problem: I have a drop-down menu form on my webpage wit

[PHP] Re: Forms and Sessions not working

2002-11-16 Thread conbud
Hi, If your register_globals is off then you will need to use $_GETand $_POST to get the data from the form. echo $_POST['Name']; Lee "Chris Jackson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all: > Im new to php and i have an isue. > > php4.2.3 wind

[PHP] Re: Forms and sessions

2002-08-15 Thread Kondwani Spike Mkandawire
"Donpro" <[EMAIL PROTECTED]> wrote in message 007601c24462$fec36fe0$[EMAIL PROTECTED]">news:007601c24462$fec36fe0$[EMAIL PROTECTED]... > Hi, > > How can I keep values in a from when using session_start() and later, the > I always keep variables as hidden HTML variables Note: you'd have to include

[PHP] Re: Forms problem?

2002-07-18 Thread Richard Lynch
>why the images won't display. Any ideas would be helpful and I can post more >code if required. You're going to have to post all of it, almost for sure... I'm not seeing a missing " in there, but you surely have one. Or get an editor that understands PHP and JavaScript that will color-code it

[PHP] Re: Forms not passing variables

2002-07-10 Thread Hopp3r
FIXED !!! Thank you all. I had to find out the path that PHP was looking in to find php.ini file. Thanks you all again!!! RC "Hopp3r" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello all. > > I have a site that was backed up, before the box was reform

[PHP] Re: Forms not passing variables

2002-07-10 Thread Derick Rethans
Hello, You reload the php.ini file by restarting your webserver, the correct location of php.ini can be found @ http://www.php.net/manual/en/faq.installation.php#faq.installation.phpini Derick Hopp3r wrote: > Thanks Derick, > > You were right. globals is still off in phpinfo(). How does one

Re: [PHP] Re: Forms not passing variables

2002-07-10 Thread Hopp3r
Martin, I just rebooted, and it still show them to be off? RC "Martin Clifford" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Did you restart your server after changing register_globals? Try that. >>> Derick Rethans <[EMAIL PROTECTED]> 07/10/02 02:30PM >

[PHP] Re: Forms not passing variables

2002-07-10 Thread Hopp3r
Thanks Derick, You were right. globals is still off in phpinfo(). How does one make it reread the ini file, or where is "correct location" to copy my existing php.ini file? RC "Derick Rethans" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hai, > > did you

[PHP] Re: Forms not passing variables

2002-07-10 Thread Martin Clifford
Did you restart your server after changing register_globals? Try that. >>> Derick Rethans <[EMAIL PROTECTED]> 07/10/02 02:30PM >>> Hai, did you check the setting of register_globals really changed? See the phpinfo(); output if it's really set to on. If not, place your php.ini file in the corr

[PHP] Re: Forms not passing variables

2002-07-10 Thread Derick Rethans
Hai, did you check the setting of register_globals really changed? See the phpinfo(); output if it's really set to on. If not, place your php.ini file in the correct location. Derick Hopp3r wrote: > Hello all. > > I have a site that was backed up, before the box was reformatted and > rebui

[PHP] Re: forms and files

2002-07-02 Thread Richard Lynch
>enctype=multipart/form-data> > > >the rest of the form is there too. And $PHP_SELF is set to $PHP_SELF = >$_SERVER[PHP_SELF] at the top of the page. > >When I select a passcodeFile file to upload and click the "upload" >button, I am presented with this on the next page: >"You need to specify a f

[PHP] Re: Forms in PHP

2002-04-13 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi all, > > Now I have a weird problem. I am using this code and can't understand why it > doesn't work. > When the script is run it returns a blank page, no error or done. > > here it is and any help would be appreciated. > > if(($ty

Re: [PHP] Re: Forms in PHP

2002-04-12 Thread Eugene Lee
On Fri, Apr 12, 2002 at 09:36:42AM -0700, Andrew Chase wrote: : : foreach(array_keys($menu_options) as $option_value){ : $option_text = $menu_options[$option_value]; : echo '$option_text'; : } : : would just output : : $option_text : $option_text : $option_text : : which is probably not th

RE: [PHP] Re: Forms in PHP

2002-04-12 Thread Andrew Chase
>May I also suggest that you rewrite your echo statements as: > > echo 'Donate this item'; > >Vastly improves legibility. It's a problem, however, if you want to include a PHP variable in that echo statement, if you're populating a SELECT menu with a loop, for instance; $menu_options = array("A

Re: [PHP] Re: Forms in PHP

2002-04-12 Thread Richard Baskett
s well laugh about it now." - Marie Osmond > From: Dave <[EMAIL PROTECTED]> > Date: Fri, 12 Apr 2002 08:33:36 +0200 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Re: Forms in PHP > > >> >> May I also suggest that you rewrite your echo statements as: >> >

Re: [PHP] Re: Forms in PHP

2002-04-12 Thread José León Serna
Hello: > echo "Donate this item"; > > is there any common use how it should be coded or does it really make no > difference to forget the ""? i'm thinking here of old version of the > php-parser or old webservers which could missunderstand the code. just > to improve compatibility for further proj

Re: [PHP] Re: Forms in PHP

2002-04-12 Thread Dave
> > May I also suggest that you rewrite your echo statements as: > > echo 'Donate this item'; > > Vastly improves legibility. or just echo "Donate this item"; is there any common use how it should be coded or does it really make no difference to forget the ""? i'm thinking here of old v

Re: [PHP] Re: Forms in PHP

2002-04-11 Thread Jason Wong
On Friday 12 April 2002 09:19, Jennifer Downey wrote: > Actually after the submit button is clicked it returns a blank page. > "Jennifer Downey" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Hi all, > > > > Now I have a weird problem. I am using this cod

[PHP] Re: Forms in PHP

2002-04-11 Thread Jennifer Downey
Actually after the submit button is clicked it returns a blank page. "Jennifer Downey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > Now I have a weird problem. I am using this code and can't understand why it > doesn't work. > When the script is r

[PHP] Re: Forms and Results with PHP

2001-12-06 Thread Chris Noble
Have it check to see if the submit button has been clicked. such as the name attribute you use on it. like if(!isset($HTTP_POST_VARS[submit])) { header("Location: formpage.php"); } Chris N. "Ben Clumeck" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I ha

[PHP] Re: forms & PHP

2001-12-06 Thread Julio Nobrega Trabalhando
Session would be the easiest thing to use. You could also 'pre-store' the info on a database and retrive it depending at what page users are visiting. -- Julio Nobrega Don't eat the yellow snow. <[EMAIL PROTECTED]> wrote in message BB6D932A42D6D211B4AC0090274EBB1DA0F14F@GLOBAL1">news:BB6D93

[PHP] Re: Forms lose data when going "back" in browser

2001-11-28 Thread Julio Nobrega Trabalhando
Register the submited vars values on a session and echo them inside the value="" part (or similar behavior, selected, checked, etc...) of your form fields. -- Julio Nobrega No matter where you go, &this. "Zavier Sheran" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROT

Re: [PHP] Re: Forms and Netscape -- spacing problem -- Help!

2001-10-23 Thread Mark
On Wed, 24 Oct 2001 11:18:04 +1000, James Cave wrote: > >> I gave it a try >> NN4.7 and 6.1 both ignored the 'display: inline' css in my test > >There was actually an error in the HTML I posted, try this: > >1. form tag outside of >cell >2. form tag outside of >cell >3. form tag outside of >cell >

Re: [PHP] Re: Forms and Netscape -- spacing problem -- Help!

2001-10-23 Thread James Cave
> I gave it a try > NN4.7 and 6.1 both ignored the 'display: inline' css in my test There was actually an error in the HTML I posted, try this: 1. form tag outside of cell 2. form tag outside of cell 3. form tag outside of cell 4. form tag outside of row 5. form tag outside of row 6. form tag o

Re: [PHP] Re: Forms and Netscape -- spacing problem -- Help!

2001-10-23 Thread Mark
On Wed, 24 Oct 2001 09:14:07 +1000, James Cave wrote: > >> if your form is inside a table .. hide the tags > >In my experience, this just "moves" the closing whitespace to the >end of >the table (just like if you insert text incorrectly between a >and a >). > >The previous post I've made using t

[PHP] Re: Forms and Netscape -- spacing problem -- Help!

2001-10-23 Thread James Cave
> if your form is inside a table .. hide the tags In my experience, this just "moves" the closing whitespace to the end of the table (just like if you insert text incorrectly between a and a ). The previous post I've made using the "display: inline;" style is in fact W3C compliant. -- PHP G

[PHP] RE: Forms and Netscape -- spacing problem -- Help!

2001-10-22 Thread Andrew Chase
It's almost certainly not W3C compliant, but if your form is inside a table (I know, I know - you're not supposed to use tables for layout) you can hide the tags outside the tags of the cell containing the form: E.G.:

[PHP] Re: Forms and Netscape -- spacing problem -- Help!

2001-10-21 Thread James Cave
> form tag in NS (4x - 6x) there is some additional space The form tag is a block level tag, thus white space will be appended after the closing tag. To avoid this, I use a style on the form element. I do this for both IE and Navigator, in different ways, as I've found they seem to react diffe

[PHP] RE: forms & functions

2001-02-27 Thread Tim Ward
essentially, no. PHP runs server side and the action of a form is generated client-side. To run a PHP function the page needs to be resubmitted. The code you have written will run the function before the page is submitted. try something like ... Tim Ward Senior Systems Engin