...

View Full Version : Where do I put this code?



Flite
07-06-2005, 07:40 PM
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

Kurashu
07-06-2005, 07:46 PM
You need to put INSIDE PHP tags.

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum