http://www.gs-zone.com.ar/ft14730_sistema_de_noticias_php.html
Probe ese pero no lo pude hacer funcionar, en localhost me tira muchisimos errores
Código:
Notice: Use of undefined constant ’db - assumed '’db' in C:\wamp\www\NOTICIAS\index.php on line 7
Notice: Use of undefined constant cnx - assumed 'cnx' in C:\wamp\www\NOTICIAS\index.php on line 7
Notice: Use of undefined constant php’ - assumed 'php’' in C:\wamp\www\NOTICIAS\index.php on line 7
Warning: include(0php’) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\NOTICIAS\index.php on line 7
Warning: include() [function.include]: Failed opening '0php’' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\NOTICIAS\index.php on line 7
Notice: Use of undefined constant ’list - assumed '’list' in C:\wamp\www\NOTICIAS\index.php on line 9
Notice: Use of undefined constant categoria - assumed 'categoria' in C:\wamp\www\NOTICIAS\index.php on line 9
Notice: Use of undefined constant php’ - assumed 'php’' in C:\wamp\www\NOTICIAS\index.php on line 9
Warning: include(0php’) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\NOTICIAS\index.php on line 9
Warning: include() [function.include]: Failed opening '0php’' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\NOTICIAS\index.php on line 9
Notice: Use of undefined constant ’list - assumed '’list' in C:\wamp\www\NOTICIAS\index.php on line 12
Notice: Use of undefined constant noticia - assumed 'noticia' in C:\wamp\www\NOTICIAS\index.php on line 12
Notice: Use of undefined constant php’ - assumed 'php’' in C:\wamp\www\NOTICIAS\index.php on line 12
Warning: include(0php’) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\NOTICIAS\index.php on line 12
Warning: include() [function.include]: Failed opening '0php’' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\NOTICIAS\index.php on line 12
Revise y nada, no deberia tirar errores segun yo pero los tira xDDD revise el index.php y sigue, me podrian ayudar? quiero aprender pero no me sale, se que es patudo de mi parte pedir algo echo pero solo es para aprender y entender como diablos se conecta la db con php, tal vez sea error de configuracion del wamp y por ello les pregunto a ustedes.
Si tienen algun ejemplo funcionando pues bienvenido sea
Gracias de antemano. Saludos