Can I add javascript inside php tags or is there something special i have to do?
Thanks.
You can add with that
echo '<script language="javascript">... your script here...</script>';
No, you can only execute Javascript client-side and thus can't execute it inside php tags.
Mark