Subscribe to 33 rockers
Freebies
Calendar
Sponsors
Download the new Nine Inch Nails for free
I am glad to see some bands are thinking out of the box. NIN and a few other bands have decided to let fans download their music for free. Big Head Todd did it back in December - but they just gave away the MP3s. Nine Inch Nails let’s you download their new album in 6 different flavors…
- high-quality MP3s (87 mb)
- FLAC lossless (259 mb)
- FLAC high definition 24/96 (942 mb)
- M4A apple lossless (263 mb)
- high definition WAVE 24/96 (1.5 gb)
All you have to to is give em your email address to send you the link. 100% free and legal tunes, “all files are 100% DRM-free.” What are you waiting for, download the free NIN album now. Oh, and have your torrent client ready. Most of the downloads (except the MP3s) are by torrent.
PHP - Pagination With PEAR and MySQL
We’ve all come across pagination, from using google to browsing amazon you’ll have seen pagination before. It’s the numbered pages at the bottom of a given page to paginate the results into multiple pages.
Okay so the usual way of paginating mysql result sets within php involves code that looks something like this:
$total_pages = ceil($total_records / $products_per_page);
for($i = 1; $i < = $total_pages; $i++){
echo "<a href='mypage.php?page=" . $i . "'>" . $i . "";
}
if($_GET['page'] >= 1){
$current_page = $_GET['page'];
} else {
$current_page = 1;
}
$offset = ($current_page - 1) * $products_per_page;
$sql = "SELECT * FROM table_name ";
$sql .= "LIMIT " . $offset . "," . $products_per_page;
While this is fine for quick hack job scripts. We as programmers have access to a solid framework in the name of PEAR. Within PEAR a package called Pager can help us enormously.
Paginating with PEAR […]
Can designers now ignore what a site looks like in IE6?
Can someone explain to me why a designer thinks that he can just ignore what a website looks like in Internet Explorer? Hey - if you want to boycott IE on your personal site, more power to you. But the reality is that IE6 exists and it doesn’t support PNGs and a bunch of other stuff that would be helpful.
It has always been a challenge to design for multiple browsers, especially if you have let go of evil table layouts. With the addition of IE7, we have some additional challenges. But the reality is that IE6 will be around for a while. Can we expect all of our clients and their site’s viewers to upgrade or buy a mac or switch to Firefox? I think not - I still have clients use AOL and still have no idea that there is a web outside of AOL.
Seriously - how can a site that looks like this in IE6 end up on cssmania…
[…]
BBPress theme Crystal : updated
There has been alot of interest in the BBPress theme, Crystal - so I went ahead and improved-slash-updated it for the current version of BBPress, “Desmond” version 0.8. I fixed the issues with cross-browser compatibility and the code now validates. And no more bugs (that I can see).
You can view the demo here and download the updated code here.
