(30 сен 2013, 20:10) (
0/
0)
[
0]
Правильно ли используется класс?
[code]
<?
$empty_forum_t=DB::$dbs->queryFetch(\"SELECT * FROM `forum_t` WHERE `id_razdel` = ? ORDER BY `time`\",array($r));
DB::$dbs->query(\"INSERT INTO `forum_p` (`id_forum`, `id_razdel`, `id_them`, `id_user`, `time`, `msg`) VALUES(?,?,?,?,?,?)\",array($forum_t[\'id_forum\'], $forum_t[\'id_razdel\'], $forum_t[\'id\'], $user[\'id\'], time(), $msg));
?>
[/code]
Или же не правильно?