How to call JavaScript function from PHP

This article will show you how to call a JavaScript function from within PHP code. It is quite simple actually!

echo "<script language=javascript>myfunction();</script>";


You may also be interested in...

Tell us what you think about this article!