Insertar JavaScript en PHP
<?php
echo '<input type="button" onclick="alert(\'Clicky!\')"/>';
?>
Ankur
<?php
echo '<input type="button" onclick="alert(\'Clicky!\')"/>';
?>