Re: RES: Help Call Javascript Methods Inside PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux