Widget HTML Atas

PHP and Client Side Code | itfasilkom

Php scripts can be developed based on client side, like the example below:

<html>
<head>
<title>Php with Client Side </title>
</head>
<body>
<?php
echo("Learning <EM>PHP</EM> with <EM>itfasilkom.blogspot.com</EM>");
?>
</body>
</html>





Emphasis <EM> is placed around the text using php. Webserver and php will read that word is part of the tex, then sent to the browser.

example: Php script embedded javascript

<html>
<head>
<title>Php with Client Side</title>
</head>
<body>
<?php
echo("<script language='javascript'>alert('Hy itfasilkom was here, Thanks for visit again '); </script>");
?>
</body>
</html>


Based on examples such as the webserver executes the echo statement. It will send a message ("<script language='javascript'>alert('Hy itfasilkom was here. Thanks for visit again');</script>"); into a browser. The script will be translated into code javascript. Then the browser will display the box alert.

No comments for "PHP and Client Side Code | itfasilkom"

Search Results Computer Programing, technological, Data Appears, RiskTool, games, memory, MIPS Computer Programing, technological, Data Appears, RiskTool, games, memory, MIPS