Obviamente você não consegue chamar uma função do Javascript em um código PHP.
Com jeitinho consegue sim:
<script> function alerta(varA){ alert(varA); } </script> <? print "<script>alerta('www.albertoleal.eti.br')</script>"; ?>
hhehe
There have been 52 items by gonacts (Search limited from 29/03/2023)
Posted by gonacts on 10/01/2008, 10:18 in PHP
Posted by gonacts on 10/01/2008, 10:16 in PHP
Posted by gonacts on 15/12/2007, 00:05 in PHP
Posted by gonacts on 14/12/2007, 23:55 in PHP
Posted by gonacts on 04/05/2007, 14:24 in Javascript / DOM / AJAX / ECMAScript
Posted by gonacts on 20/03/2007, 14:51 in PHP
Posted by gonacts on 18/03/2007, 21:37 in PHP
Posted by gonacts on 09/02/2007, 14:34 in Servidores Linux
Posted by gonacts on 09/02/2007, 12:33 in Servidores Linux
Community Forum Software by IP.Board
Licensed to: Webmasters Online