#23544 [Opn->Bgs]: it have the first time i try to connect to mysql

From: Date: Thu, 08 May 2003 13:26:02 +0000
Subject: #23544 [Opn->Bgs]: it have the first time i try to connect to mysql
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39301@lists.php.net to get a copy of this message
 ID:               23544
 Updated by:       edink@php.net
 Reported By:      rncl2070 at hotmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         MySQL related
 Operating System: winXP pro
 PHP Version:      4.3.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:
------------------------------------------------------------------------

[2003-05-08 07:55:38] rncl2070 at hotmail dot com

<?php
mysql_connect(“localhost”, “name”, “password”);
mysql_select_db(“guestbook”);
$result = mysql_query(“select * from guestbook”) or
die ();
echo mysql_result($result,0,0);
?>

error message

Parse error: parse error, unexpected T_STRING in
c:\inetpub\wwwroot\database.php on line 4

websever = IIS 5.1

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


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



Thread (2 messages)

« previous php.bugs (#39301) next »