Continued from connect database to html
hi,
I wanna add a web page my coder gave me a code and told me upload in the include folder after making changes… can u tell me where to add the content
<?php
$site_setting=mysql_fetch_array(mysql_query("select * from zw_websetting"));
$city_limit=$site_setting['home_city_limit'];
$city_select=mysql_query("select * from city where con_id='$site_setting[defaultcountry]' and show_hm_page='Yes' order by cit_name limit 0,$city_limit")or die(mysql_error());
$pageff=mysql_query("select * from page where position='footer' or position='both' and status='active' order by sort_num");
$builder_plans=mysql_query("select * from plans where type='builder' order by rand() LIMIT 0,2");
$agent_plans=mysql_query("select * from plans where type='agent' order by rand() LIMIT 0,2");
$individual_plans=mysql_query("select * from plans where type='individual' order by rand() LIMIT 0,2");
?>
<div id="zee-footer">
<div class="footer-texts">
<ul class="realestateindia">
<li><h1>Real Estate In India</h1></li>
<?php
while($fetch_city=mysql_fetch_array($city_select))
{
echo "<li><a href='city-properties-".$fetch_city['cit_id']."-".urlconvert('residential').'-'.urlconvert('sale').".html'>$fetch_city[cit_name]</a></li>"; ?>
<?php
}
?>
</ul>
<ul class="realestateindia">
<li><h1>Propertys Links</h1></li>
<li><a href="residential_properties-residential-residential.html">Residential Properties</a></li>
<li><a href="commercial_properties-commercial-commercial.html">Commercial Properties</a></li>
<li><a href="wanted.php">Wanted Properties</a></li>
</ul>
<ul class="realestateindia">
<li><h1>Buy Our Services</h1></li>
<li class="li_color"><strong>Builders</strong></li>
<?php
while($fetch_builder_plans=mysql_fetch_array($builder_plans))
{
?>
<li><a href="advertise.php"><?php echo $fetch_builder_plans['name'];?></a></li>
<?php
}
?>
<li class="li_color"><strong>Agent</strong></li>
<?php
while($fetch_agent_plans=mysql_fetch_array($agent_plans))
{
?>
<li><a href="advertise.php"><?php echo $fetch_agent_plans['name'];?></a></li>
<?php
}
?>
<li class="li_color"><strong>Individual</strong></li>
<?php
while($fetch_individual_plans=mysql_fetch_array($individual_plans))
{
?>
<li><a href="advertise.php"><?php echo $fetch_individual_plans['name'];?></a></li>
<?php
}
?>
</ul>
<ul class="realestateindia">
<li><h1>Company</h1></li>
<?php
while($page_fetchff=mysql_fetch_array($pageff))
{
echo "<li><a href='aboutcompany-".$page_fetchff[id]."-".urlconvert($page_fetchff[pagename]).".html' class='whitelinkp'>$page_fetchff[pagename]</a></li>";
}
?>
</ul>
<ul class="realestateindia">
<li><h1>Seller</h1></li>
<li><a href="sellproperty.php">Post Property</a></li>
<li><a href="advance_search.php">Search Buyer</a></li>
<li><a href="sellproperty.php">Advertise Property</a></li>
</ul>
<ul class="realestateindia">
<li><h1>Buyer</h1></li>
<li><a href="advance_search.php">Search Property</a></li>
<li><a href="buyproperty.php">Post your Requirement</a></li>
<li><a href="buyers_search.php">Builder</a></li>
<li><a href="news.php">Property News</a></li>
</ul>
<h2>All trademarks, logos and names are properties of their respective owners. All Rights Reserved. © Copyright <A href="<?php echo $rs0['poweredbylink']; ?>" class='whitelinkp' target=_blank><?php echo $rs0['poweredby']; ?></A></h2>
</div>
</div>