
November 3rd, 2002, 11:03 PM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 22,309
Time spent in forums: < 1 sec
Reputation Power: 24
|
|
|
Template IF/THEN/ELSE help needed
I am working on a store engine that will be made GPL at http://gryphonstore.sourceforge.net/ when it's all done. Right now, I've spent almost two weeks just trying to figure out and fix the problems with the IF/THEN part of the template output.
I'm using preg_match_all, and preg_replace, and the match catches the IF/THEN and sends it to the evaluation function, but it refuses to replace the statement in the template when it outputs.
Anyone who is able to help, please let me know if you can catch anything or have any suggestions to fix this.
The function in question is:
http://store.dragonmagic.net/functions.make.inc.phps
I'm working on an alpha installer so that people can install what I have done so far without me needing to give away the database.
Thanks in advance for all those who try to help.
|