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 functionality of the functions strstr() and stristr()?
How to turn on the session support?
What are the file upload settings in configuration file?
What is helper library?
Explain $_FILES Superglobal Array?
Explain php explode() function.
Is php deprecated?
How to check a key exist in an array?
What language is php based on?
What is the purpose of break and continue statement?
What is the use of explode() function?
What are php magic methods?
How to reset/destroy a cookie?
How can I find my php version?
What is use of htmlspecialchars php?