note 97709 added to function.mysql-query

From: Date: Tue, 04 May 2010 13:11:00 +0000
Subject: note 97709 added to function.mysql-query
Groups: php.notes 
Request: Send a blank email to php-notes+get-168917@lists.php.net to get a copy of this message
First of all thank you so much Richie for finding a fix for the UTF8 problem! However you have a syntax error in your statement: $result = mysql_query("set names 'utf8'";); It should be: $result = mysql_query("set names 'utf8';"); If the colon is really necessary i don't know but it works.. If admins feels like this is an unnecessary post maybe at least fix the error in the original one.. ---- Server IP: 69.147.83.197 Probable Submitter: 213.21.80.22 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-query.php Edit -- https://master.php.net/note/edit/97709 Del: integrated -- https://master.php.net/note/delete/97709/integrated Del: useless -- https://master.php.net/note/delete/97709/useless Del: bad code -- https://master.php.net/note/delete/97709/bad+code Del: spam -- https://master.php.net/note/delete/97709/spam Del: non-english -- https://master.php.net/note/delete/97709/non-english Del: in docs -- https://master.php.net/note/delete/97709/in+docs Del: other reasons-- https://master.php.net/note/delete/97709 Reject -- https://master.php.net/note/reject/97709 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#168917) next »