Question:

How ll i write scripts in php?

by  |  earlier

0 LIKES UnLike

How ll i write scripts in php?

 Tags:

   Report

3 ANSWERS


  1. Here's some help

    http://devzone.zend.com/node/view/id/627


  2. Get a PHP enabled server to test it on (you're on your own for that):

    Put the following into a file named index.php

    <html>

    <head>

    </head>

    <body>

    <?

    echo("Hello World");

    ?>

    </body>

    </html>

    Congratulations, you're writing a PHP script.

  3. PHP is nothing more than a text file with some code having a file name ending in .php.  You'll need to have server software to run the PHP files.  I recommend WampServer.  It is really easy to install and you can have your PHP code work using it.  It'll allow you to set a designated folder (probably 'www') that will be used to store your PHP files read by your browser like a web page.

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.