Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



Mysql_select_db () Function

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 02-11-2009
Member
 
Join Date: Aug 2009
Posts: 37
Mysql_select_db () Function

I am using Php language and i need information on mysql_select_db() Function. What are the syntax used while defining mysql_select_db() Function.
Reply With Quote
  #2  
Old 02-11-2009
Zecho's Avatar
Member
 
Join Date: May 2008
Posts: 2,267
Re: Mysql_select_db () Function

mysql_select_db() sets the current active database on the server that's associated with the specified link identifier. mysql_select_db() is not useful unless the user who trying to access database with permission and user can be authenticated.
Reply With Quote
  #3  
Old 02-11-2009
Member
 
Join Date: Jan 2009
Posts: 199
Re: Mysql_select_db () Function

mysql_select_db() sets the active database for the connection referenced by connection. Syntax : mysql_select_db(database,connection). database : Required. Specifies the database to select.mysql_select_db() function sets the active MySQL database.
Reply With Quote
  #4  
Old 02-11-2009
Member
 
Join Date: Dec 2008
Posts: 177
Re: Mysql_select_db () Function

The connection to the db is also between the webserver and the dataserver. mysql_select_db() attempts to select existing database on the server associated with the specified link identifier.Your connection string should definitely be in a seperate file while opening the database with mysql_select_db.
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Mysql_select_db () Function"
Thread Thread Starter Forum Replies Last Post
c++ equivalent function to the c-function 'sprintf Dilbert Software Development 6 13-12-2011 04:03 PM
c# function equivalent to gettime function in javascript Omaar Software Development 4 10-03-2010 10:44 PM
How to pass function with parameters to another function in PHP? Linoo Software Development 5 27-02-2010 07:52 PM
How does abstract function differs from virtual function? Maddox G Software Development 5 29-01-2010 11:32 AM
Function keys don't function under windows XP GunFighter Hardware Peripherals 3 09-04-2009 12:07 AM


All times are GMT +5.5. The time now is 04:23 AM.