" ; mysql_connect('mysql1.hostek.com',$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query='SELECT ID, Name, defaultimage, portorder FROM portfolio_headers WHERE view = 1 ORDER BY portorder'; $result=mysql_query($query); $num=mysql_numrows($result); mysql_close(); $i=0; while ($i < $num) { $ID=mysql_result($result,$i,"ID"); $Name=mysql_result($result,$i,"Name"); $defaultimage=mysql_result($result,$i,"defaultimage"); $defaultimage = $defaultimage . "_s.jpg"; $imgurl= ""; echo "$imgurl" ; if ( $i == 2 ) { echo "" ; } if ( $i == 5 ) { echo "" ; } if ( $i == 8 ) { echo "" ; } if ( $i == 11 ) { echo "" ; } if ( $i == 14 ) { echo "" ; } if ( $i == 17 ) { echo "" ; } $i++; } echo "


Click on a portfolio name below image to reveal additional images.

$Name
" ; ?>
All photographic images on this site are Copyright © DL Nelson.
No image maybe used, reproduced, broadcast, or retransmitted in electonic, print
or any other media without express consent of the creator.