Menu
Hi guys,
I’m trying to make my site database driven.
I have the pages content in a mysql database on my server.
But when I pull the content from the database and print it – the php source from that content shows up in the page source, hence not actually parsing any php.
I found you had to use eval() to get the php to parse, however, I tried that (by changing print to eval) and all it did was give me an error saying [b]unexpected ‘<‘ in /path/to/file(12) eval()’d code line 1
Did some googling but didn’t really know how what I was looking for.
There is a way to do this right?
Cheers,
hamstar