Re: RES: [PHP] Help Call Javascript Methods Inside PHP

From: Date: Tue, 20 May 2008 17:04:16 +0000
Subject: Re: RES: [PHP] Help Call Javascript Methods Inside PHP
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-274572@lists.php.net to get a copy of this message
At 11:41 AM -0300 5/20/08, Thiago Pojda wrote:
That way you can conditionally send some JS to client, but running actual JS in PHP is not possible.
While running JS inside of PHP is at best confusing, it is possible to use both php and javascript together. For example: You can use php to run javascript, right? And, you can use javascript and run php, right? So, all you need between the two is communication, right? Think of ajax. Here's an example: http://webbytedd.com/b/timed-php/ It just takes a little work. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#274572) next »