Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.