No, you can't. PHP is run on the server side. JavaScript is client side. Adrian Partenie wrote:
Hello,Can I call a php function using forms in the same way as I do for a javascript function? (in the same page, not with php_self). <?php function() {........... } ?> <form method="post" action=function()> ..... .... </form> Thanks, Adrian
-- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php