How can you insert javascript in php code?

Answer Posted / suno32

{echo '<script language="javascript"></script>';}

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to implement a class named dragonball. This class must have an attribute named ballcount (which starts from 0) and a method ifoundaball. When ifoundaball is called, ballcount is increased by one. If the value of ballcount is equal to seven, then the message you can ask your wish is printed, and ballcount is reset to 0. How would you implement this class?

625


what is mean by portal

1454


What is in php 7?

557


How to join multiple strings stored in an array into a single string?

510


Do you know what does mvc stand for and what does each component do?

499






What is the use of header() function in PHP? What the Limitation of HEADER()?

567


What is the current stable version of php? What advance thing in php7?

514


How does the identity operator === compare two values?

669


What can php do?

547


> symbol is used to redirect the output of a command. State Whether True or False?

649


Explain me what is the importance of "method" attribute in a html form?

499


Why json is used in php?

537


Which programming language does php resemble?

531


What is the expansion of LAMP?

615


What is the use of array_count_values() in php?

532