GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 09-Aug-2004, 06:35
Dave Gale Dave Gale is offline
New Member
 
Join Date: Aug 2004
Posts: 3
Dave Gale is on a distinguished road

problems with mysql_close ()


Hi all, I just uploaded a site live which contains php and mysql elements. The site works perfectly in my local server, but up live i am getting the following error message on one of my pages which is used as a dynamic News page:

Warning: mysql_close(): 5 is not a valid MySQL-Link resource in /mywebsite details on line xx

I do not understand why this is happening, as it works locally and doesnt display this message. My host company supports mysql and php scripting. I'm also confused by what the 5 means in the Warning message.

HAs anyone experienced this problem before, any advice? I guess its either a problem with my script or the web server. However, it works locally. Bizarre.
  #2  
Old 09-Aug-2004, 06:44
Dave Gale Dave Gale is offline
New Member
 
Join Date: Aug 2004
Posts: 3
Dave Gale is on a distinguished road
Solved. I had the close command too far away from the connection command, so it wasnt recognising it.
 
 

Recent GIDBlogLast Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GeForce FX 5600 problems Peacemaker Computer Hardware Forum 24 18-Jul-2004 05:50
Chaintech Geforce 5600 FX problems bartster74 Computer Hardware Forum 8 04-May-2004 13:16
CD Burner Problems Joe9995 Computer Hardware Forum 0 07-Feb-2004 10:47
Apache - problems using PHP outside the intranet ooandioo Apache Web Server Forum 6 04-Feb-2004 09:27
Installation problems arman Apache Web Server Forum 3 03-Feb-2004 12:02

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 06:55.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.