|
Quick Table of Contents
[تحسين] Brief introduction
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. An introductory example — test.php <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Example</title>
</head>
<body>
<p>
<?php
$name = "Mac";
$birth_year = 1992;
$age = date( "Y" ) - $birth_year;
echo "Hi My name is $name and my age is $age";
?>
</p>
</body>
</html>Use your browser to access the file with your web server's URL [iframe=670px|290px|hidden]http://www.awcore.com/demos/?id=php_en_1&name=test.php&broswer=true[/iframe]
21 / يناير / 2012 الساعة 13:4
|

