Michael,

I'm not sure why there are 2 <heads> in the HTML generated code. I just
pulled the HTML generated page code and noticed the same thing. But I don't
find it in my source code. I did a search for "head" in the document and
found nothing.

I looked at my include "connect-mysql.php" and there is no body or head
tags. But I will check other include statements.

This file was originally an HTML file created in Front page. I then
converted it to PHP and used echo statements. The reason I put "javascript"
at certain points is because I can NOT get javascript to work inside of PHP
code. If you can tell me how, by all means I'm listening!!! I might try
moving the java to its own files as well.

I'm about a 2 month month old PHP programmer, but I've put over 300 hours
into this project. (The home page is just a very small fraction of my
project).

Grant

On Thu, Apr 1, 2010 at 11:12 AM, Michael <m...@mikrosight.com> wrote:

>
>
> I'd bet that this page
>
> include "connect-mysql.php";
>
> contains it's own HEAD and BODY section with a title of "New Page 1"
>
>
> Grant wrote:
> > The page can be found at http://www.pollets.com (It is the home page).
> Below
> > I have copied and pasted the code. I have changed a few file names just
> > simply for privacy reasons... I have a few pieces of javascript
> > interspersed, and I wonder if that could cause the issue with not
> displaying
> > the title. My code all works fine..it's just this title...
> >
> > One other thing...I did have a "redirect" from index.htm to beta.php. I
> was
> > working on the beta.php for the home page and didn't want to edit my good
> > working copy. When I finished, I got rid of the index.htm by renaming it
> and
> > then renamed beta.php to index.php.
> >
> > <?php
> > session_start();
> > include "connect-mysql.php";
> >
> > echo "<html>
> >
> > <head></head>
> >
> >
> >
> >
> >
> > <body bgcolor='#99CCFF' topmargin='0' leftmargin='0' link='#FFFFFF'
> > vlink='#FFFFFF' background='
> > http://www.postlets.com/css/styles/sonoma/bg_body.gif';>";
> >
> > ?>
> >
> >
> >
> > <script type="text/javascript">
> >
> > _uacct = "UA-2751811-2";
> >
> > urchinTracker();
> >
> > </script>
> >
> >
> >
> > <!-- Begin LiveResponse Javascript Code -->
> >
> > <script language="javascript" src="
> >
> http://www.pollets.com/support/visitor/index.php?_m=support&_a=htmlcode&departmentid=0
> "></script
> >
> >
> > <!-- End LiveResponse Javascript Code -->
> >
> >
> >
> > <script language="JavaScript">
> >
> > <!--
> >
> > function addBookmark(title,url) {
> >
> > if (window.sidebar) {
> >
> > window.sidebar.addPanel(title, url,"");
> >
> > } else if( document.all ) {
> >
> > window.external.AddFavorite( url, title);
> >
> > } else if( window.opera && window.print ) {
> >
> > return true;
> >
> > }
> >
> > }
> >
> > </script>
> >
> >
> >
> >
> >
> > <script language="JavaScript">
> >
> > <!-- Begin
> >
> > function popUp(URL) {
> >
> > day = new Date();
> >
> > id = day.getTime();
> >
> > eval("page" + id + " = window.open(URL, '" + id + "',
> >
> 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=800,height=1000,left
> > = 340,top = 100');");
> >
> > }
> >
> > </script>
> >
> >
> >
> > <script language="JavaScript">
> >
> > <!-- Begin
> >
> > function mappopUp(URL) {
> >
> > day = new Date();
> >
> > id = day.getTime();
> >
> > eval("page" + id + " = window.open(URL, '" + id + "',
> >
> 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=390,left
> > = 340,top = 150');");
> >
> > }
> >
> > </script>
> >
> >
> >
> > <SCRIPT language="JavaScript">
> >
> > function popup_window(url,w,h) {
> >
> > var width=w;
> >
> > var height=h;
> >
> > var from_top=50;
> >
> > var from_left=50;
> >
> > var toolbar='no';
> >
> > var location='no';
> >
> > var directories='no';
> >
> > var status='no';
> >
> > var menubar='no';
> >
> > var scrollbars='yes';
> >
> > var resizable='yes';
> >
> > var
> atts='width='+width+'show,height='+height+',top='+from_top+',screenY=';
> > atts+=
> > from_top+',left='+from_left+',screenX='+from_left+',toolbar='+toolbar;
> >
> atts+=',location='+location+',directories='+directories+',status='+status;
> >
> atts+=',menubar='+menubar+',scrollbars='+scrollbars+',resizable='+resizable;
> > window.open(url,'win_name',atts);
> >
> > }
> >
> > </SCRIPT>
> >
> >
> >
> >
> >
> > <?php
> >
> > echo "<title>The Pollet Group - Your Austin Rental Specialist
> > 512.650.4247</title>";
> >
> >
> >
> > echo "<table border='0' width='100%' cellspacing='1' height='1'>
> >
> > <tr>
> >
> > <td width='64%' colspan='3' height='63' valign='top'>
> >
> > <p align='center'><b><font face='Constantia'><font size='6'
> > color='#000080'>The
> >
> > Pollet Group</font><u><font color='#FFFF28' face='Verdana'
> > size='4'><br>
> >
> > </font></u>&quot;Austin Rental
> >
> > Specialists&quot;<br>
> >
> > 512.650.4247
> >
> > </font></b>
> >
> > </td>
> >
> > <td width='36%' rowspan='4' height='1' valign='top'>";
> >
> >
> >
> > ?>
> >
> > <script src="
> > http://widgets.twimg.com/j/2/widget.js";></script><font<
> http://widgets.twimg.com/j/2/widget.js%22%3E%3C/script%3E%3Cfont>color="#000000"><script>
>
>
> >
> >
> >
> > new TWTR.Widget({
> >
> >
> >
> > version: 2,
> >
> > type: 'profile',
> >
> > rpp: 4,
> >
> > interval: 6000,
> >
> > width: 350,
> >
> > height: 100,
> >
> > theme: {
> >
> > shell: {
> >
> > background: '#2424b3',
> >
> > color: '#faee12'
> >
> > },
> >
> >
> >
> > tweets: {
> >
> > background: '#f7f4b2',
> >
> > color: '#0a0a0a',
> >
> > links: '#244d69'
> >
> > }
> >
> >
> >
> > },
> >
> >
> >
> > features: {
> >
> >
> >
> > scrollbar: true,
> >
> > loop: false,
> >
> > live: false,
> >
> > hashtags: true,
> >
> > timestamp: true,
> >
> > avatars: true,
> >
> > behavior: 'all'
> >
> > }
> >
> >
> >
> > }).render().setUser('ThePolletGroup').start();
> >
> >
> >
> > </script>
> >
> >
> >
> >
> >
> > <?php
> >
> > $random = rand(1, 3);
> >
> >
> >
> > $query = "SELECT * from tblTestimonials WHERE testimonialID='$random'";
> >
> > $result = mysql_query($query);
> >
> > $totalrows = mysql_num_rows($result);
> >
> >
> >
> > $rowID = 0;
> >
> > $testimonial = mysql_result($result, $rowID, "testimonial");
> >
> >
> >
> >
> >
> > echo "<table border='0' width='100%'>
> >
> >
> >
> > <td width='23%' align='center' valign='top'>
> >
> >
> >
> > <p align='center'><a href='http://www.pollets.com/blog'><b><font
> > face='Verdana' size='1' color='#008000'>Check
> >
> > out&nbsp;<br>
> >
> > our Blog!&nbsp;</font></b></a>
> >
> >
> >
> > <p align='center'><u><font color='#000000' face='Verdana' size='1'><a
> > href='http://www.pollets.com/blog'><img border='0' src='
> > http://www.pollets.com/blogspot-icon.jpg' width='30'
> > height='30'></a></font></u>
> >
> > </td>
> >
> > <td width='23%' align='center' valign='top'>
> >
> > <p align='center'><a href='http://www.twitter.com/thepolletgroup'
> > target='_blank'><font face='Verdana' size='1' color='#0000AE'><b>Join
> >
> > us on Twitter!</b></font><font color='#000000' face='Constantia'
> > size='2'><br>
> >
> > </font></a>
> >
> >
> >
> > <u><font color='#000000' face='Constantia' size='2'><br>
> >
> > <a href='http://www.twitter.com/thepolletgroup'>
> >
> > <img border='0' src='http://www.pollets.com/twitter-icon.jpg'
> > width='14' height='16'>
> >
> > </a>
> >
> > </font></u>
> >
> > </td>
> >
> > <td width='30%' align='center' valign='top'>
> >
> > <p align='center'>&nbsp;
> >
> > </font>
> >
> > <b><u><a href='http://www.myaustinapartments.com/chat'
> > target='windowName'
> >
> onclick='window.open(this.href,this.target,'width=300,height=300,toolbar=no');
> >
> > return false;'><font size='1' face='Verdana'
> > color='#FF5E46'>Talk</font><font color='#FF5E46'><font size='1'
> > face='Verdana'>
> >
> > LIVE<br>
> >
> > &nbsp;</font></font><font color='#000000' face='Constantia'
> > size='2'><br>
> >
> > </font></a></u></b><font color='#000000'><u><font color='#000000'
> > face='Constantia' size='2'><a href='
> http://www.myaustinapartments.com/chat'
> > target='windowName'><img border='0' src='
> > http://www.pollets.com/staffonline.jpg' width='24'
> > height='25'></a></font></u>
> >
> > </td>
> >
> > <td width='20%' align='center' valign='top'>
> >
> > <b><a href='
> >
> http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=pollet+group&amp;sll=30.23979,-97.815056&amp;sspn=0.120125,0.220757&amp;ie=UTF8&amp;hq=pollet+group&amp;hnear=&amp;z=12&amp;iwloc=A<http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=pollet+group&sll=30.23979,-97.815056&sspn=0.120125,0.220757&ie=UTF8&hq=pollet+group&hnear=&z=12&iwloc=A>
> '
> > target='_blank'><font face='Verdana' size='1' color='#000080'>Google<br>
> >
> > Reviews</font></a><font color='#000000'><font face='Verdana'
> > size='1' color='#000000'><br>
> >
> > </font>
> >
> > </font>
> >
> > </b><font color='#000000'><font face='Verdana' size='1'
> > color='#000000'><br>
> >
> > <a href='
> >
> http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=pollet+group&amp;sll=30.23979,-97.815056&amp;sspn=0.120125,0.220757&amp;ie=UTF8&amp;hq=pollet+group&amp;hnear=&amp;z=12&amp;iwloc=A<http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=pollet+group&sll=30.23979,-97.815056&sspn=0.120125,0.220757&ie=UTF8&hq=pollet+group&hnear=&z=12&iwloc=A>
> '
> > target='_blank'><img border='0' src='
> http://www.pollets.com/book-icon.jpg'
> > width='30' height='30'></a></font>
> >
> > </font>
> >
> > </td>
> >
> > </tr>
> >
> > <tr>
> >
> >
> >
> >
> >
> > <td width='100%' align='center' colspan='4'>
> >
> >
> >
> >
> >
> >
> >
> > <br>
> >
> > <img border='0' src='http://www.pollets.com/magnifying-glass.jpg'
> > width='61' height='46'>
> >
> > <br></br>";
> >
> > ?>
> >
> >
> >
> >
> >
> > <a href="javascript: popup_window('
> > http://www.pollets.com/request/index.php',800,600)"><font face="Verdana"
> > size='2'>Submit Search Request</font></a>
> >
> >
> >
> > <?php
> >
> > echo "</b><br></br> <font face='Verdana' size='1'><b>**New Feature!
> > Create account with<br></br>
> >
> > The Pollet Group**</b></font><br></br>
> >
> > <a href='http://www.pollets.com/AustinRentals/clients/login.php'><font
> > face='Verdana' color='$000000' size='1'><u>
> >
> > Login</u></font>
> >
> > <br></br>
> >
> > <a href='http://www.pollets.com/AustinRentals/clients/addNewClient.php
> '><font
> > face='Verdana'
> >
> > color='$000000' size='1'><u>Create New Account</u></a></font></br>
> >
> >
> >
> >
> >
> > </td>
> >
> > </tr>
> >
> > </table>
> >
> > </td>
> >
> >
> >
> >
> >
> >
> >
> > </tr>
> >
> > <tr>
> >
> > <td width='64%' colspan='3' height='18' valign='top'>
> >
> > <br>
> >
> > <font face='Verdana' size='1'>
> >
> > <a href='http://www.pollets.com'><u><font
> > color='#000000'>Home</font></u></a>
> >
> > | <a href='http://www.pollets.com/lease-process.htm'><font
> > color='#000000'><u>The
> >
> > Lease Process (A to Z)</u></font></a><font color='#000000'><a href='
> > http://www.pollets.com/lease-process.htm'><u>
> >
> > </u></a></font>
> >
> > | <a href='http://www.pollets.com/checklist.htm'><font
> > color='#000000'><u>Rental
> >
> > Checklist</u></font></a><a
> > href='http://www.pollets.com/about-us.htm'><font
> > face='Verdana' size='1' color='#000000'>
> >
> > </font></a>| <a href='http://www.pollets.com/about-us.htm'><font
> > size='1' color='#000000'><u>About
> >
> > Us/Philosophy</u></font>
> >
> > </a>
> >
> > |
> >
> > <a href='
> > http://www.pollets.com/AustinRentalHouses/rental-house-application.pdf'>
> >
> > <font face='Verdana' size='1' color='#000000'>
> >
> > <u>
> >
> > Download Rental Application</u></font></a> <font face='Verdana'
> > color='#000000' size='1'>|</font>
> >
> > <a href='http://www.pollets.com/schools/schools.htm'><font
> > color='#000000' face='Verdana'><u>Locate Assigned
> >
> > School</u></font></a>
> >
> > | <a href='https://www.annualcreditreport.com/cra/index.jsp'
> > target='_blank'><font face='Verdana' size='1' color='#000000'><u>Free
> >
> > Credit Report</u></font></a></font> <font color='#000000'
> > face='Verdana' size='1'>|</font>
> >
> > <font face='Verdana' size='1'>";
> >
> > ?>
> >
> >
> >
> > <a
> >
> href="javascript:if(document.all)window.external.AddFavorite(location.href,document.title);else%20if(window.sidebar)window.sidebar.addPanel(document.title,location.href,'');"><font
> > face="Verdana" color="#000000" size="1"><u>Bookmark this
> page</u></font></a>
> >
> >
> >
> > <?php
> >
> >
> >
> > echo "|&nbsp; <a href='
> >
> http://www.pollets.com/AustinRentalHouses/AustinRentalHousesMarketingPlan.htm
> '><font
> > color='#000000'><u>Listing
> >
> > Rental Services</u></a> | <a href='
> > http://www.pollets.com/AustinRentals/clients/login.php'><font
> > color='$000000'><u>
> >
> > Login</u></font></a></font><hr>
> >
> > </td>
> >
> > </tr>
> >
> > <tr>
> >
> > <td width='28%' height='1' valign='top' rowspan='2'>
> >
> >
> >
> > <font color='#000000'>
> >
> >
> >
> > <p align='center'><font face='Verdana' size='2'>
> >
> > <i><b><font color='#0000AE'>100% Free Locating
> >
> > for</font> </b></i>
> >
> > Houses, Duplexes, Condos, Townhomes, Efficiencies, Garage Apartments,
> >
> > Triplexes, Fourplexes, Apartments, and more!<b><i><br>
> >
> > <br>
> >
> > Servicing Tenants and Landlords</i>
> >
> > </b>
> >
> > </font>
> >
> > <p align='center'><b><font face='Constantia'
> > size='2'>Testimonial</font></b></font>
> >
> > </p>
> >
> > <p align='center'><font size='1'><i><font color='#0000AE'
> > face='Verdana'>$testimonial</font><font face='Verdana' size='1'><font
> > color='#0000AE'><span
> style='mso-spacerun:yes'>&nbsp;</span></font><b><font
> > face='Verdana' size='2' color='#000080'><br>
> >
> > </font></b></font></i></font>
> >
> > </p>
> >
> > <p align='center'>
> >
> > <b><a href='
> >
> http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=pollet+group&amp;sll=30.23979,-97.815056&amp;sspn=0.120125,0.220757&amp;ie=UTF8&amp;hq=pollet+group&amp;hnear=&amp;z=12&amp;iwloc=A<http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=pollet+group&sll=30.23979,-97.815056&sspn=0.120125,0.220757&ie=UTF8&hq=pollet+group&hnear=&z=12&iwloc=A>
> '
> > target='_blank'><font face='Verdana' size='1' color='#000080'>Google<br>
> >
> > Reviews</font></a><font face='Verdana' size='1'
> > color='#000000'><br>
> >
> > </font>
> >
> > </b><font face='Verdana' size='1' color='#000000'><br>
> >
> > <a href='
> >
> http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=pollet+group&amp;sll=30.23979,-97.815056&amp;sspn=0.120125,0.220757&amp;ie=UTF8&amp;hq=pollet+group&amp;hnear=&amp;z=12&amp;iwloc=A<http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=pollet+group&sll=30.23979,-97.815056&sspn=0.120125,0.220757&ie=UTF8&hq=pollet+group&hnear=&z=12&iwloc=A>
> '
> > target='_blank'><img border='0' src='
> http://www.pollets.com/book-icon.jpg'
> > width='30' height='30'></a></font>
> >
> > </p>
> >
> > </td>
> >
> > <td width='17%' height='118' valign='top'>
> >
> >
> >
> > <p align='center'>
> >
> >
> >
> > <font color='#000000'>
> >
> >
> >
> > <a href='http://www.pollets.com/rentals'><b><font face='Verdana'
> > size='1' color='#000080'>SEARCH</font></b><font face='Verdana' size='1'
> > color='#000080'>
> >
> > for&nbsp;<br>
> >
> > All Rentals NOW!&nbsp;<br>
> >
> > </font></a></font>
> >
> >
> >
> > <p align='center'>
> >
> >
> >
> > <font color='#000000'>
> >
> >
> >
> > <a href='http://www.pollets.com/rentals'><img border='0' src='
> > http://www.pollets.com/door.jpg' width='106' height='155'></a></font>
> >
> >
> >
> > <p align='center'>
> >
> >
> >
> > <font color='#000000' face='Verdana' size='1'>(Houses, Duplexes,<br>
> >
> > Condos, etc</font></td>
> >
> > <td width='19%' height='118' valign='top'>
> >
> > <p align='center'>
> >
> >
> >
> > <a href='http://www.myaustinapartments.com/search'><font
> > color='#000000'><b><font face='Verdana' size='1'
> > color='#000080'>SEARCH</font></b><font face='Verdana' size='1'
> > color='#000080'>
> >
> > for&nbsp;<br>
> >
> > </font></font><font face='Verdana' size='1' color='#000080'>Apartments
> >
> > Only</font><font color='#000000'><font face='Verdana' size='1'
> > color='#000080'><br>
> >
> > </font><br>
> >
> > <img border='0' src='http://www.pollets.com/search-apartments.jpg'
> > width='116' height='86'></font></a>
> >
> > <p align='center'>
> >
> >
> >
> > <font face='Constantia' size='2'><b>Specialized&nbsp;<br>
> >
> > Apartment Website</b><br>
> >
> > </font><a href='http://www.myaustinapartments.com'><u><font
> > color='#000000' face='Constantia' 
> > size='2'>www.MyAustinApartments.com<http://www.myaustinapartments.com/>
> > </font></u></a></td>
> >
> > </tr>
> >
> > <font color='#000000'>
> >
> > <tr>
> >
> > <td width='36%' height='61' valign='middle' colspan='2'>
> >
> >
> >
> > <p align='center'><font color='#000080' face='Verdana' size='1'>Nearly
> > 7,000 visitors use
> >
> > Pollets.com each year.
> >
> > </font>
> >
> > </font>
> >
> > </td>
> >
> > </tr>
> >
> > </table>";
> >
> >
> >
> >
> >
> > include "sessionVariables.php";
> >
> >
> >
> > if ($_GET['sortBySelection'] != "") {
> >
> >
> >
> > $sortBySelection = $_GET['sortBySelection'];
> >
> > }
> >
> > else { $sortBySelection = "area";}
> >
> >
> >
> > $query = "SELECT streetnumber, streetname, streetsuffix, unitNumber,
> city,
> > state, zip, bedrooms, bathrooms, halfBaths, living, dining, listPrice,
> sqft,
> > area, schooldistrict, community, securityDeposit, petDeposit, available,
> > applicationFee, minLease, maxLease, listedBy, description, directions,
> > schooldistrict, petPolicy, pictureDirectory, picture1, picture2,
> picture3,
> > picture4, picture5, picture6, picture7, picture8, picture9, MLSNumber,
> > areaDescription, url, marketedBy, marketedByEmail, marketedByTitle,
> notes,
> > modifiedByUser, modifiedTime, commissionType, commissionAmount,
> > displayOnHomePage FROM tblRentals WHERE MLSNumber !='' AND
> > displayOnHomePage='Y' ORDER BY $sortBySelection ASC";
> >
> > $result = mysql_query($query);
> >
> > $totalrows = mysql_num_rows($result);
> >
> >
> >
> > echo "Sort listings by: <a href='
> > http://www.pollets.com/beta.php?sortBySelection=area'><font
> style='Verdana'
> > size='3' color='#000000'><u>Area: </u></a> | ";
> >
> > echo "<a href='http://www.pollets.com/beta.php?sortBySelection=listPrice
> '><font
> > style='Verdana' size='3' color='#000000'><u>Price </u></a> | ";
> >
> > echo "<a href='http://www.pollets.com/beta.php?sortBySelection=bedrooms
> '><font
> > style='Verdana' size='3' color='#000000'><u>Bedrooms</u></a></font> | ";
> >
> > echo "<a href='http://www.pollets.com/beta.php?sortBySelection=sqft
> '><font
> > style='Verdana' size='3' color='#000000'><u>Sqft</u></a></font> (Lowest
> to
> > Highest Order/Alphabetical) ";
> >
> >
> >
> > echo "<br></br>$totalrows Property Listings::-------------NOTE: These are
> > simply featured listings.
> >
> > Please search rentals database for ALL rentals available in
> > Austin!<br></br>";
> >
> >
> >
> > $rowID = 0;
> >
> > while ($rowID < $totalrows) {
> >
> >
> >
> > // $type = mysql_result($result, $rowID, "type");
> >
> > // $address = mysql_result($result, $rowID, "address");
> >
> > $streetnumber = mysql_result($result, $rowID, "streetnumber");
> >
> > $streetname = mysql_result($result, $rowID, "streetname");
> >
> > $streetsuffix = mysql_result($result, $rowID, "streetsuffix");
> >
> > $unitNumber = mysql_result($result, $rowID, "unitNumber");
> >
> > $fulladdress = "$streetnumber $streetname $streetsuffix $unitNumber";
> >
> > $city = mysql_result($result, $rowID, "city");
> >
> > $state = mysql_result($result, $rowID, "state");
> >
> > $zip = mysql_result($result, $rowID, "zip");
> >
> > $bedrooms = mysql_result($result, $rowID, "bedrooms");
> >
> > $bathrooms = mysql_result($result, $rowID, "bathrooms");
> >
> > $halfBaths = mysql_result($result, $rowID, "halfBaths");
> >
> > $living = mysql_result($result, $rowID, "living");
> >
> > $dining = mysql_result($result, $rowID, "dining");
> >
> > $listPrice = mysql_result($result, $rowID, "listPrice");
> >
> > $sqft = mysql_result($result, $rowID, "sqft");
> >
> > $area = mysql_result($result, $rowID, "area");
> >
> > $community = mysql_result($result, $rowID, "community");
> >
> > $description = mysql_result($result, $rowID, "description");
> >
> > $schoolDistrict = mysql_result($result, $rowID, "schooldistrict");
> >
> > $directions = mysql_result($result, $rowID, "directions");
> >
> > $listedBy = mysql_result($result, $rowID, "listedBy");
> >
> > $securityDeposit = mysql_result($result, $rowID, "securityDeposit");
> >
> > $applicationFee = mysql_result($result, $rowID, "applicationFee");
> >
> > $minLease = mysql_result($result, $rowID, "minLease");
> >
> > $maxLease = mysql_result($result, $rowID, "maxLease");
> >
> > $available = mysql_result($result, $rowID, "available");
> >
> > $petDeposit = mysql_result($result, $rowID, "petDeposit");
> >
> > $petPolicy = mysql_result($result, $rowID, "petPolicy");
> >
> > $picture1 = mysql_result($result, $rowID, "picture1");
> >
> > $picture2 = mysql_result($result, $rowID, "picture2");
> >
> > $picture3 = mysql_result($result, $rowID, "picture3");
> >
> > $picture4 = mysql_result($result, $rowID, "picture4");
> >
> > $picture5 = mysql_result($result, $rowID, "picture5");
> >
> > $picture6 = mysql_result($result, $rowID, "picture6");
> >
> > $picture7 = mysql_result($result, $rowID, "picture7");
> >
> > $picture8 = mysql_result($result, $rowID, "picture8");
> >
> > $picture9 = mysql_result($result, $rowID, "picture9");
> >
> > $pictureDirectory = mysql_result($result, $rowID, "pictureDirectory");
> >
> > $MLSNumber = mysql_result($result, $rowID, "MLSNumber");
> >
> > $areaDescription = mysql_result($result, $rowID, "areaDescription");
> >
> > $marketedBy = mysql_result($result, $rowID, "marketedBy");
> >
> > $marketedByEmail = mysql_result($result, $rowID, "marketedByEmail");
> >
> > $marketedByTitle = mysql_result($result, $rowID, "marketedByTitle");
> >
> > $url = mysql_result($result, $rowID, "url");
> >
> > $notes = mysql_result($result, $rowID, "notes");
> >
> > $modifiedByUser = mysql_result($result, $rowID, "modifiedByUser");
> >
> > $modifiedTime = mysql_result($result, $rowID, "modifiedTime");
> >
> > $commissionType = mysql_result($result, $rowID, "commissionType");
> >
> > $commissionAmount = mysql_result($result, $rowID, "commissionAmount");
> >
> > $displayOnHomePage = mysql_result($result, $rowID, "displayOnHomePage");
> >
> >
> >
> >
> >
> > // This code determines the total pictures assigned to listing
> >
> >
> >
> > $totalPictures = 0;
> >
> > if ($picture1 != "") { $totalPictures++;}
> >
> > if ($picture2 != "") { $totalPictures++;}
> >
> > if ($picture3 != "") { $totalPictures++;}
> >
> > if ($picture4 != "") { $totalPictures++;}
> >
> > if ($picture5 != "") { $totalPictures++;}
> >
> > if ($picture6 != "") { $totalPictures++;}
> >
> > if ($picture7 != "") { $totalPictures++;}
> >
> > if ($picture8 != "") { $totalPictures++;}
> >
> > if ($picture9 != "") { $totalPictures++;}
> >
> >
> >
> > echo "<table border='1' width='100%'>";
> >
> >
> >
> > //check if the area is the same as the prior record
> >
> > if ($rowID > 0) { $priorRecord = mysql_result($result, $rowID - 1,
> "area");}
> >
> >
> >
> > if ($area != $priorRecord) {
> >
> >
> >
> > echo "<tr>
> >
> > <td width='31%' bgcolor='#000080' height='4'>
> >
> > <p align='center'><font color='#FFFF00' face='Verdana'
> > size='1'>$area</font></td>
> >
> > <td width='6%' bgcolor='#000080' height='4'>
> >
> > <p align='center'><font color='#FFFF00' face='Verdana'
> > size='1'>Map</font></td>
> >
> > <td width='5%' bgcolor='#000080' height='4'>
> >
> > <p align='center'><font color='#FFFF00' face='Verdana'
> > size='1'>Available</font></td>
> >
> > <td width='8%' bgcolor='#000080' height='4'>
> >
> > <p align='center'><font color='#FFFF00' face='Verdana'
> > size='1'>Price</font></td>
> >
> > <td width='9%' bgcolor='#000080' height='4'>
> >
> > <p align='center'><font color='#FFFF00' face='Verdana'
> > size='1'>Bed/Bath</font></td>
> >
> > <td width='8%' bgcolor='#000080' height='4'>
> >
> > <p align='center'><font color='#FFFF00' face='Verdana'
> > size='1'>Sqft</font></td>
> >
> > <td width='14%' bgcolor='#000080' height='4'>
> >
> > <p align='center'><font color='#FFFF00' face='Verdana'
> > size='1'>Community</font></td>
> >
> > <td width='19%' bgcolor='#000080' height='4'>
> >
> > <p align='center'><font color='#FFFF00' face='Verdana'
> > size='1'>Courtesy
> >
> > of</font></td>
> >
> > </tr>";
> >
> > } // end of condition checking for different area of area by which to
> > sort
> >
> >
> >
> > //else {
> >
> >
> >
> > echo "<tr>
> >
> > <td width='31%' bgcolor='#FFFFCC' height='21' align='center'>
> >
> > <a href='
> > http://www.pollets.com/AustinRentals/index.php?MLSNumber=$MLSNumber
> '><font
> > size='1' face='Verdana' color='#000000'><u>$fulladdress $city
> >
> > $state $zip</u></font></a></td>
> >
> > <td width='6%' bgcolor='#FFFFCC' height='21' align='center'>
> >
> > <a href='
> >
> http://www.mapquest.com/maps?city=$city&amp;state=$state&amp;address=$streetnumber+$streetname+$streetsuffix&amp;zipcode=$zip<http://www.mapquest.com/maps?city=$city&state=$state&address=$streetnumber+$streetname+$streetsuffix&zipcode=$zip>
> '
> > target='_blank'><font color='#000000' size='1'
> > face='Verdana'><u>Map</u></font></a></td>
> >
> > <td width='6%' bgcolor='#FFFFCC' height='21' align='center'>
> >
> > <font face='Verdana' size='1'>$available</font></td>
> >
> > <td width='9%' bgcolor='#FFFFCC' height='21' align='center'>
> >
> > <font face='Verdana' size='1'>$$listPrice</font></td>
> >
> > <td width='8%' bgcolor='#FFFFCC' height='21' align='center'>
> >
> > <font face='Verdana'
> > size='1'>$bedrooms/$bathrooms/$halfBaths</font></td>
> >
> > <td width='8%' bgcolor='#FFFFCC' height='21' align='center'>
> >
> > <font face='Verdana' size='1'>$sqft sqft</font></td>
> >
> > <td width='14%' bgcolor='#FFFFCC' height='21' align='center'>
> >
> > <font face='Verdana' size='1'>$community</font></td>
> >
> > <td width='18%' bgcolor='#FFFFCC' height='21' align='center'>
> >
> > <font face='Verdana' size='1'>$listedBy</font></td>
> >
> > </tr>
> >
> >
> >
> > <tr>
> >
> > <td width='31%' bgcolor='#FFFFFF' height='83' align='center'>
> >
> > <br>
> >
> > <img border='0' src='
> > http://www.pollets.com/AustinRentals/pictures/$picture1' width='211'
> > height='158' alt='Austin Rentals'></td>
> >
> > <td width='69%' bgcolor='#FFFFFF' height='83' align='center'
> > colspan='7'>
> >
> > <font face='Verdana' size='1'><br>
> >
> > $description<br></br>MLS# $MLSNumber <br></br>";
> >
> > if ($picture2 != "") { echo "<a href=$pictureDirectory$picture2
> > target='_blank'><img border='0' src='$pictureDirectory$picture2'
> width='72'
> > height='54'></a>";}
> >
> > if ($picture3 != "") { echo "<a href=$pictureDirectory$picture3
> > target='_blank'> <img border='0' src='$pictureDirectory$picture3'
> > width='72' height='54'></a>";}
> >
> > if ($picture4 != "") { echo "<a href=$pictureDirectory$picture4
> > target='_blank'> <img border='0' src='$pictureDirectory$picture4'
> width='72'
> > height='54'></a>";}
> >
> > if ($picture5 != "") { echo " <a href=$pictureDirectory$picture5
> > target='_blank'> <img border='0' src='$pictureDirectory$picture5'
> > width='72' height='54'></a>";}
> >
> > if ($picture6 != "") { echo "<a href=$pictureDirectory$picture6
> > target='_blank'> <img border='0' src='$pictureDirectory$picture6'
> width='72'
> > height='54'></a>";}
> >
> > if ($picture7 != "") { echo " <a href=$pictureDirectory$picture7
> > target='_blank'> <img border='0' src='$pictureDirectory$picture7'
> > width='72' height='54'></a>";}
> >
> > if ($picture8 != "") { echo "<a href=$pictureDirectory$picture8
> > target='_blank'> <img border='0' src='$pictureDirectory$picture8'
> width='72'
> > height='54'></a>";}
> >
> > if ($picture9 != "") { echo " <a href=$pictureDirectory$picture9
> > target='_blank'> <img border='0' src='$pictureDirectory$picture9'
> > width='72' height='54'></a><br>";}
> >
> > echo " </font></td>
> >
> > </tr>
> >
> > </table>";
> >
> > $rowID++;
> >
> >
> >
> >
> >
> > } // end of while loop
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > echo "</body>
> >
> > </html>";
> >
> >
> >
> > ?>
> >
> > On Thu, Apr 1, 2010 at 10:48 AM, Michael 
> > <m...@mikrosight.com<mike%40mikrosight.com>>
> wrote:
> >
> >
> >> can you show us the page?
> >>
> >>
> >> Grant wrote:
> >>
> >>> Sorry, I forgot to do a new post with the new subject...
> >>>
> >>> I can't seem to change the title of my home page. The file is
> >>> index.php and
> >>> is named "New Page1". I've searched every <title> tag and can't find
> the
> >>> reason why it is doing this.
> >>>
> >>> I have a tag that says <title> my company name </title>. I've tried
> >>> placing
> >>> it in the head and in the body sections. Any clues?
> >>>
> >>> --
> >>> Grant
> >>>
> >>>
> >>>
> >> [Non-text portions of this message have been removed]
> >>
> >>
> >>
> >>
> >
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
>  
>



-- 
Grant S. Pollet, REALTOR
Austin TX


[Non-text portions of this message have been removed]



------------------------------------

The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning. Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php_mysql/join
    (Yahoo! ID required)

<*> To change settings via email:
    php_mysql-dig...@yahoogroups.com 
    php_mysql-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    php_mysql-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to