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
Não informado
gonacts hasn't added any friends yet.
15/01/2008, 16:20
Obviamente você não consegue chamar uma função do Javascript em um código PHP.
<script>
function alerta(varA){
alert(varA);
}
</script>
<?
print "<script>alerta('www.albertoleal.eti.br')</script>";
?>15/01/2008, 15:03
10/01/2008, 10:18
10/01/2008, 10:16
10/01/2008, 10:13
Community Forum Software by IP.Board
Licensed to: Webmasters Online

Postagens