[Solved] ()()()() after the title on the page [closed]


Please Try the following, let me know if it helps ..

<?php
mysql_connect("localhost", "user", "password") or die(mysql_error());
mysql_select_db("Destinos") or die(mysql_error());
$order = "SELECT * FROM Destinos ORDER BY Destino";
$result = mysql_query($order); 
?>



 <table style="width:300px">
        <tr>
            <th>DESTINO</span</th>
            <th>PRECIO</th>     
        </tr>
        <? while($data = mysql_fetch_row($result)){ ?>
        <tr>
            <td> <?=$data[0]?> </td>
            <td> <?=$data[1]?> </td>
        </tr> <?}?>
 </table>

If you need the brackets around the value try the following ..

 <table style="width:300px">
        <tr>
            <th>DESTINO</span</th>
            <th>PRECIO</th>     
        </tr>
        <? while($data = mysql_fetch_row($result)){ ?>
        <tr>
            <td> (<?=$data[0]?>) </td>
            <td> (<?=$data[1]?>) </td>
        </tr> <?}?>
 </table>

solved ()()()() after the title on the page [closed]