Solved: PHP version check and PHP Extensions Check problem

Check php.ini for syntax errors – Charles Haven Jul 02, 2013 Using PHP/MySQLi with error checking | DaniWeb Sep 22, 2012 PHP command line syntax checking | The Electric Toolbox Blog php -l filename. If the syntax in the file is correct you will see this: No syntax errors detected in test.php If there are errors then theses will be listed as in the following example output: Parse error: syntax error, unexpected T_STRING in test.php on line 5 Errors parsing test.php

To check your code, you must copy and paste, drag and drop a PHP file or directly type in the "PHP code" online editor below, and click on "Check PHP syntax" button. You can see the user guide to help you to use this php checker tool.

Lessons in PHP: Show Errors and Error Handling Jan 16, 2018 Detect bad json data in PHP json_decode()? - Stack Overflow How do you send your data to your PHP script? – Gumbo Feb 27 '10 at 16:58. The included json functions in PHP are not much help. They have a lot of issues. As Harry Bosch pointed out in another answer, you need only check for JSON_ERROR_NONE !== json_last_error() – alttag Apr 12 '19 at 2:13.

I am using the following script to process a form to add info to my website. The problem I am having is when I submit the form nothing gets submitted to the database, and there are no errors.

PHP Sandbox, test PHP online, PHP tester PHP Sandbox. Run, execute and test PHP code from your browser. Versions: 7.4.7, 7.4.0, 7.3.19, 7.3.12, 7.3.5, 7.2.31, 7.2.25, 7.2.18, 7.2.4, 7.1.33, 7.1.29, 7.1.0, 7 How to Connect PHP to MySQL Database with PDO and MySQLi