Mark it up using an unordered list: <ul><li></li>...</ul>.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
Disclaimer. (1) Whilst I will help you sometimes, if I feel like it, and my advice in relation to your actual question will be of good quality: my posts are to be taken with a pinch of salt. I will be sarcastic, deploy irony and include obscure cultural references for my own amusement without warning.
(2) You will gain nothing from complaining, and if you try to argue with me then you will not win. No matter how noble your battle seems, I am still better than you, don't be an hero.
include "intro.php";
$sql1="select * from hotel_facilities,facilities where
facilities.facilities_id=hotel_facilities.facilities_id
and acc_id= '$acc_id' order by facilities_name";
$busca1=mysql_query($sql1,$conexao) or die(mysql_error());
$lista1=mysql_fetch_array($busca1);
Sorry. I'm not a PHP guy but one will come along I'm sure.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
You have to remove the following line from the script.
"$lista1=mysql_fetch_array($busca1);" which is under
"$busca1=mysql_query($sql1,$conexao) or die(mysql_error()); ".
The reason is, mysql_fetch_array would skip one row.
Bookmarks