Re: [PHP-DB] undefined function Mysql_connect()

2008-01-06 Thread Chris
I am running Windows XP PRO, Appache 2.0 PHP 5.2.5 as a module, Did you install the php-mysql module too ? http://www.php.net/manual/en/ref.mysql.php Look under the Installation on Windows Systems section. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP Database Mailing

[PHP-DB] undefined function Mysql_connect()

2008-01-04 Thread Lukáš Moravec
Hi, I am using (trying to use) Mysql_connect () function in my scripts and = it=B4s not working... When I will try to use this example: ?php $link =3D mysql_connect(localhost, root) or die(Couldn=B4t connect); print (Connected); mysql_close($link); ? It will

[PHP-DB] undefined function error

2005-03-18 Thread Chip Wiegand
I have a web site that connects to a mysql database using this connect script - ? $db=mysql_connect(localhost,***,***); mysql_select_db(simradusa,$db); ? When I access the page it gives me this error - Fatal error: Call to undefined function: mysql_connect() in

RE: [PHP-DB] undefined function error

2005-03-18 Thread Bastien Koert
from the php manual [quote] This MySQL extension doesn't support full functionality of MySQL versions greater than 4.1.0. For that, use MySQLi. [/quote] http://ca3.php.net/manual/en/ref.mysqli.php bastien From: Chip Wiegand [EMAIL PROTECTED] To: PHP DB php-db@lists.php.net Subject: [PHP-DB

Re: [PHP-DB] undefined function error

2005-03-18 Thread Mark Cain
- Original Message - From: Chip Wiegand [EMAIL PROTECTED] To: PHP DB php-db@lists.php.net Sent: Friday, March 18, 2005 4:53 PM Subject: [PHP-DB] undefined function error I have a web site that connects to a mysql database using this connect script - ? $db=mysql_connect(localhost

RE: [PHP-DB] undefined function

2004-05-24 Thread Miguel Guirao
:[EMAIL PROTECTED] Enviado el: Viernes, 21 de Mayo de 2004 05:01 p.m. Para: [EMAIL PROTECTED] Asunto: Re: [PHP-DB] undefined function Miguel Guirao wrote: First, I do not have that line in my php.ini file. In what section should I add it? Anywhere, but best place as long as organization

Re: [PHP-DB] undefined function

2004-05-24 Thread John W. Holmes
From: Miguel Guirao [EMAIL PROTECTED] BTW, I have four different PHP.ini files in my system, where I can see which one is using it? I added it to all of them!! phpinfo() will product a page that shows you what php.ini file PHP is using. It's in the first block. ---John Holmes... -- PHP

RE: [PHP-DB] undefined function

2004-05-24 Thread Miguel Guirao
Guirao; 'Bruno Ferreira'; [EMAIL PROTECTED] Asunto: Re: [PHP-DB] undefined function From: Miguel Guirao [EMAIL PROTECTED] BTW, I have four different PHP.ini files in my system, where I can see which one is using it? I added it to all of them!! phpinfo() will product a page that shows you what

[PHP-DB] undefined function

2004-05-21 Thread Miguel Guirao
I'm receiving this error: Fatal error: Call to undefined function: mssql_connect() in e:\inetpub\wwwroot\sitio\TMP5w3gxy2pnf.php on line 9 This is line 9:if (!( $con = mssql_connect($maquina, $usuario, $password))) $maquina = SERVIDOR; $usuario = sa; $password =

Re: [PHP-DB] undefined function

2004-05-21 Thread Bruno Ferreira
Miguel Guirao wrote: I'm receiving this error: Fatal error: Call to undefined function: mssql_connect() in e:\inetpub\wwwroot\sitio\TMP5w3gxy2pnf.php on line 9 This is line 9:if (!( $con = mssql_connect($maquina, $usuario, $password))) $maquina = SERVIDOR; $usuario = sa;

RE: [PHP-DB] undefined function

2004-05-21 Thread Miguel Guirao
] Enviado el: Viernes, 21 de Mayo de 2004 02:39 p.m. Para: [EMAIL PROTECTED] Asunto: Re: [PHP-DB] undefined function Miguel Guirao wrote: I'm receiving this error: Fatal error: Call to undefined function: mssql_connect() in e:\inetpub\wwwroot\sitio\TMP5w3gxy2pnf.php on line 9 This is line 9

Re: [PHP-DB] undefined function

2004-05-21 Thread Bruno Ferreira
Miguel Guirao wrote: First, I do not have that line in my php.ini file. In what section should I add it? Anywhere, but best place as long as organization is concerned would be under the Dynamic extensions label. Bruno Ferreira PS - You should check the default php.ini that comes with

[PHP-DB] undefined function from mysql_connect again

2004-03-01 Thread Mike Ni
Hey everyone, I am having a tough time with MySQL API/Linux and I heard othes had the same issue a few days ago. I keep getting error message undefined fnction while calling mysql_connect. Did anyone find out what was causing this? Thanks! MIke __ Do you

Re: [PHP-DB] Undefined function mysql_connect

2004-01-05 Thread Jason Wong
On Monday 05 January 2004 11:55, Richard Bewley wrote: I compiled mySQL 4.0.16 from source, and installed PHP 4 off the RH9 cd. I also have the php-mysql-4.2.2-17 rpm installed. But for some reason, I keep getting call to undefined function mysql_connect, and it won't connect to the mysql

[PHP-DB] Undefined function mysql_connect

2004-01-04 Thread Richard Bewley
Hi, I compiled mySQL 4.0.16 from source, and installed PHP 4 off the RH9 cd. I also have the php-mysql-4.2.2-17 rpm installed. But for some reason, I keep getting call to undefined function mysql_connect, and it won't connect to the mysql database. Any ideas? Thanks, Richard -- PHP Database

[PHP-DB] undefined function: mysql_pconnect()

2003-03-01 Thread Cameron
I'm new to this stuff, so you have to excuse me if I seem dense. I can't get MySQL base operation from PHP 4.22 under RedHat Linux 8.0. I get the following error when trying to use mysql_connect(). Call to undefined function: mysql_pconnect() I don't have any other PHP running on the box,

RE: [PHP-DB] undefined function: mysql_pconnect()

2003-03-01 Thread Julien Wadin
Could you post your entire script to see what's wrong ? -Message d'origine- De : Cameron [mailto:[EMAIL PROTECTED] Envoyé : samedi 1 mars 2003 6:17 À : [EMAIL PROTECTED] Objet : [PHP-DB] undefined function: mysql_pconnect() I'm new to this stuff, so you have to excuse me if I seem dense

Re: [PHP-DB] undefined function: mysql_pconnect()

2003-03-01 Thread Paul Burney
on 3/1/03 12:16 AM, Cameron at [EMAIL PROTECTED] appended the following bits to my mbox: I'm new to this stuff, so you have to excuse me if I seem dense. I can't get MySQL base operation from PHP 4.22 under RedHat Linux 8.0. I get the following error when trying to use mysql_connect().

[PHP-DB] undefined function: mssql_connect()

2003-01-06 Thread [EMAIL PROTECTED]
Hi there, Hope someone can help me with this. I need to connect to a MS SQL database but my attemps fail once and again. This is the error message I get when try to connect: Fatal error: Call to undefined function: mssql_connect() in /var/www/htdocs/DB_conn.php on line 8 The script is very

Re: [PHP-DB] undefined function: mssql_connect()

2003-01-06 Thread Frank M. Kromann
Hi With PHP 4.3.0 you can use --with-mssql (it looks for freetds in /usr/local/freetds by default). Then you can use the mssql.* settings in php.ini. When you compile using --with-sybase you would have to use the sybase.* settings in php.ini, as that is the extension you would be using. You

[PHP-DB] undefined function

2002-04-09 Thread Nick
Hi: in my code below, i get the error of undefined function. can anybody help please? Thanks /* Connecting, selecting database */ $link = mysql_connect(localhost, $user_name, $password) or die(Could not connect); print Connected successfully; mysql_select_db($my_Database) or

Re: [PHP-DB] undefined function

2002-04-09 Thread Julie Meloni
N Fatal error: Call to undefined function: mysql_connect() in N /var/www/html/action.php on line 13 This indicates you do not have MySQL support built into PHP. Assuming a non-Windows OS by the pathnames above, you must use --with-mysql when issuing the configure command when building PHP.

Re: [PHP-DB] undefined function

2002-04-09 Thread Nick
do I go from here? Thanks - Original Message - From: Julie Meloni [EMAIL PROTECTED] To: Nick [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 9:44 AM Subject: Re: [PHP-DB] undefined function N Fatal error: Call to undefined function: mysql_connect() in N /var/www

Re: [PHP-DB] undefined function

2002-04-09 Thread Jason Wong
On Wednesday 10 April 2002 00:12, Nick wrote: Hi: thank you for you e mail I am using redhat7.2 I am new to php and linux , do not know how to configure mysql into php Install: php-mysql-4.0.6-7.i386.rpm it's on the second disc. -- Jason Wong - Gremlins Associates -