Re: questions about php re: invoking php with onclick
| From: | Frappy John | Date: | Wed, 14 May 2003 18:33:55 +0000 |
| Subject: | Re: questions about php re: invoking php with onclick | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147633@lists.php.net to get a copy of this message | ||
> i didn't know/think that you could do an onClick type of
> function with php.
You're right.
> i thought you had to kludge between java/php...
I think you mean javascript/php
> anyone
> want to shed some additional light here..as well as
> provide some example/sample code as to how this is
> done......
It's not clear what the original poster wants to do in his
php function invoked from onclick. But if it must be done
in php, then the best he can do is to use onclick to invoke
a POST or GET to invoke a php page on the server.
--Frappy
On Wednesday 14 May 2003 02:16 pm, Bruce Douglas wrote:
> hey....
>
> i didn't know/think that you could do an onClick type of
> function with php..given that the onClick/event stuff is
> client/browser driven.. and the php is on the server....
>
> i thought you had to kludge between java/php... anyone
> want to shed some additional light here..as well as
> provide some example/sample code as to how this is
> done......
>
> much thanks....
>
> bruce
> bedouglas@earthlink.net
>
>
> -----Original Message-----
> From: Marlon Brandao_estag
> [mailto:marlon.brandao_estag@tvglobo.com.br] Sent:
> Wednesday, May 14, 2003 11:05 AM
> To: 'php-general@lists.php.net'
> Subject: [PHP] questions about php
>
>
> Hello, I'd like to know how to work with objects and
> events using php. For example, i would like to insert a
> button in a form <input type="button" name="test"
> value="OK"> and make a "OnClick" call a php function.
> People said me that I have to use a active script mode
> ... but I don't know what it is and I don't know what to
> do. Thank you for help me. Marlon