www.webdeveloper.com
Results 1 to 2 of 2

Thread: include a php file

  1. #1
    Join Date
    Apr 2005
    Posts
    210

    Talking include a php file

    in test.php
    <?php require_once("help.php"); ?>

    in help.php

    Format 1:
    Code:
    class Help
    {
          ...
    }
    Format 2:
    Code:
    <?php
    class Help
    {
          ...
    }
    ?>
    Format 2 has <?php ... ?>

    Which format is correct?

    Thanks.

    .

  2. #2
    Join Date
    Jan 2007
    Location
    Wisconsin
    Posts
    2,120
    2nd.
    Jon Wire

    thepointless.com | rounded corner generator

    I agree with Apple. Flash is just terrible.

    Use CODE tags!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles