I am using PHPStorm and having some interesting errors/warnings showing up. Not sure if I skipped configuring something. Here is a query for example,
$query = "INSERT INTO tblperson (";
$query .= " personName, personLname, personNumber, personPhone, personAttr";
$query .= ") VALUES (";
$query .= " '{$personName}', '{$personLname}', {$personNumber}, {$personPhone}, '{$personAttr}'";
$query .= ")";
And I get this warning: " expected, unexpected end of file" on first line of the code. Is there anything I am missing on this insert statement that PHPStorm warns me on?
When I run the code I can insert a record without any problems but still wonder maybe there might be an improvement that I am missing.