[PHP] mysqliconnect issue
- Date: Mon, 16 Jun 2008 22:42:10 -0400
- From: Jason Pruim <japruim@xxxxxxxxxx>
- Subject: [PHP] mysqliconnect issue
Okay, So I'm going to just assume that my issue is the fact that I'm tired... and my mind won't work properly.
[Mon Jun 16 22:27:58 2008] [error] PHP Warning: mysqli_connect() expects parameter 5 to be long, string given
Now parameter 5 is the database name, I echoed out each of the parameters and everything looks right...
here's the line that's causing the problem:mysqli_connect($link, $server, $username, $password, $database) or die('Connection failed in dbmysqliconnect.php');
Any ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Follow-Ups:
- Re: [PHP] mysqliconnect issue
- From: Chris
- Re: [PHP] mysqliconnect issue
- Prev by Date: Re: [PHP] looping through a database
- Next by Date: Re: [PHP] mysqliconnect issue
- Previous by thread: [PHP] looping through a database
- Next by thread: Re: [PHP] mysqliconnect issue
- Index(es):