ID:               30079
 Updated by:       [EMAIL PROTECTED]
 Reported By:      lixmanh at yahoo dot es
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: WinXP
 PHP Version:      5.0.1
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

.


Previous Comments:
------------------------------------------------------------------------

[2004-09-14 02:09:16] lixmanh at yahoo dot es

Description:
------------
<?php

/* Conexion, seleccion de una base de datos */
$enlace = mysql_connect('localhost', 'lixman', '')
or die('No pudo crear una conexi&oacute;n: ' . mysql_error($enlace));

mysql_select_db('test')
or die ('No pudo seleccionarse la base de datos'.
mysql_error($enlace));

/* Realizar una consulta SQL */
$consulta = 'SELECT * FROM autores';
$resultado = mysql_query($consulta, $enlace) or die('La consulta
fall&oacute;: ' . mysql_error($enlace));

/* Cerrar la conexion */
mysql_close($enlace);
?> 

Expected result:
----------------
connect to a data base of Mysql created by MySQLAdmin

named test

Actual result:
--------------
Fatal error: Call to undefined function mysql_connect() in
D:\Sitios\PHP\inicio.php on line 3



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30079&edit=1

Reply via email to