Re: Can PHP and Java work together?
| From: | Benjamin Lupu | Date: | Fri, 31 Aug 2001 12:07:35 +0000 |
| Subject: | Re: Can PHP and Java work together? | ||
| References: | 1 | Groups: | php.general php.windows |
| Request: | Send a blank email to php-general+get-65455@lists.php.net to get a copy of this message | ||
Jack,
You can either check your text field with JavaScript before submitting your
form or
after on server-side with PHP. I prefer to use JavaScript because it saves a
back
and forth.
here an example of that :
http://1ppl.free.fr/scripts/javascript16.htm
For the printing function, check that :
http://1ppl.free.fr/scripts/javascript04.htm
Enjoy :-)
"Jack" <jack@nedcor.com> wrote in message
news:20010831093314.29759.qmail@pb1.pair.com...
> Dear all
> I want to ask if i want to perform two task after the user had click a
> button,
> 1 is the task perform by PHP
> 2 is the task perform by JavaScript
> is it possible to do so?
>
> I'm actually fresh on JavaScript, before i would call the JavaScript, what
> should i do first or what should i set before though?
>
> Thx
> Jack
> jack@nedcor.com
>
>