【PHPフレームワーク】Ethna【スケルトン自動作成】
■ このスレッドは過去ログ倉庫に格納されています
005958
2005/12/05(月) 12:01:45ID:???$sql = "select * from hoge where foo = ? and bar = ?";
$sth =& $db->prepare($sql);
if (PEAR::isError($sth)) {....}
$result =& $db->execute($sql, array($a, $b));
としてみたが、Call to undefined method Ethna_DB_PEAR::prepare()と返る。
?と思ってEthna_DB_PEAR.phpをみると・・・。なるほど。
でも、>>58の書き方を禁止する意味って何なんだろうか?
うーむ。さっぱりわからないです。
■ このスレッドは過去ログ倉庫に格納されています