Monday, January 1, 2018

Using in PHP

Using PHP

The usage of PHP as collected by W3Techs as of May 2012. The most interesting portion of data here is the almost 78% of usage on all the surveyed websites. If you look at the methodology used in their surveys, you will see that they select the top 1 million sites (based on traffic) in the world. As is evident, PHP has a very broad adoption indeed!
         PHP is the simple matter of embed dynamic activity in the web. When you give the PHP extension. They have instant language to the direction to access the scripting language. The following the code of PHP programming:-



               The opening <?php tells the web server to allow the PHP program to interpret all the following code up to the ?> tag. Outside of this construct, everything is sent to the client as direct HTML.
            So the text Here's the latest news. is simply output to the browser; within the PHP tags, the built-in date function displays the current day of the week according to the server’s system time.
        They are output of the two parts in PHP PROGRAMMING LANGUAGE:-

       Today is sunday. Here the latest news 


PHP is a flexible language and some people prefer to place the PHP construct directly next code:- 

        Today is echo<? Php echo date ("l");.   ?>. Here the latest news 


There also other way formating and outputting information, which I’ll explain in the chapters on PHP.

 The point is that with PHP, web developers have a scripting language that, although not as fast as compiling your code in C or a similar language, is incredibly speedy and also integrates seamlessly with HTML markup.


Note :- 

If you intend to enter the PHP examples in this book to work along with me, you must remember to add <?php in front and ?> after them to ensure that the PHP interpreter processes them. To facilitate this, you may wish to prepare a file called example.php with those tags in place. Using PHP, you have unlimitedcontrol over your web server. Whether you need to modify HTML on the fly, process a credit card, add user details to a database, or fetch information from a third-party website, you can do it all from within the same PHP files in which the HTML itself resides. READ MORE

0 comments:

Please comment and follow this site blog inbox