Cytat
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/accounts_v/vadimus/public_html/showcase2.php on line 36
<?php include ("includes/db.conf.php"); include ("includes/connect.inc.php"); $set=$_GET['set']; }else{ $set=1; } $set1=$set-1; $start=$set1*45; $next=$set+1; if(($rown-45)<$start){ $start=$rown-45; $next=1; } //echo mysql_error(); $tr=$tr+1; if($tr==1){ } if($rowpad['outin']=="in"){ echo "<td align='center' width='160' valign='top' ><a href='$site"."video/$rowpad[id]/$adr/'><img src='/thumbs/$rowpad[thumb]' boder='0' width='120px' height='90px'><br /><b>$rowpad[name]</b></a></td>"; }else{ echo "<td align='center' width='160' valign='top' ><a href='$site"."out.php?id=$rowpad[id]' target='outw'><img src='/thumbs/$rowpad[thumb]' boder='0' width='120px' height='90px'><br /><b>$rowpad[name]</b></a></td>"; } if($tr==3){ $tr=0; }; } echo "<tr><td colspan='3' align='center' width='480'><input type='image' src='$site"."templates/".$rowptem['template']."/images/morevideos.png' onclick='nextvids()' value='Click'></td></tr>"; ?>
Chyba coś nie tak z funkcją $suma, ale nie mam pojęcia o co kaman...