Hi.. welcome in my site at “We Are Knowledge”… have fun and enjoyed in
reading my article.
Now I want giving you knowledge PHP again but with other topic and the
topic is “Integrate HTML And PHP”.
Views from topic “integrate HTML and PHP” we want making php in HTML..
Yeah ,, That’s right.. we want making php but we making header and footer with
HTML…
You curious ??? If yes,, Let’s reading this article. Check it…
Example 1 :
Before you make coding, you must working XAMPP, with click “apache”
until it on…
If done you can copy this coding in notepad or notepad++
<html>
<head> WE ARE KNOWLEDGE <br><br>
<title> INTEGRATED PHP AND HTML </title>
</head>
<body>
<?php
echo "This example PHP taq in HTML
taq"."<br>";
echo "You can change this sentence"."<br>";
echo "example : We Are Knowledge"."<br>";
echo "You must very learn in order to be
PRO"."<br>";
?>
</body>
</html>
Next.. You must save with save as type “PHP”.
And for working you must open the search engine and write
http://localhost/adsanse/2.php
logic :
adsanse = location where you save a file.
2.php = name of file
And result is :
WE ARE KNOWLEDGE
This example PHP taq in HTML taq
You can change this sentence
example : We Are Knowledge
You must very learn in order to be PRO
This example PHP taq in HTML taq
You can change this sentence
example : We Are Knowledge
You must very learn in order to be PRO
Logic :
Sentence : we are knowledge is header.. and write in
<head> xxx </head>
Other Sentence : fill of PHP and write in taq <php>
xxx <php>
Ok just for it….
If you having questions please leaving your questions in part
of comment. I you must please
wait… But I want answer your questions…
Ok thanks for all…
Thanks was visit in my page and readig my article. Don’t
forget reading my other article…
See you later in the same place.
No comments:
Post a Comment