sì!!!!

Codice PHP:
function my_alert($testo)
{
 echo 
"<script> alert('$testo');</script>";