=$src_h) $return_val['height']=($max_w*$src_h)/$src_w; else $return_val['width']=($max_h*$src_w)/$src_h; } return $return_val; } ?> ToonWit.com - Welcome!
0) { $row = mysql_fetch_array($resource); $toon_id = $row['id']; $toon_today= $row['image']; $sql = "update cwit_toontoday set toon_id = toon_id+1 where id = '$toon_id'"; $resource=mysql_query($sql); } else { #$sql = "select * from cwit_toontoday where active='1' and active='1' order by rand() asc limit 0,1"; #$resource = mysql_query($sql); #$row = mysql_fetch_array($resource); #$toon_id = $row['id']; #$toon_today= $row['image']; #$sql = "update cwit_toontoday set toon_id = toon_id+1 where id = '$toon_id'"; #$resource=mysql_query($sql); $toon_today = 'noimage.jpg'; } ?>
' width="230" border="0">
 
' height="80" width="470" border="0">