Welcome Guest, Not a member yet? Register   Sign In
base_url() not being parsed (from HTML stored in SQL database)
#3

[eluser]cjones26[/eluser]
[quote author="Nick_MyShuitings" date="1283420763"]I'm interested to how that'll scale for you, it doesn't seem like the best way to work things out.... which is just me subtly asking you why you chose that method...

regardless I think this is what you're looking for:

http://php.net/manual/en/function.eval.php[/quote]

Thanks for the response Nick, I managed to find eval on Google but also determined that it's very unsafe. I thought this method would be a good idea but now I'm understanding it's not. Would you have any suggestions or references on better methodologies?

Maybe I could just store the text in the SQL database (thought this may not work as every page has a slightly different design in the content section)?

Thanks again!


Messages In This Thread
base_url() not being parsed (from HTML stored in SQL database) - by El Forum - 09-01-2010, 10:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB