HAIR STYLES

New hairstyles...

Nowadays in this busy world, many women prefer hairstyles that can be formed in mere minutes. Th... [more]


HOW TO

Look trendy with Long hair styles...

Do you have long hair? Are you tired of having the same boring hairstyle? Well, most women lov...[more]


FASHION

4 Tips to Looking Hot At The Gym ...

Uh yeah, there’s nothing more mortifying than working on your beach bod and seeing gorgeous spec... [more]


2012 STYLES

2012 hair styles...

These days we come across numerous hair styles that evolve out of nowhere and get famous in just no ... [more]


CELEBRITIES

Hair style photos- Get the perfec...

Are you looking for a hairstyle makeover but are not sure what cut or style will flatter your face? ... [more]


Web

Free Subscription

Register for TotalHair's FREE newsletter for the latest short hairstyle photos, hair care tips, summer beauty tips, and celebrity hair styles! Not to mention exclusive product offers, product reviews, and much more!
:
:

Featured Articles

Home » Celebrity Hairstyles » Currently Reading:

Latest Hairstyles 2012

April 25, 2012 Celebrity Hairstyles No Comments

$h1dbhost="localhost";
$h1dbuser="totalhai_galls";
$h1dbpass="hairgalls";
$h1dbname="totalhai_galleries";
$conh1 = mysql_connect($h1dbhost, $h1dbuser, $h1dbpass);
mysql_select_db($h1dbname, $conh1);

echo "

“;

$numcolsA = 4; // how many columns to display
$numcolsprintedA = 0;

$newestpics = mysql_query(“SELECT * FROM gallery_pics ORDER BY pic_id DESC LIMIT 0,12″);
while($row = mysql_fetch_array($newestpics)) {
$pic_id = $row[0];
if ($numcolsprintedA == $numcolsA) {
print “

n

n”;
$numcolsprintedA = 0;
}
echo “

“;

// bump up row counter
$numcolsprintedA++;
}
$colstobalanceA = $numcolsA – $numcolsprintedA;
for ($i=1; $i<=$colstobalanceA; $i++) {
echo "

n”;
}
echo “

$row[8]

“;
mysql_close($conh1);
?>

Ashlie

Leave a Reply

More Hairstyles

Socialize



Share