note 85760 added to function.mysql-real-escape-string

From: Date: Tue, 16 Sep 2008 17:54:06 +0000
Subject: note 85760 added to function.mysql-real-escape-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-144453@lists.php.net to get a copy of this message
@Dave >Your specification of parameters appears to be reversed; in >my install of PHP 5.2.3, link_identifier comes before >unescaped_string: > >mysqli_real_escape_string($link, "Unescaped string"); You have given an example with the wrong function, the mysqli_real_escape_string procedural function does have the arguments reversed, but this page is not for the mysqli_real_escape_string function, but the mysql_real_escape_string function (subtle difference in name (note the i at the end of mysqli_), totally different function), in which the given argument order is correct. ---- Server IP: 209.41.74.194 Probable Submitter: 166.70.178.114 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-real-escape-string.php Edit -- https://master.php.net/note/edit/85760 Del: integrated -- https://master.php.net/note/delete/85760/integrated Del: useless -- https://master.php.net/note/delete/85760/useless Del: bad code -- https://master.php.net/note/delete/85760/bad+code Del: spam -- https://master.php.net/note/delete/85760/spam Del: non-english -- https://master.php.net/note/delete/85760/non-english Del: in docs -- https://master.php.net/note/delete/85760/in+docs Del: other reasons-- https://master.php.net/note/delete/85760 Reject -- https://master.php.net/note/reject/85760 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#144453) next »