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

Tell me what is the main difference between require() and require_once()?

544


When are you supposed to use endif to end the conditional statement?

534


What are super global variables in php?

525


Is null or empty c#?

512


What is a query in a database?

544






What the difference between the 'bitwise and' operator and the 'logical and' operator?

518


What is the meaning of symbol '$' in jquery?

533


What is the difference between php and core php?

491


Where php basically used?

564


What the use of var_dump()?

580


How can we submit from without a submit button?

577


What does the scope of variables mean?

531


What is framework in php?

480


How does csrf token work?

564


What is the different between count() and sizeof() in php?

516