How can you insert javascript in php code?

Answer Posted / atanu

<?php
echo"<script language='javascript'>

</script>
";
?>

Is This Answer Correct ?    101 Yes 31 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why php language is used?

605


What does a dependant variable mean?

646


What is mysql_fetch_array?

601


How can you retrieve data from the mysql database using php?

626


What does mysqli_query return?

599






Please explain is it possible to use com component in php?

633


What is traits? How it is used in php?

636


Will a comparison of an integer 12 and a string "13" work in php?

621


Explain about the data types in PHP?

634


What is the use of isset() in php?

635


Are php sessions cookies?

598


What is php pathinfo?

663


How to create an empty array in php?

690


what is benefit of magento?

2126


Do while loops php?

605