Every php file you create must be included at some point before you use it. but as the website becomes bigger and the number of files increases, it becomes extremely difficult to keep track of the files. if you can't organize your code you might find yourself including the same file multiple times. and the code itself will look ugly and might not be resources friendly... Read More
Articles found : 24
search term: eating disorders
in this 3rd part of our series of tutorials about php programming language, now we are starting to fetch data from our database and we are getting closer to a functioning website.... Read More
In this tutorial we will make a class that will make the connection to our sql server. and all other classes will inherit it and extend it for more features. For all our database operations we will use prepared statements as they are more secure against mysql injection.... Read More
For this tutorial, I assume that you have a basic knowledge of php and classes and objects, the programming language doesn't matter, for the principle of classes and object is the same. What will be the key point of this tutorial is to show you how to implement these abstract notions in a real life website using a real database.... Read More