note 83329 added to function.mysql-select-db

From: Date: Wed, 21 May 2008 09:39:32 +0000
Subject: note 83329 added to function.mysql-select-db
Groups: php.notes 
Request: Send a blank email to php-notes+get-139575@lists.php.net to get a copy of this message
just to improve buzz at oska dot com solution, it is definitely the best solution so far but it works only if you use the new_link parameter in the mysql_connect, setting it to true be aware that the new_link parameter was introduced starting from PHP 4.2 if you don't set the new_link to true, you will need to specify the database name followed by table name in the FROM query, ie. FROM databaseName.tableName, and probably in the SELECT more information here http://uk.php.net/function.mysql-connect ---- Server IP: 92.48.74.199 Probable Submitter: 212.127.30.253 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-select-db.php Edit -- https://master.php.net/note/edit/83329 Del: integrated -- https://master.php.net/note/delete/83329/integrated Del: useless -- https://master.php.net/note/delete/83329/useless Del: bad code -- https://master.php.net/note/delete/83329/bad+code Del: spam -- https://master.php.net/note/delete/83329/spam Del: non-english -- https://master.php.net/note/delete/83329/non-english Del: in docs -- https://master.php.net/note/delete/83329/in+docs Del: other reasons-- https://master.php.net/note/delete/83329 Reject -- https://master.php.net/note/reject/83329 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#139575) next »