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 |
How many ways there are to fetch the data from the Database?
What is the difference between print() and echo()?
Where can I find php ini file?
Tell me how is it possible to parse a configuration file?
How to declare an array in php?
my english is not too good then what we apply for a php programer post
Is php 5 still supported?
What is php and how do you use it?
What is the default session time in php?
How do you check is php not empty?
What is difference between array_merge and array_combine?
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?