[eside-ghost] Problemillas con PHP y MySQL

kapi59ttp kapi59ttp en euskalnet.net
Mar Jun 21 00:09:25 CEST 2005


Aupa gente!!!
Estaba yo cacharreando con los tutoriales de Split :P y me he decidido a
hacer una web
con php y mysql. *He conseguido llegar a este bonito error:
   Fatal error*: Call to undefined function: mysql_connect()
El código es el siguiente:
<?php
$connect = mysql_connect ("localhost", "kapi", "insabern");
mysql_select_db("insabern", $connect);
$resultado = mysql_query ("select * from conciertos", $connect);
while ($fila = mysql_fetch_row ($resultado))
{
   echo $fila[0];
   echo $fila[1];
   echo $fila[2];
   echo $fila[3];
}
mysql_close ($connect);
?>
Y creo que tengo todo instalado:
InSaBeRN:/home/kapi# dpkg -l | grep php4
ii  php4           4.3.10-15      server-side, HTML-embedded scripting
languag
ii  php4-cgi       4.3.10-15      server-side, HTML-embedded scripting
languag
ii  php4-cli       4.3.10-15      command-line interpreter for the php4
script
ii  php4-common    4.3.10-15      Common files for packages built from
the php
ii  php4-mysql     4.3.10-15      MySQL module for php4
ii  mysql-client   4.0.23-3       mysql database client binaries
ii  mysql-common   4.0.23-3       mysql database common files (e.g.
/etc/mysql
ii  mysql-server   4.0.23-3       mysql database server binaries

Me da error en la linea de conexion. Alguna idea???
Gracias x adelantau:

kapi59ttp

-- 
- If there's no penguin...there's no fun!!! -
meet us @ http://www.insabern.tk
personal web page: http://kapi59ttp.e-ghost.net
Key FingerPrint = BF9C E427 4955 61CA 1909  DCD4 9680 0C83 961B 7437
For my public key http://kapi59ttp.e-ghost.net/kapi59ttp.gpg
always running under GNU/Linux
www.debian.org 



Más información sobre la lista de distribución eside-ghost