Ver original<?phpmysql_connect("hostname", "user", "password");mysql_select_db("mydb");$result = mysql_query("select * from noticias");while ($noticias = mysql_fetch_object($result)) { echo $noticias->id; echo $noticias->titulo;}mysql_free_result($result);?>