|
|
|
|
|
|
$link_id = mysql_connect("mysql-g19a.mysqldbserver.com","nextw8_nextw8","Ebd666!!");
if(!$link_id){
echo "Failed to connect to the database...";
exit;
}
mysql_select_db("nextw8_nextw8");
$result = mysql_query("SELECT * FROM portfolio ORDER by company", $link_id);
if(!$result){
echo "Database error...";
exit;
}
while($myarray = mysql_fetch_array($result)){
$path = "logos/".$myarray["logo"];
$size = getImageSize($path);;
$width = $size[0];
$height = $size[1];
?>
|
if($myarray["website"] != ''){
?>
|
}
else{
?>
}
?>
|
|
|
|
}
?>
|