note 67943 added to function.mysql-query

From: Date: Fri, 07 Jul 2006 09:38:44 +0000
Subject: note 67943 added to function.mysql-query
Groups: php.notes 
Request: Send a blank email to php-notes+get-114530@lists.php.net to get a copy of this message
Note that the 'source' command used in the mysql client program is *not* a feature of the server but of the client. This means that you cannot do mysql_query('source myfile.sql'); You will get a syntax error. Use LOAD DATA INFILE as an alternative. ---- Server IP: 85.116.0.130 Probable Submitter: 217.204.106.228 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-query.php Edit -- http://master.php.net/note/edit/67943 Del: integrated -- http://master.php.net/note/delete/67943/integrated Del: useless -- http://master.php.net/note/delete/67943/useless Del: bad code -- http://master.php.net/note/delete/67943/bad+code Del: spam -- http://master.php.net/note/delete/67943/spam Del: non-english -- http://master.php.net/note/delete/67943/non-english Del: in docs -- http://master.php.net/note/delete/67943/in+docs Del: other reasons-- http://master.php.net/note/delete/67943 Reject -- http://master.php.net/note/reject/67943 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#114530) next »