Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2004
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Where do I put this code?

    On the php script I am working with..the documentation says to place this code at the very top of my php page:

    require("r.php");

    I put it as the first line...above the <html> tags

    However it isn't working..and the code is being displayed on the page.

    Where exactly should I put this little snippet of code?

    thx

  • #2
    Regular Coder
    Join Date
    Aug 2004
    Location
    The US of A
    Posts
    767
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You need to put INSIDE PHP tags.

    <?php require_once 'r.php'; ?>


  •  

    Posting Permissions

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