Home »
MCQs »
FuelPHP MCQs
Which of the following is the correct syntax to use for the update method?
41. Which of the following is the correct syntax to use for the update method?
- $query = DB::update('student');
- $query = $DB:update('student');
- $query = DB::$update('student');
Answer: B) $query = $DB:update('student');
Explanation:
$query = DB::update('student'); is the correct syntax.