How can you insert javascript in php code?
Answers were Sorted based on User's Feedback
Answer / bnvs kishore.
<?php
//php coding.
?>
<script langauge="javascript">
//javascript coding.
</javascript>
<?php
//php coding.
?>
| Is This Answer Correct ? | 15 Yes | 22 No |
Answer / tamil selvan
<?php
echo <script type="text/javascript">
</script>
?>
| Is This Answer Correct ? | 24 Yes | 68 No |
What is "echo" in php?
What is composer json?
What distinguishes php from something like client side java script?
Explain mysql_error().
How send email in php?
Applications written to provide a GUI shell for Unix and Linux are called
How do you find the length of a string in php?
How to upload a file (may be a .txt or a .doc file) from a php script/file?
Give any ten basic functions in PHP?
Is gender a dependent variable?
What is $row in php?
Require_once(), require(), include(). What is difference between them?