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 |
hai, friend i srinu i had completed my graduation in 2004. now i am fineshed PHP course .may i get any oppartunity on php progr pls sugg me . thank u
Without using forms and hidden variables, how to send variables from a PHP script to another URL using POST method?
Tell me how to find the position of the first occurrence of a substring in a string?
What is the difference between $var and $$var?
What is mysql_fetch_row?
Is php a middleware?
What is the meaning of a final class and a final method?
Why is PHP-MySQL frequently used for web (Portal) Development?
5 Answers T3 Softwares, Wipro,
How many types of arrays are there in php?
What are the features of php 7?
Is PHP an open source software?
How can we destroy the session, how can we unset the variable of a session?