note 130587 added to mysqli-result.fetch-assoc

From: Date: Fri, 19 Dec 2025 07:21:58 +0000
Subject: note 130587 added to mysqli-result.fetch-assoc
Groups: php.notes 
Request: Send a blank email to php-notes+get-222470@lists.php.net to get a copy of this message
here's an example of a view for product loaded : <body> <?php if ($produitcherche === null || $produitcherche->getId() === null): ?> <tr> <td colspan="4">Aucun produit</td> </tr> <?php else: ?> <table> <thead> <tr> <th> id </th> <th> name </th> <th> price </th> <th> quantity </th> </tr> </thead> <tbody> <tr> <td><?= htmlspecialchars($produitcherche->getId()) ?></td> <td><?= htmlspecialchars($produitcherche->getName()) ?></td> <td><?= htmlspecialchars($produitcherche->getPrice()) ?></td> <td><?= htmlspecialchars($produitcherche->getQuantity()) ?></td> </tr> </tbody> </table> <?php endif; ?> </body> ---- Server IP: 206.189.2.9 Probable Submitter: 2001:660:7220:385:193:52:103:33 ---- Manual Page -- https://php.net/manual/en/mysqli-result.fetch-assoc.php Edit -- https://main.php.net/note/edit/130587 Del: integrated -- https://main.php.net/note/delete/130587/integrated Del: useless -- https://main.php.net/note/delete/130587/useless Del: bad code -- https://main.php.net/note/delete/130587/bad+code Del: spam -- https://main.php.net/note/delete/130587/spam Del: non-english -- https://main.php.net/note/delete/130587/non-english Del: in docs -- https://main.php.net/note/delete/130587/in+docs Del: other reasons-- https://main.php.net/note/delete/130587 Reject -- https://main.php.net/note/reject/130587 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#222470) next »