Guest hauntmisery Posted January 10, 2007 Share Posted January 10, 2007 How can i template if statments like smart dose example. [startif] HTML OR CODE HERE [/endif] Link to comment https://forums.phpfreaks.com/topic/33623-how-to-template-if-staments/ Share on other sites More sharing options...
.josh Posted January 10, 2007 Share Posted January 10, 2007 Can you be more specific? What is this "smart dose" that which you speak of? Are you asking how to do an if statement?[code=php:0]if (condition) { // condition is true} else { // condition is false}[/code] Link to comment https://forums.phpfreaks.com/topic/33623-how-to-template-if-staments/#findComment-157542 Share on other sites More sharing options...
Guest hauntmisery Posted January 10, 2007 Share Posted January 10, 2007 i put it plain as day. Link to comment https://forums.phpfreaks.com/topic/33623-how-to-template-if-staments/#findComment-157562 Share on other sites More sharing options...
emehrkay Posted January 10, 2007 Share Posted January 10, 2007 [quote author=hauntmisery link=topic=121811.msg501542#msg501542 date=1168456486]i put it plain as day.[/quote]o'rly? i still dont understand Link to comment https://forums.phpfreaks.com/topic/33623-how-to-template-if-staments/#findComment-157568 Share on other sites More sharing options...
redbullmarky Posted January 10, 2007 Share Posted January 10, 2007 [code]<? if ($something == 1): ?><p>Hello!</p><? endif; ?>[/code]dude, if someone doesnt get the question and asks you to clarify, then "i put it plain as day" is not the right response, when you're seeking help... Link to comment https://forums.phpfreaks.com/topic/33623-how-to-template-if-staments/#findComment-157576 Share on other sites More sharing options...
Guest hauntmisery Posted January 10, 2007 Share Posted January 10, 2007 how can i template out if statements... how can i makeif (condition) {}[if()] [/if]like smarty template engine dose. Link to comment https://forums.phpfreaks.com/topic/33623-how-to-template-if-staments/#findComment-157592 Share on other sites More sharing options...
redbullmarky Posted January 10, 2007 Share Posted January 10, 2007 download smarty and use that? Link to comment https://forums.phpfreaks.com/topic/33623-how-to-template-if-staments/#findComment-157603 Share on other sites More sharing options...
Guest hauntmisery Posted January 10, 2007 Share Posted January 10, 2007 want to make my own... Link to comment https://forums.phpfreaks.com/topic/33623-how-to-template-if-staments/#findComment-157604 Share on other sites More sharing options...
redbullmarky Posted January 10, 2007 Share Posted January 10, 2007 then maybe you'd be kind enough to elaborate a bit more, because to be honest, if you're not even sure where to start or not willing to post some code of where you've gotten up til now, you're probably not ready to replicate smarty anyway. Link to comment https://forums.phpfreaks.com/topic/33623-how-to-template-if-staments/#findComment-157612 Share on other sites More sharing options...
Guest hauntmisery Posted January 10, 2007 Share Posted January 10, 2007 you dont know what I'm capable of doing. http://www.php-editors.com/pear_manual/package.html.html-template-flexy.tag.if.html Link to comment https://forums.phpfreaks.com/topic/33623-how-to-template-if-staments/#findComment-157615 Share on other sites More sharing options...
Asheeown Posted January 10, 2007 Share Posted January 10, 2007 Haunt we don't care what your capable of doing we care if your going to be a jerk to someone who is trying to help you...plus if you want to do something on your own dont ask someone else Link to comment https://forums.phpfreaks.com/topic/33623-how-to-template-if-staments/#findComment-157616 Share on other sites More sharing options...
Guest hauntmisery Posted January 10, 2007 Share Posted January 10, 2007 i aint trying to be a jerk.. im just putting what i mean plain as day and yall are like what do you mean... Link to comment https://forums.phpfreaks.com/topic/33623-how-to-template-if-staments/#findComment-157619 Share on other sites More sharing options...
Asheeown Posted January 10, 2007 Share Posted January 10, 2007 No it's actually not plain as day elaborate, explain in detail not just[quote]How can i template if statments like smart dose example.[startif] HTML OR CODE HERE [/endif][/quote] Link to comment https://forums.phpfreaks.com/topic/33623-how-to-template-if-staments/#findComment-157621 Share on other sites More sharing options...
Guest hauntmisery Posted January 10, 2007 Share Posted January 10, 2007 can a mod just close this.. Link to comment https://forums.phpfreaks.com/topic/33623-how-to-template-if-staments/#findComment-157622 Share on other sites More sharing options...
.josh Posted January 10, 2007 Share Posted January 10, 2007 Finally, something you have said that actually makes sense.. Link to comment https://forums.phpfreaks.com/topic/33623-how-to-template-if-staments/#findComment-157623 Share on other sites More sharing options...
Recommended Posts