(21 янв 2015, 17:53) (
0/
0)
[
0]
Знающий, обnовил пост
(21 янв 2015, 17:44) (
0/
0)
[
0]
Chainsaw,
<?php
DB::run()->query("SELECT * FROM `lalala` WHERE `чтото1` = ? and `чтото2` = ?;",array($1,$2)) -> rowCount();
======================================
DB::run()->queryFetch("SELECT * FROM `lololo` WHERE `чтото` = ?;",array($1));
======================================
DB::run() -> query("UPDATE `lalala` SET `lol` = 'ваыаыав' WHERE `чтото` = ?;", array($1));
======================================
$qwer = DB::run()->query("SELECT * FROM `lalala` WHERE `чeт` = ? ORDER BY lala DESC LIMIT 5,10;",array($1));
while ($qwe = $qwer -> fetch())
{
echo $qwe['id'];
}
?>
(21 янв 2015, 17:18) (
0/
0)
[
0]
(21 янв 2015, 17:15) (
1/
0)
[
1]
В кодах были, сейчас скину