Refinansiering av Gjeld | Hyvä Läppäri | Kredittkort Rabatt | Strøm | Beste Boligalarm 2017 | Båtforsikring | Beste Mobilabonnement 2017 | Verdivurdering
Php

How to Embedding with HTML tutorial

Web site design to create attractive HTML (HTML) and CSS (CSS) There’s something complementary. But since HTML (HTML) and CSS (CSS) is a programming language for the Web page to add the benefits of programming and data management for the dynamic HTML (HTML) inside the PHP (PHP) embedded or need to be included later. Which is basically a site design using HTML and CSS, and security systems, content management systems, log in to the system is made up of HTML (HTML) of the PHP (PHP) Embedding the.
HTML (HTML) inside the PHP (PHP) or embedded in HTML code to include <body> </ body> in PHP code by adding services, similar to last index.php file to save. Some pages may contain more than one block of PHP code to each block of PHP code to be <? Php and ends with?> By blocks of PHP code to each of the <? Php ……………. ?> Of the same.

<html>
<head>
<title> www.Trickbd.com.bd</title>
<style>
body{background:#FFC;}
h2{color:#F03;}
h1{color:#C60;}
</style>

</head>
<body>
<?php
echo “<h1>We are learning PHP</h1>”;
echo “<br />”;
echo “<h2>Welcome to www.Trickbd.com.bd.</h2>”;
?>
<h1> A simple math.</h1>
<h2>
A=10, B=15, C=A+B=?
</h2>
C=
<?php
$a=10;
$b=15;
$c=$a+$b;
echo $c;
?>
<h1>
Some information about PHP.
</h1>
<?php
phpinfo();
?>
</body>

</html>

After writing the above Kodak a notepad click the File menu, click Save as index.php in the File name in the Save as type, select All files by clicking on the Save to Save. index.php file C: \ xampp \ htdocs should be in the htdocs folder. Ht docs folder to the Desktop Shortcut to the action easily could be put in. If XAMPP Running index.php file in the browser address bar to show the will to write http: //localhost/index.php. And if a new folder in the ht-docs folder create a folder named as the site of the index.php file is to write to the browser’s address bar http://localhost/site/index.php. If the browser look like the image below.

Writers:Asim Kumar

He is studying electrical engineering at. Trickbd.com.bd and supranational blog he writes about technology, including electronics. Currently he is working tiutohoste as well as education.

Comments

comments

About the author

Toriqul Islam Tusher

বলার মত কিছু নাই!

Leave a Comment