PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
NewfieBilko
Forum Contributor
Posts: 189 Joined: Sun Jun 06, 2004 6:45 pm
Location: Newfoundland
Contact:
Post
by NewfieBilko » Mon Jun 07, 2004 12:21 pm
ahhh i see!!
so setting the delimiter to <!--- would not be a good thing because then it will think to use php mode under this delimiter?
launchcode
Forum Contributor
Posts: 401 Joined: Tue May 11, 2004 7:32 pm
Location: UK
Contact:
Post
by launchcode » Mon Jun 07, 2004 5:26 pm
Indeed.
NewfieBilko
Forum Contributor
Posts: 189 Joined: Sun Jun 06, 2004 6:45 pm
Location: Newfoundland
Contact:
Post
by NewfieBilko » Tue Jun 08, 2004 6:13 am
BTW you saved my day yesterday, thanks.
So if i wanted to put in a java script that starts with an IF, i will need to make sure the php sees it as java. How will I do this?
launchcode
Forum Contributor
Posts: 401 Joined: Tue May 11, 2004 7:32 pm
Location: UK
Contact:
Post
by launchcode » Tue Jun 08, 2004 6:39 am
All you need to do is change the Smarty delimeter to something else - up to you what. See the Crash Course for some examples. Maybe something like {Smarty} would be good?
NewfieBilko
Forum Contributor
Posts: 189 Joined: Sun Jun 06, 2004 6:45 pm
Location: Newfoundland
Contact:
Post
by NewfieBilko » Tue Jun 08, 2004 6:52 am
yea, i read it.. Is there anyway to make a limiter.. So that all code within <--whatever--> is intrepeted as NOT php?
Edit: a NOT limiter? lol
NewfieBilko
Forum Contributor
Posts: 189 Joined: Sun Jun 06, 2004 6:45 pm
Location: Newfoundland
Contact:
Post
by NewfieBilko » Tue Jun 08, 2004 8:18 am
lol i'll figure it out.. Thanks very much for your help. I'll be posting more here im sure lol