alwaysme Posted January 9, 2008 Share Posted January 9, 2008 i have a script i want to convert a small code of a tpl {section name=videos_mv loop=$videos_mv max=4} <a href="videos.php?id={$videos_mv[videos_mv].id}"><img height='75' width='100' src="{$videos_mv[videos_mv].picture}" class="thumbnail" alt="thumbnail" /></a> {/section} i want this to display in normal html...because when i place it in my site nothing take effect.... i dont want it in the tpl file i hope you understand Quote Link to comment https://forums.phpfreaks.com/topic/85257-can-help-me-convert-the-tpl/ Share on other sites More sharing options...
chronister Posted January 9, 2008 Share Posted January 9, 2008 Well nothing is going to show because you have a <a></a> section without anything in the middle, you created a link from whitespace... try putting something in the middle and see what happens there. Nate Quote Link to comment https://forums.phpfreaks.com/topic/85257-can-help-me-convert-the-tpl/#findComment-434941 Share on other sites More sharing options...
alwaysme Posted January 9, 2008 Author Share Posted January 9, 2008 what do u mean nothing in the middle? there is code in the middle "{section name=videos_mv loop=$videos_mv max=4} <a href="videos.php?id={$videos_mv[videos_mv].id}"><img height='75' width='100' src="{$videos_mv[videos_mv].picture}" class="thumbnail" alt="thumbnail" /></a> {/section}" this is available inside a tpl file and displays an output of 4 picture however i am going to use that code for an html page and not a tpl page... how can i make that code into html? should i surround it with <?p ?> transfer it in echo form...omg sorry if this is confuseing u Quote Link to comment https://forums.phpfreaks.com/topic/85257-can-help-me-convert-the-tpl/#findComment-435017 Share on other sites More sharing options...
chronister Posted January 9, 2008 Share Posted January 9, 2008 ahhhhh... sorry did not see that. I will have to come back to this post in a bit... time to get off work Long day. Quote Link to comment https://forums.phpfreaks.com/topic/85257-can-help-me-convert-the-tpl/#findComment-435037 Share on other sites More sharing options...
alwaysme Posted January 10, 2008 Author Share Posted January 10, 2008 its ok i hope some can assist me while your work away.. Quote Link to comment https://forums.phpfreaks.com/topic/85257-can-help-me-convert-the-tpl/#findComment-435103 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.