Replies: 3 comments 1 reply
-
Euh, t'es cuit... Tu devrais aller te pieuter et t'y remettre demain matin. $ppp = new PDOPlusPlus();
$in = $ppp->injectorInByRef();
$sql = "SELECT application_name, platform, platform_owner, publisher FROM `application` WHERE application_key = {$in($one_appli_key, 'int')}";
foreach ($tab_appli_key as $one_appli_key) {
$info[] = $ppp->select($sql);
}
return $info; Tu dois lire les exemples, ce cas est largement traité. |
Beta Was this translation helpful? Give feedback.
-
Euh, je ne compte pas déboguer ton code ligne par ligne. |
Beta Was this translation helpful? Give feedback.
-
Bonjour, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Bonsoir,
ayant pu récupérer un tableau de select de PPP, je souhaite maintenant passer chaque item du tableau à une méthode de ppp :
$info = []; foreach($tab_appli_key as $one_appli_key) { $ppp = new PDOPlusPlus(); $sql = "SELECT application_name,platform,platform_owner,publisher from
application` where application_key={$ppp($one_appli_key,'int')}";mais ça se passe mal : xdebug par dans les choux quand je fais l'affectation de $sql et y a ce message d'erreur :
Quel est le problème, STP ?
Beta Was this translation helpful? Give feedback.
All reactions