Answer Posted / sivarajan
<?php echo "<script>alert('Insert Javascript in PHP');
</script>"; ?>
Is This Answer Correct ? | 55 Yes | 11 No |
Post New Answer View All Answers
When viewing an html page in a browser, the browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?
Explain me what is x+ mode in fopen() used for?
Explain how we can get the number of elements in an array?
What is mysql_fetch_array?
How can we submit a form without using submit buttons?
How to access a specific character in a string using php?
What are the different components used in php for formatting?
Can you use php and javascript together?
What are the different data types in javascript?
What is xss and csrf?
How to get the directory name out of a file path name?
How come the code works, but doesn’t for two-dimensional array of mine?
Explain Type juggling?
How does session work in php?
How to replace a substring in a given string?