Thread: image error
View Single Post
  #1  
Old 8th June 2009, 07:41
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default image error
PHP Code:
if($page $pages $cat) {
                        
$next "<b><a href=\"torrents.php?page=".($page+1)."&cat=".$cat."\"<img src=\"images/next.png\"</a></b>";
                } elseif(
$page $pages ) {
                        
$next "<b><a href=\"torrents.php?page=".($page+1).$sort1."\"<img src=\"images/next.png\"</a></b>";
                        
                }else{
                        
$next "<img src=\"images/next.png\>";
                }
                if(
$page $cat) { 
this shows image ass nex button either >>>>
but this gives error
PHP Code:
if($page $cat) {
                        
$prev "<b><a href=\"torrents.php?page=".($page+1)."&cat=".$cat."\"<img src=\"images/back.png\"</a></b>";
                } elseif(
$page 1) {
                        
$prev "<b><a href=\"torrents.php?page=".($page+1).$sort1."\"<img src=\"images/back.png\"</a></b>";
                        
                }else{
                        
$prev "<img src=\"images/back.png\>";
                } 
same code but error !! hove fix
when i click wiew image i get 404 and in url /images/back.png\></p></td><td align=
Reply With Quote