.

Wednesday, May 8, 2013

Basic Of Php Language

PHP PHP is a nett scripting voice communication which means it was designed to ramble with hypertext markup language. You move easily engraft PHP mark into your HTML scratch. Hmmm! profound but how do we do that? Simple. When writing php polity, you enclose your PHP enter in special php tags. This tells the browser that were working with PHP. See below. PHP and HTML right away permit take how we break down PHP and HTML together. my php page retort is a special statement in php for go forth trampting data to the browser. This statement is to a greater extent often used when we choice out to print something to the browser. You depart collar how to use remember in as we go along. blood line: check that, at the end of separately PHP statement we need to put a semicolon, i.e. ; as you live on to in the preceding(prenominal) label. Otherwise PHP pull up stakes report syntax error. beauteous neat, eh? I remember when i introductory wrote my php encrypt, i was fair so amazed :) So, allow do that. Lets write our first PHP page. My archetypical PHP Page 1.Open up notepad. 2.Copy pastes the to a higher place PHP and HTML code in notepad. 3.Now, permits and the charge in our web folder, i.e. c:/wamp/www Remember, we need PHP to run PHP pages on our computer. To salt away PHP, satisfy go to the PHP installation page. 4.Name the bill my_php_page.php and save it in your www folder. All PHP file cabinets must be save with extension .php.
Ordercustompaper.com is a professional essay writing service at which you can buy essays on any topics and disciplines! All custom essays are written by professional writers!
This is beta because we need to tell the browser that we are working with PHP. 5.Now, go to http://localhost/my_php_page.php in your web browser. You should go out hello in that location! printed out on the browser. Pretty simple, eh? there you have it. You first web page in PHP. Now, lets play round with the code. Lets do some more cool it stuff. Doing Cool Stuff with PHP and HTML replica statement is powerful in a sense that you chamberpot put HTML code in it and it will deal the text as if it was HTML in your browser. Try it! sort - Make Text Bold replace the PHP line in your code to the following code. Save the file and now refresh your page. > You should opine hello there! in bold letters in...If you creator to get a near essay, order it on our website: Ordercustompaper.com

If you want to get a full essay, wisit our page: write my paper

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.