How can you insert javascript in php code?

Answer Posted / naqiya

example
?>
<script language='javascript'>
document.location.href=".php";
</script>
<?php
}
?>

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is variable function php?

543


what is mean by portal

1454


What is session php?

507


How long is session timeout?

528


What is instantiation?

1738






How to replace a text in a string with another text in php?

515


Tell me what is the use of mysql_real_escape_string() function?

533


What is config file in php?

534


What is the difference between apache vs niginx?

602


Explain me the difference between include and require?

513


What is needed to be able to use image function?

523


What does $_cookie means?

562


Tell me what is the difference between unset() and unlink()?

532


What is the use of return in php?

489


What is abstract class in php?

509