I'm trying to add new entries to an sql database using php, i can add a new entry, but it adds 2 blank lines to the database. The query i use is
$query = "INSERT INTO dbo.Products (Name,Id,Price) VALUES ('$NewName','$NewId','$Price')";
$result = sqlsrv_query($conn3, $query);
any ideas why it'd do that?