php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23544 it have the first time i try to connect to mysql
Submitted: 2003-05-08 07:55 UTC Modified: 2003-05-08 08:26 UTC
From: rncl2070 at hotmail dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4.3.1 OS: winXP pro
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rncl2070 at hotmail dot com
New email:
PHP Version: OS:

 

 [2003-05-08 07:55 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-08 08:26 UTC] edink@php.net
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.

.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 10:01:29 2024 UTC