Welcome Guest, Not a member yet? Register   Sign In
can't get basic tutorial to work
#1

[eluser]lucoweb[/eluser]
hey there,

I'm trying to wrap my mind around the Tutorial − Static pages but I can't get it to work.

I think it's because there's an IF statement:
Code:
if ( ! file_exists('application/views/pages/'.$page.'.php'))
that always returns TRUE because the tutorial never asked me to create a file there in the first place!

also please note that I copied the code word for word. am I missing something? any help is appreciated.


cheers,
Luciano


Messages In This Thread
can't get basic tutorial to work - by El Forum - 01-31-2013, 07:47 AM
can't get basic tutorial to work - by El Forum - 01-31-2013, 06:25 PM
can't get basic tutorial to work - by El Forum - 02-01-2013, 04:23 AM
can't get basic tutorial to work - by El Forum - 02-01-2013, 07:52 AM
can't get basic tutorial to work - by El Forum - 02-01-2013, 12:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB