0

私はこのコードを持っています:

 $sql = "SELECT personid FROM accountpersonmap WHERE accountid = :accountid; ";
 $array = array(
    'accountid' => $eachRow['accountid']
 );
 $sth = $dbh->prepare($sql);
 $sth->execute(array(':personid' => $personid))
 echo $personid;

私はちょうどpersonidをお願いしますか?私はグーグルで検索しましたが、探しているものが見つかりません。

ありがとう

4

2 に答える 2