<?php
    include ('includes/db1config.php');
    include ('../includes/mysql_connect.php');
    $query = "SELECT seo_issues.*,content.pageTitle,content.seo_title from seo_issues INNER JOIN content ON content.pageID = seo_issues.page_id";
    $rt=mysql_query($query);          // query executed 

 $str = '<style type="text/css" media="screen">
        td {
            border: 1px solid grey;
            font-size: 13px;
            margin: 0;
            text-align: center;
        }
    </style><center>
            <table width=100% id="invoiceTable" >
            <tr>
                <td>
                    <strong>Page Title</strong>
                </td>
                <td>
                    <strong>Meta Title</strong>
                </td>
                <td>
                    <strong>Recommendation</strong>
                </td>
            </tr>';
         while ( $row = mysql_fetch_array($rt)) {
                    $str.='<tr>
                            <td width=10%>' . $row['pageTitle'] . '</td>
                            <td width=10%>' . $row['seo_title'] . '</td>
                            <td width=10%>' . $row['description'] . '</td>
                        </tr>';
            }

            $str.='<tr>
                    <td colspan="4"></td>
                </tr>';
echo $str;
    