note 130037 added to mysqli.select-db
| From: | pepgeorge@gmail.com | Date: | Tue, 18 Feb 2025 10:04:52 +0000 |
| Subject: | note 130037 added to mysqli.select-db | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221861@lists.php.net to get a copy of this message | ||
//If you want to select something:
public function selectFrom($idOfObject)
{
$sql = 'SELECT DISTINCT *
FROM tableName
WHERE ________
AND ______';
$stmt = $this->conexion->prepare($sql);
$stmt->bindValue(':_______', $idOfObject, PDO::PARAM_INT);
$stmt->execute();
$result = $stmt->fetchAll(PDO::FETCH_ASSOC);
return $result;
}
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 2a02:9130:9c20:ac6e:e06c:8d71:11e:bf51)
----
Manual Page -- https://php.net/manual/en/mysqli.select-db.php
Edit -- https://main.php.net/note/edit/130037
Del: integrated -- https://main.php.net/note/delete/130037/integrated
Del: useless -- https://main.php.net/note/delete/130037/useless
Del: bad code -- https://main.php.net/note/delete/130037/bad+code
Del: spam -- https://main.php.net/note/delete/130037/spam
Del: non-english -- https://main.php.net/note/delete/130037/non-english
Del: in docs -- https://main.php.net/note/delete/130037/in+docs
Del: other reasons-- https://main.php.net/note/delete/130037
Reject -- https://main.php.net/note/reject/130037
Search -- https://main.php.net/manage/user-notes.php