note 108548 added to function.mysql-select-db

From: Date: Sat, 05 May 2012 17:28:03 +0000
Subject: note 108548 added to function.mysql-select-db
Groups: php.notes 
Request: Send a blank email to php-notes+get-187486@lists.php.net to get a copy of this message
You can select MySQL database without using this function. Simply right after connecting to MySQL <?php $connection = mysql_connect("dabatbasehost", "username", "password"); ?> perform this query: <?php mysql_query("USE somedatabase", $connection); ?> ---- Server IP: 69.147.83.197 Probable Submitter: 109.245.32.50 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-select-db.php Edit -- https://master.php.net/note/edit/108548 Del: integrated -- https://master.php.net/note/delete/108548/integrated Del: useless -- https://master.php.net/note/delete/108548/useless Del: bad code -- https://master.php.net/note/delete/108548/bad+code Del: spam -- https://master.php.net/note/delete/108548/spam Del: non-english -- https://master.php.net/note/delete/108548/non-english Del: in docs -- https://master.php.net/note/delete/108548/in+docs Del: other reasons-- https://master.php.net/note/delete/108548 Reject -- https://master.php.net/note/reject/108548 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#187486) next »