Jump to content

can help me convert the tpl?


alwaysme

Recommended Posts

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

 

Link to comment
https://forums.phpfreaks.com/topic/85257-can-help-me-convert-the-tpl/
Share on other sites

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.