note 48067 deleted from function.mysqli-stmt-prepare by hholzgra

From: Date: Sat, 29 Sep 2007 12:27:07 +0000
Subject: note 48067 deleted from function.mysqli-stmt-prepare by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-130925@lists.php.net to get a copy of this message
Note Submitter: programmer at bardware dot de ---- Hi, the code ($stmt = mysqli_stmt_prepare($stmt, "SELECT District FROM City WHERE Name=?")) { in the sample is wrong. mysqli_stmt_prepare returns a bool When using the code provided $stmt after the call to mysqli_stmt_prepare is a bool a not a mysqli-Statement any longer....may thus not be used in subsequent mysqli_* calls. Best wishes Bernhard

« previous php.notes (#130925) next »