php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #98 Wrong parameter count for msql_connect()
Submitted: 1998-02-23 00:51 UTC Modified: 1998-02-23 08:24 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: Espen dot Lyngaas at team17 dot com Assigned: zeev (profile)
Status: Closed Package: mSQL related
PHP Version: 3.0b4 OS: Linux RH5.0 2.0.32 i686
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
28 + 4 = ?
Subscribe to this entry?

 
 [1998-02-23 00:51 UTC] Espen dot Lyngaas at team17 dot com
PHP reports "Warning: Wrong parameter count for msql_connect()"

Manual says "int msql_connect(string hostname, string username, string password);"

My script looks something like:
<?
  $host = "gimp.team17.com";
  $user = "user";
  $passwd = "passwd";
  $connect_status = msql_connect($host,$user,$passwd);
  echo "mSQL connect status: $connect_status\n";
?>

Compiled modules are mSQL2.0.3 and gd1.2

Is the above not the correct syntax?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-02-23 08:24 UTC] zeev
This description doesn't fit mSQL but MySQL.  Fixed the help files.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 21:01:29 2024 UTC