php
例えば $sth = $dbh->prepare('SELECT name, colour, calories FROM fruit WHERE calories < :calories LIMIT :limit'); $sth->bindValue(':calories', $calories); $sth->bindValue(':limit', $limit); $sth->execute(); のように,limit句に名前付けプレー…
例えば $sth = $dbh->prepare('SELECT name, colour, calories FROM fruit WHERE calories < :calories LIMIT :limit'); $sth->bindValue(':calories', $calories); $sth->bindValue(':limit', $limit); $sth->execute(); のように,limit句に名前付けプレー…