View unanswered posts | View active topics It is currently Sun Aug 07, 2022 8:14 pm



Reply to topic  [ 1 post ] 
 mySQL connection problem 
Author Message
Junior Member

Joined: Thu Mar 18, 2004 4:20 am
Posts: 1
Post 
I'm receiving this message:

Fatal error: Call to undefined function: mysql_connect() in thephpfile.php on line 2

Code:
this is thephpfile.php:

1<?php
2  mysql_connect ("host", "user", "pwd");
3  @mysql_select_db("db") or die( "Unable to select database");


Also mySQL shows up as enabled when I did a phpinfo() script. Any ideas?? What else might cause this?


Thu Mar 18, 2004 4:41 am
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.