Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
</head>
<body>
<p></p>
<?php
function myTest() {
echo '<script type="text/javascript">$(document).ready(function(){$("p").text("Hello php!");});</script>';
}
function myTest1() {
echo "Hello all!";
}
?>
<?php
myTest();
myTest1();
?>
</body>
</html>
The most helpful PHP solutions
detect browser phpPHP Click to see more ... 4.6K 408