How can you insert javascript in php code?

Answers were Sorted based on User's Feedback



How can you insert javascript in php code?..

Answer / bnvs kishore.

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

Is This Answer Correct ?    15 Yes 22 No

How can you insert javascript in php code?..

Answer / tamil selvan

<?php
echo <script type="text/javascript">
</script>
?>

Is This Answer Correct ?    24 Yes 68 No

How can you insert javascript in php code?..

Answer / tejas

<?
<script language='javascript'>

</script>

?>

Is This Answer Correct ?    38 Yes 85 No

Post New Answer

More PHP Interview Questions

How many ways there are to fetch the data from the Database?

2 Answers   Tops Technologies,


What is the difference between print() and echo()?

0 Answers  


Where can I find php ini file?

0 Answers  


Tell me how is it possible to parse a configuration file?

0 Answers  


How to declare an array in php?

0 Answers  






my english is not too good then what we apply for a php programer post

0 Answers  


Is php 5 still supported?

0 Answers  


What is php and how do you use it?

0 Answers  


What is the default session time in php?

0 Answers  


How do you check is php not empty?

0 Answers  


What is difference between array_merge and array_combine?

0 Answers  


What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?

1 Answers  


Categories