Code help

Discussion in 'Coding Help' started by pat102, Jul 22, 2013.

  1. pat102

    pat102 New Member

    hi all.

    I have this little page to show calander updates on my site

    I would the text "click for info" in front of the top name (white row), instead of underneath it.

    here is my coding,

    <meta http-equiv="refresh" content="" >
    <link rel="stylesheet" type="text/css" href="30spot.css" />
    <div class="CSSTable" >
            <td>Latest Activations</td>
    mysql_connect('xxxxxx', 'xxxxxx', 'xxxxxx') or die (mysql_error());
    mysql_select_db('xxxxxx') or die (mysql_error());
    $result = mysql_query("SELECT * from fusion_aw_ec_events  ORDER BY `event_id` DESC LIMIT 0,10");
    while($row = mysql_fetch_array($result)){
    //Display the results in different cells
    echo "<tr><td>" . $row['ev_title'] . "</td></tr>";
    echo '<td><a href="/infusions/aw_ecal_panel/view_event.php?id=' . $row['event_id'] . '"target="_blank">Click for info</a></td>';
    //Table closing tag
    echo "</table></center></div></body></html>";
    Thanks in advance

Share This Page