MySQL
- 2 ответа
- 0 вопросов
1
Вклад в тег
$stmt = $db->prepare("SELECT * FROM foo WHERE a = ?"); $stmt->execute(array($a)); $result = $stmt->fetchAll(PDO::FETCH_ASSOC);
Update table set field='c' where field='';
Update table set field='' where field='b';
Update table set field='b' where field='c';