Note that there are some explanatory texts on larger screens.

plurals
  1. POLink one page to another page of the content by using <a> tag in PHP
    primarykey
    data
    text
    <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://stackoverflow.com/questions/10256109/link-one-page-to-another-by-user-a-tag-in-php">Link one page to another by user &lt;a&gt; tag in PHP</a> </p> </blockquote> <p>I am making poster which have a pic of all the videos of another page when I click on one image it will redirect to other page which have video of same pic.How it can be done.</p> <p>Code of 1st page:</p> <pre><code> $rss=new SimpleXMLElement($crxml); $playlistitem=1; foreach($rss-&gt;channel-&gt;item as $post) { if($playlistitem&lt;=18) { echo'&lt;li&gt;'; $dc=$post-&gt;children('http://search.yahoo.com/mrss/'); echo '&lt;a href="./video/#tab'.$playlistitem.'"&gt;'; echo '&lt;img src="'.$dc-&gt;thumbnail-&gt;attributes()-&gt;url.'"&gt;'; echo '&lt;/a&gt;'; echo '&lt;span&gt;'.$post-&gt;title.'&lt;/span&gt;'; $playlistitem++; } } </code></pre> <p>Second page code:</p> <pre><code>echo '&lt;a name="tab'.$playlistitem.'"&gt;'; echo '&lt;li class="xthumb"&gt;'.$dc-&gt;thumbnail-&gt;attributes()-&gt;url.'&lt;/li&gt;'; echo '&lt;li class="xpreview"&gt;'.$dc-&gt;thumbnail-&gt;attributes()-&gt;url.'&lt;/li&gt;'; echo '&lt;/a&gt;'; echo '&lt;li class="xsources_mp4"&gt;'.$dc-&gt;content-&gt;attributes()-&gt;url.'&lt;/li&gt;'; $dc-&gt;content-&gt;attributes()-&gt;url=preg_replace('/.mp4/','.webm',$dc-&gt;content-&gt;attributes()-&gt;url); echo '&lt;li class="xsources_webm"&gt;'.$dc-&gt;content-&gt;attributes()-&gt;url.'&lt;/li&gt;'; echo '&lt;/ul&gt;'; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload