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?

  1. $query = DB::update('student');
  2. $query = $DB:update('student');
  3. $query = DB::$update('student');

Answer: B) $query = $DB:update('student');

Explanation:

$query = DB::update('student'); is the correct syntax.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.