MySQLテーブルのすべてのレコードを表示しようとしています。
私はできますselect * from table
が、これは私がやりたいことではありません。
こんなことしたい
select app_id, app_name from app where app_sendto = '%'
上記を試しましたが、何も表示されません。
上記のクエリを次のように実行したいと思います
$get_app = "select app_id, app_name from app where app_sendto = ?";
$sth = $dbh->prepare($get_app);
$sth->execute('people') or die "Cannot execute sth: $DBI::errstr";
誰かがこれを手伝ってくれませんか。