To delete files in a directory or folder with PHP, all you have to do is use the unlink function. Unlink not only deletes pictures, but will delete any kind of file in a directory. Lets get started. Unlink in PHP The unlink function has been around since PHP4. It also works on PHP5, PHP7 Read More
This self destruct letter script is fun, fast and mobile friendly. All you have to do is download it and upload it to your server. I created this script a while ago but I made some updates to it. You can see the self destruct letter script in action here. Feel free to use it. Read More
“Php 7 for loop” and “foreach loops” will display a block of code for a number of times. We initialize the for loop with a parameter unlike what we did in the while loops. Next, we set the comparison operator and finally we increment the number of times the loop should run. Here are the Read More
In a “Php 7 While Loop” you can repeat different information dynamically when you compare it to a variable. A While loop will execute when a condition is “TRUE” in other words “matches the variable”. Here is what we are going to be learning in this lesson. While Do While The Php features we will be using Read More
Php 7 Statements include “if”, “else” and “elseif”. We logically consider the situation and use these Php 7 statements accordingly. Programming Php 7 statements is like “reasoning” something out. In this Php 7 tutorial we are going to use money and relationships to explain this process. File for this lesson. Php 7 IF Statement A Php Read More
The Php 7 logical operator help us to filter data before displaying it. Our choices are AND, OR, XOR, NOT !, && and ||. In the last lesson we talked about Comparison Operators and how they work. We need to understand the logic of a situation so we know what to display and how. We will Read More
Php 7 operators are used for Arithmetic and Calculations. It is also used for comparing values. If we used Php 7 for arithmetic and calculations we would be using add, subtract, multiply, divide, modulus and exponents. Here are files from the last lesson. Here are files for this lesson. Php 7 Arithmetic Operators Examples + Read More
String functions in Php7 are your arsenal for being a more efficient coder. The possibilities are immense when it comes to string functions in Php7. Let’s take a look at some of the string functions in Php7. Echo Is A Php String Function Echo is one Php string function that you have already been using. Read More
DATA TYPES IN PHP 7 Here is the second part to the data types in PHP7. Lesson 10 we talked about Strings, Integers, Booleans, and Floats.In this lesson we are going to talk about Objects, Arrays, NULL and Resource. Here are the files from the previous lesson if you are just joining us. Video is Read More
Understanding PHP7 data types will help you put things together. There are 8 different data types in PHP. They are all used differently. We will cover the first 4 types in this lesson and the second half in the next lesson. Here are files from the last lesson. Here are some quick examples of PHP7 Read More
Hello friends, next week we will have a “PHP7 Power Week“. The PHP power week will consist of two lessons a day. I will release one about 9 AM in the morning and then release another one about 3 o’clock in the afternoon. This will be Monday through Friday Eastern standard time. Make sure you Read More
PHP 7.2.11 is the latest PHP version. We will be using this version for this series of lessons. We will take you from an absolute beginner programmer with no knowledge of PHP and build upon that. Please make sure that you have completed the absolute beginner web development course. We will be building off of Read More
In order to delete an image or file off of your server in PHP you have to use unlink(). This function will delete the file from your server. This is a permanent action and can not be undone once we completed the process. If you’re getting warning: unlink(): http does not allow unlinking in PHP, Read More
There are many times when you have to PHP MySqli Check For No Results in Database. Maybe you are checking the username and password of a user and match it to an authenticated user. Prerequisites for PHP MySqli Check For No Results in Database In order to perform this query you will have to have something in your Read More
The Latest and Greatest
Get the Latest and Greatest lessons delivered right to your email!
Search This Website
Enter Query in Search Box and hit enter to use our search.
A1WEBSITEPRO Social Media Pages
Here are my social media pages, lets hook up!