Custom PHP in Frog
|
79 posts
|
I cant get this to work in Frog, using in a page or a snippet, I get this error:
Anyone know why? I am trying to read from database(a different table)
|
|
79 posts
|
PS How did you get that bc. to work i can NEVER get the code views to work with textile I try it a 100 different ways :( |
|
79 posts
|
I guess it gets tricky when Id like to either include a file from the eval’d code(page/snippet), or try to do some mysql from the eval’d code, anyone know! |
|
1493 posts
|
Practice. ;) Actually, the trick is to make sure you have a blank line before you use Textile’s “nn.” type paragraph markers. You can also have a look at the examples in the Textile Reference Manual, or edit that topic post and see what the markup looks like now. Hope you get some PHP help, btw! ;) |
|
651 posts
|
You forgot to close the line above the while loop:
should be:
Notice the additional ‘;’ |
|
79 posts
|
Hey that works, goodness i looked through it like 4 times and couldn’t find a missing ; haha! Man thanks frog can do anything :) |