Re: [PHP] Re: <button> tag

2004-04-20 Thread Richard Lewis
>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 allow this sort of functionality? > >If it has a unique name, sure: > > So what if I want to know which button was pressed to

[PHP] Re: <button> tag

2004-04-20 Thread Richard Lewis
istinguish between them: Edit Item Delete Item It seems that MSIE doesn't send the value of 'value' when the form is posted. Does allow this sort of functionality? Cheers, Richard Richard Lewis wrote: > Hello PHPers, > > I'm not sure whether this is the best pla

[PHP] <button> tag

2004-04-20 Thread Richard Lewis
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 http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Single HTML form post affecting multiple HTML frames/PHP scripts

2004-04-14 Thread Richard Lewis
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 a

[PHP] Single HTML form post affecting multiple HTML frames/PHP scripts

2004-04-14 Thread Richard Lewis
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, edit

[PHP] OOP Question

2004-04-07 Thread Richard Lewis
What do members think that this code should do: class A { var $a, $b; function A($a) { $this->$a = $a; } function prnt() { echo "a=" . $this->$a; } } class B extends A { function B($a, $b) { parent::A($a); $this->$b = $b; } function prnt() { parent::prn