Wednesday, March 17, 2010

Example of PHP "Hello word"

Our first PHP script: hello.php

<html>
 <head>
  <title>PHP Test</title>
 </head>
 <body>
 <?php echo '<p>Hello World</p>'?>
 </body>
</html>

When developing locally this URL will be something like http://localhost/hello.php

<html>
 <head>
  <title>PHP Test</title>
 </head>
 <body>
 <p>Hello World</p>
 </body>
</html>
  

Action Method in Mvc

In this section, you will learn about the action method of controller class. All the public methods of a Controller class are called Act...