You need to learn all of these:
- db see docs
- querybuilder
- orm
- the getPdo() function
The last one getPdo() gives a PDO connection for normal regular pdo queries. Laravel is very very flexible.
Edit last one works like
$postdata = array(
'dogid' => $dogid,
'dogpic' => $dogpic,
'dogname' => $dogname,
'sex' => $sex,
'comments' => $comments,
'adopted' => $adopted,
'lastedit' => $lastedit
);
then
$sql = "UPDATE " . PREFIX . "dogs SET dogpic = :dogpic, dogname = :dogname, sex = :sex, comments = :comments, adopted = :adopted, lastedit = :lastedit WHERE dogid = :dogid";
$stmt = DB::getPdo()->prepare($sql);
$stmt->execute($postdata);
Regualr pdo and you can use PDO::FETCH_OBJ or PDO::FETCH_ASSOC whatever you want and need to do.