I figured it out. Yipppee..
Thanks
-Original Message-
From: Gregory Landry [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 4:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP] forms question -- simple
Hi all,
I'm new to the list and to PHP. I haven't bought a book as of yet but
Hey there,
Maintaining state in a web application is always a difficult thing.. fortunatly, you
use PHP, which makes it a bit easier. However, if you do not want anything written to
the server or to the user's drive you are out of luck, simply because at very least
you will need to have
General
[EMAIL PROTECTED]
Sent: Saturday, February 15, 2003 1:25 PM
Subject: RE: [PHP] Forms Question
Hey there,
Maintaining state in a web application is always a difficult thing..
fortunatly, you use PHP, which makes it a bit easier. However, if you do
not want anything written to the server
If you want to do it from PHP, then the forms will have to be seperate (PHP is
server side...) You assign a value to a checkbox, then in the page you submit
to, use something like
if ( $_POST[$checkbox_name] == checked_value )
{
...
}
On Tuesday 25 June 2002 10:30 am, M.E. Suliman
I'm busy with an order form in php. How would I display a text field only
if a checkbox is checked. The reason for this is that if the user selects
the product in the form and, how would I get to display the quantity field
corresponding to that checkbox
I do what you're asking with Javascript. Lookup dynamic forms and you'll
find a lot of examples.
On Tuesday 25 June 2002 10:30 am, M.E. Suliman wrote:
I'm busy with an order form in php. How would I display a text field only
if a checkbox is checked. The reason for this is that if the user
That would be the best idea, but he *is* asking on a PHP list... That's why i
reminded him that PHP is server-side.
On Tuesday 25 June 2002 13:02 pm, Lazor, Ed wrote:
I do what you're asking with Javascript. Lookup dynamic forms and you'll
find a lot of examples.
On Tuesday 25 June 2002
7 matches
Mail list logo