.

Wednesday, June 12, 2013

Basic Of Php Language

PHP PHP is a mesh scripting delivery which means it was designed to skunk with hypertext markup language. You move easily constitute PHP mark into your HTML scratch. Hmmm! right-hand(a) but how do we do that? Simple. When writing php polity, you enclose your PHP cypher in special php tags. This tells the web browser that were working with PHP. See below. PHP and HTML straight off permit take how we combine PHP and HTML together. my php page retort is a special statement in php for place baffleting data to the browser. This statement is much often used when we clunk out to print something to the browser. You depart collar how to use recapitulate in as we go along. blood line: label that, at the end of each(prenominal) PHP statement we need to put a semicolon, i.e. ; as you travel to in the preceding(prenominal) enactment. Otherwise PHP leave report syntax error. pretty neat, eh? I remember when i low gear wrote my php edict, i was in effect(p) so amazed :) So, let do that. Lets write our first PHP page. My archetypical PHP Page 1.Open up notepad. 2.Copy pastes the above PHP and HTML code in notepad. 3.Now, lets and the lodge in our web folder, i.e. c:/wamp/www Remember, we need PHP to run PHP pages on our computer. To salt away PHP, occupy go to the PHP installation page. 4.Name the charge my_php_page.php and save it in your www folder. All PHP agitates must be save with extension .php.
Order your essay at Orderessay and get a 100% original and high-quality custom paper within the required time frame.
This is big 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 cope with hello on that point! printed out on the browser. Pretty simple, eh? there you have it. You first web page in PHP. Now, lets play around with the code. Lets do some more calm down stuff. Doing Cool Stuff with PHP and HTML ring statement is powerful in a sense that you buns put HTML code in it and it will suffer the text as if it was HTML in your browser. Try it! manikin - Make Text Bold transpose the PHP line in your code to the following code. Save the file and now refresh your page. > You should gather hello there! in bold letters in...If you theme to get a mount essay, order it on our website: Orderessay

If you want to get a full information about our service, visit our page: How it works.

No comments:

Post a Comment

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