If you are getting “fatal error: uncaught error: Call to undefined function mysql_connect()” in your PHP project, then do not worry. Because here, we will resolve the call to undefined function mysql_connect() error step by step. Solution: Call to Undefined Function Mysql_connect() To solve the Fatal Error: Uncaught Error: Call to Undefined Function Mysql_connect(), first of […]
Latest in PHP
Learn PHP with our excellent PHP tutorial with in-depth explanations and PHP examples along with proper output and description.
Find Array Length in PHP
There are two main inbuilt functions, count() and sizeof(), to find an array length in PHP. There are other ways to count array length in PHP, but inbuilt functions are a more straight forward and effortless approach to find array length. Count Array Length in PHP count() and sizeof() both functions are inbuilt in PHP […]
How to Set Onclick Function in PHP
Onclick event is one of the most used events in any user interface. As all events on the website are related to UI, and PHP is a back-end language. So, we can not set the direct Onclick event of any PHP function. Wrong Interpretation of Onclick Event in PHP PHP is a popular open-source backend […]
How to Remove On-Page Errors in PHP
On-page errors, warnings, and notices are default in PHP for convenient debugging. However, while deploying on production, it is not a good practice to show on-page errors. On-page errors may provide loopholes of our website to hackers. Even more, it can break our website’s front end design. Here we are going to learn how to […]
How to Add Unlimited Fields in Form Using JavaScript and Store Into Database With PHP
Sometimes we need to add unlimited fields into our form for a better user experience. At that time, we can put an ADD FIELD button into the page for dynamic field generation on a webpage. Creating unlimited fields in the form is effortless using JavaScript and jQuery. Also, saving the data into a database is […]