How can you insert javascript in php code?

Answer Posted / bnvs kishore.

<?php
//php coding.
?>
<script langauge="javascript">
//javascript coding.
</javascript>
<?php
//php coding.
?>

Is This Answer Correct ?    15 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference server side and browser side validation?

492


What is the difference between apache and tomcat?

538


How can we access the data sent through the url with the get method?

602


What are php functions?

562


What is the purpose of the following files having extensions: frm, myd, and myi? What these files contain?

516






Explain me is multiple inheritance supported in php?

537


How to remove the new line character from the end of a text line?

518


Which is better session or cookie?

535


How can we display information of a variable and readable by a human with php?

543


Is php dead 2019?

547


What is a definer in mysql?

561


What are the advantages of indexes?

514


What are the new features available in php 7?

550


How to remove duplicate values from php array?

545


What is the use of $_server["php_self"] variable?

535