0 / 60 seg.

Review the HTML on line 1.The goal of the PHP on line 2 is to extract the field value and assign it to a variable prior to inserting into the database. What is wrong with this PHP code?

  1. <input type="text" id="title" name="title" />
  2. $title = $_POST[ 'title' ]