Hello PHPers,
I'm not sure whether this is the best place to post this message...
Some of the forms I'm using in a PHP project I'm working use the button
type=submit ... tag to submit.
They are working fine on Konqueror but don't seem to work properly on MSIE.
I tried inserting the debug code:
:
button name='submit' value='edit'Edit Item/button
button name='submit' value='delete'Delete Item/button
It seems that MSIE doesn't send the value of 'value' when the form is
posted.
Does input type='submit'... allow this sort of functionality?
Cheers,
Richard
Richard Lewis wrote:
Hello PHPers
In all fairness to IE, it WILL send the value of each button - but PHP
cannot distinguish between them all because you have given them all
the same name! :)
RL Does input type='submit'... allow this sort of functionality?
If it has a unique name, sure:
input type=submit name=something-unique
I am writing a database front end in PHP for a record library.
My interface is divided into several HTML frames the first of which contains
an HTML select element listing all of the top-level records (CDs) and
several buttons to perform certain operations on the selected record (e.g.
delete,
Tom Rogers wrote:
Hi,
Wednesday, April 14, 2004, 6:57:53 PM, you wrote:
RL So is there a way of making a single form post affect two scripts in
RL different HTML frames? Or a way of posting values from the second
frame to RL the third automatically (i.e. without the user clicking an
HTML
What do members think that this code should do:
class A
{
var $a, $b;
function A($a)
{
$this-$a = $a;
}
function prnt()
{
echo bra= . $this-$a;
}
}
class B extends A
{
function B($a, $b)
{
parent::A($a);
$this-$b = $b;
}
function prnt()
{
6 matches
Mail list logo