Answer Posted / vivek srivastava
You can write Java Script in PHP in a very simple way so as
I did:
<?php
some php code...
?>
<script type="text/javascript">
function someFun()
{
function code....
}
</script>
<?php
some php code...
?>
| Is This Answer Correct ? | 72 Yes | 18 No |
Post New Answer View All Answers
What is the use of stripslashes in php?
Can the value of a constant change during the script's execution?
What are the rules for naming a php variable?
How do you check if a variable has been set in php?
What is the goto statement useful for?
What is preg_match?
Is php better than java?
What is query string php?
Define about declare construct?
What is the use of imagetypes() method?
What is use of header() function in php? What the limitation of header()?
What is a composer in PHP?
Write a php function to convert all null values to blank?
Explain the casts allowed in PHP?
Can I learn laravel without php?