Hi!!!
Basically, I want an interpreter written in PHP, to
parse a custom logic to my html templates,eg:
In php-code should be, eg:
if (isset($row[test_name])) :
echo "$row[test_name]<br><br>" # any html code here will be printed.
endif;
In my html parsed template should be, eg:
{if test_name} # btw: any mysql row will can tested here)
{test_name}<br><br>
{endif}
Then if test_name is set, test_name and all html between {if test_name} and {endif} will be printed else nothing will be printed included the own tags.
Any ideas or suggestions???
Kindest Regards,
marcoBR