SampleApp-CRUD-PHP
SampleApp-CRUD-PHP copied to clipboard
comments added for learning purposes.
added closing php tag
Your request changes one of the quotation marks to an apostrophe, but not the ending mark. These should both be changed since interpolation is not occurring within that string. Additionally, a closing PHP tag isn't strictly necessary and there are various positive points supporting leaving the tag out within a PHP-only file.
The first one was made in error. Thanks for catching that.
Re 2nd point, thanks for letting me know its considered poor practice. Maybe others could make the same mistake if they base it on assumption, I will add a comment with a link to some documentation. Thanks Wolveix.