Encontre este ejercicio:
http://www.xtreme-web.net/electros/s...5/s/3/pag/1/#c
pero no me funciona. Me salen estos errores:
Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\AppServ\www\ejemplos\noticias.php on line 87
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\AppServ\www\ejemplos\noticias.php on line 87
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\ejemplos\noticias.php on line 88
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\ejemplos\noticias.php on line 122
Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in C:\AppServ\www\ejemplos\noticias.php on line 124
Nota: Gracias "Keysher" si esta muy bien todo loque dices que haga pero es no soy experto en este tema y creo que la mejor manera de aprender es haciendo ejercicios para ir aprendiendo.
Si me puedes dar una guía con este ejercicios te lo agradecería mucho.