#23544 [NEW]: it have the first time i try to connect to mysql
From: rncl2070 at hotmail dot com
Operating system: winXP pro
PHP version: 4.3.1
PHP Bug Type: MySQL related
Bug description: it have the first time i try to connect to mysql
<?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 bug report at http://bugs.php.net/?id=23544&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23544&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23544&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23544&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23544&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23544&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23544&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23544&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23544&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23544&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23544&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23544&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23544&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23544&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23544&r=gnused
Thread (2 messages)
- rncl2070 at hotmail dot com