Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Pages: [1]
Print
Topic: $page.html...  (Read 1210 times)
« on: January 27, 2005, 12:52:32 AM »
Senior Member
NOA_JOSH Offline
Senior Member
Member

View Profile WWW
***
Posts: 167



I was just reading some tutorial and either I did'nt understand it or somethin' but
I have this code:

Code:





And I can't create a page called $page.html... why not?
Report to moderator   Logged


 
« Reply #1 on: January 27, 2005, 01:55:03 AM »
CravenBW
Guest

What your trying to do with that little bit is pull in a variable $page. If you don't set this variable then your not going to get a return. If you use require_once('somepage.html') it would parse "somepage.html" into the page that is currently being displayed.
Report to moderator   Logged
 
Pages: [1]
Print
Jump to:  

Powered by SMF | SMF © 2006-2008, Simple Machines LLC