= '$todaydate' and `id` > '1' ORDER BY `startdate` ASC LIMIT 0,1"; $result = mysql_query($sql) or die('Error, Query Failed ' . mysql_error()); if(mysql_num_rows($result)==1){ while($row = mysql_fetch_array($result)){ $id = $row['id']; $startdata = $row['startdate']; } $sql1 = "SELECT * FROM `orkut_ind_clipart` WHERE `startdate` >= '$startdata' and `id` = '$id' ORDER BY `startdate` ASC LIMIT 0,1"; $result1 = mysql_query($sql1) or die('Error, Query Failed1 ' . mysql_error()); while($row1 = mysql_fetch_array($result1)){ $ev1 = $row1['event1']; $ev2 = $row1['event2']; $ev3 = $row1['event3']; $ev4 = $row1['event4']; } }else{ $sqlcat = "SELECT * FROM `orkut_ind_clipart` WHERE `id`='1'"; $resultcat = mysql_query($sqlcat) or die('Error, query failed ' . mysql_error()); while($rowi = mysql_fetch_array($resultcat)){ $ev1 = $rowi['event1']; $ev2 = $rowi['event2']; $ev3 = $rowi['event3']; $ev4 = $rowi['event4']; } } ?>
 Wonder Cliparts offers free Orkut Graphics and Orkut Comments and Clipart.
 
Featured Orkut Graphics
 
<?=$ev1;?> Orkut Graphics and Cliparts

Graphics

<?=$ev2;?> Orkut Graphics and Comments

Graphics

<?=$ev3;?> Orkut Graphics and Comments

Graphics




  Orkut Graphics & Comments

".$rowcat[cat_name]." ".Graphics.""; //$cats = substr($cats, 0, strlen($cats)-2); //echo $cats.""; ?>


 

  Holiday Graphics

".$rowcats[sub_cat_name]." ".Graphics.""; //} //$catss = substr($catss, 0, strlen($catss)-2); //echo "".$catss.""; ?>