xbl12
Programmer
- Dec 12, 2006
- 66
Hi;
I'd like to ask how i can call a function which it is Javascript from php. Thanks
I'd like to ask how i can call a function which it is Javascript from php. Thanks
Code:
<?php
session_start();
$_SESSION['check']=1;
?>
<html>
<head>
<script type="text/javascript">
function displaymessage()
{
alert("Hello World!");
}
</script>
</head><body>
<?php
if ($_SESSION['check']==1)
How i can call function displaymage()?????
else
echo "Bye";
?>
</body>
</html>