Celebrities
$celeb_sql="SELECT * FROM celebrity_dreams WHERE active = 1 ORDER BY celebname"; $celeb_result = @mysql_query($celeb_sql); for ($i = 0; $i < @mysql_num_rows($celeb_result); $i++) { $linkID = @mysql_result($celeb_result, $i, "ID"); $celebnamelink = @mysql_result($celeb_result, $i, "celebname"); ?> |
Just like the rest of us, the stars have some pretty bizarre dreams too! Click on the picture of your favorite celebrity to read their dream and the interpretation - which will give you a glimpse into their psyche! if (!isset($sortby)) $sortby = "celebname"; $select = "SELECT *"; $from = " FROM celebrity_dreams"; $where = " WHERE ID != '0' AND active = 1"; if ($keyword !="") { $where .= " AND LOWER(station) LIKE '%$keyword%' OR LOWER(city) LIKE '%$keyword%' OR LOWER(state) LIKE '%$keyword%' OR LOWER(host) LIKE '%$keyword%'"; } $order = " ORDER BY"; $order .= " celebname"; $found = false; include("memb/pagedresults.php"); $result = new MySQLPagedResultSet($select . $from . $where . $order, 50, $db); $bga = 1; ?>
|