PHP: How can I get this value? -
$result2 = $db->prepare('select `lkey_member` mxscript_slayer_licensekeys `lkey_key` = ?'); $result2->bindparam(1, $auth); $result2->execute();
how can print value of lkey_member
result2?
first fetch it, echo it. in case can use fetchcolumn function pdo has specifying index of column want fetch (in case 1 retrieving):
$lkeymember = $result2->fetchcolumn(0); echo $lkeymember;
Comments
Post a Comment