Skip to Content

How to save HTML form data to a text file using PHP

Today, we will discuss how to save HTML form data to a text file using PHP. While using HTML, we often use forms to capture some data from users. We usually store this captured data into the database, but sometimes we need to keep this captured data into a text file. Captured data may be …

Read More about How to save HTML form data to a text file using PHP

PHP Using $THIS When Not In Object Context

Today, we will learn how to fix “php using $this when not in object context”. This is one of the common issues new PHP developers face.   What Is $this $this is a pointer referring to the current object of the class. Current object means object currently using the function. There could be many objects …

Read More about PHP Using $THIS When Not In Object Context