The PHP function has been implemented, but the error code is always reported to upload images to a specified directory and record the image path in mysql. The current goal has been implemented, but the page always reports an error. the error message is the second line: PHPcode & lt ;? Phpif ($ _ GET ['action'] ==& quot; save & quot;) {// This Line reports an error: the Noti PHP function has been implemented, but always reports an error
The purpose of the code is to upload images to a specified directory and record the image path in mysql.
The current goal has been achieved, but the page always reports an error,
The error message is the second line:
PHP code
Images transfer
Please give me some advice on what went wrong. thank you!
------ Solution --------------------
If (isset ($ _ GET ['action']) & $ _ GET ['action'] = "save ")
------ Solution --------------------
You have answered your question in the previous post. this question is also mentioned in the post on top basic questions.
This is a prompt, not an error.
The passed parameters include post in the new version. it should be a version of 5.3X and
Isset to determine, otherwise this prompt will appear, of course you can adjust the error level to block such a prompt.