|
|
|
mysql_connect($dbHost,$username,$password);
@mysql_select_db($database_re) or die( "Unable to select database");
$queryfaq = "SELECT id, title FROM resource_articles WHERE category = 'faq'";
$query = "SELECT id, title, category FROM resource_articles WHERE category <> 'faq'";
$resultfaq = mysql_query($queryfaq);
$result = mysql_query($query);
$numfaq = mysql_numrows($resultfaq);
$num = mysql_numrows($result);
mysql_close();
$ifaq=0;
$i=0;
?>
while ($ifaq < $numfaq) {
$artId = mysql_result($resultfaq, $ifaq, "id");
$artTitle = mysql_result($resultfaq, $ifaq, "title");
?>
-
"> echo "$artTitle"?>
$ifaq++;}?>
|
while ($i < $num) {
$artId = mysql_result($result, $i, "id");
$artTitle = mysql_result($result, $i, "title");
$artCategory = mysql_result($result, $i, "category");
?>
if($artCategory == 'market_stats'){?>
Market Statistics
}else if($artCategory == 'buyers_n_sellers'){?>
Buyers & Sellers
}else if($artCategory == 'find_a_home'){?>
Find A Home
}else if($artCategory == 'relocation'){?>
Relocation
}else if($artCategory == 'Financing'){?>
Financing
}else if($artCategory == 'home_improvement'){?>
Home Inspection
}else if($artCategory == 'your_home_and_taxes'){?>
Your Home & Taxes
} ?>
"> echo "$artTitle"?>
$i++;
}?>
|
Home for Sale in Hyattsville, Md
Location, Location, Location!
Must See, Super Value! Spacious, Pampered 12 Rm, 3 Ba Brick Rambler on Cul de Sac
Home Office- Inlaw Suite lower level w/private entrance, Newly Renovated;
10 closets, hardwood/tile floors, deck, fenced back yard backed by 17 acres of trees
Walk to Univ. of Md., Federal Complexes, Metro, Shopping, Schools (Univ Park Elem)
Churches, Parks, Libraries
Call for Appointment, 301-518-9044
View property on-line at www.7100bridlepathlane.net
|
|
|
|
|
|
|
|