Learn to craft a seamless login and logout experience with PHP, MySQL, and Bootstrap. From setting up your server to implementing session security, this tutorial will guide you through every step to create a user-friendly and secure authentication system.
This is advanced programming lesson 2. WOW this is diving deep into the world of programming with PHP, Bootstrap, AJAX, MYSQL and more. Remember that you can always comment on these posts if you need me to clarify anything. I look forward to hearing from
There are times when you might have a database connection error. If you are on the Ubuntu system on Amazon hosting then run this command.
sudo service mysql
or try this
sudo /etc/init.d/mysql start
In order to access your the mysql part in your terminal you will enter something like this.
Access monitor: mysql -u [username] -p; (will prompt for password)
If you're a developer working with databases, you're probably familiar with MySQL - an open-source relational database management system. While there are many ways to access a MySQL database, one of the most straightforward methods is through the MySQL te
If you're working with a MySQL database, you may find that you need to add a new column to a table. Fortunately, adding a column to a MySQL table is a straightforward process that we will do using the MySQL terminal command. Here's how:
To export a database use this command in terminal.
mysqldump -u [username] -p [database] > db_backup.sql
If that does not work for you then you may have created a user in cPanel or some other website management application. You may have to use the --no-ta
To count and select group records in terminal use this command.
SELECT *, (SELECT COUNT([column]) FROM [table]) AS count FROM [table] GROUP BY [column];
For Custom Column Output Names Terminal MySQL, when selecting data from a table using the SELECT statement, you can customize the output column names. This can be useful when the column names in the table are not descriptive enough or when you want to for
Ever wonder how to create a download link in PHP and then make it expire? Would you like to know how to expire a download link after a set number of times they download it? Do you want to know how to protect your files from people trying to steal your dow
Sometimes, users may want to delete the images they have uploaded to the server, which requires implementing the functionality to delete images. Prerequisites: To follow along with this tutorial, you should have a basic understanding of PHP, MySQL, jQuery
MySqli is a PHP extension used to connect and communicate with MySQL databases. One of the key features of MySqli is the ability to grant privileges to users for accessing databases. This feature allows the database administrator to have better control ov
In order to connect to a database you need to make a key file. Make a Config file to connect to MySql Database. This is a fairly simple process. You take the information that you assigned to a database when you granted privileges to it and make a file an
If you want to Drop a table from a database with PHP MySqli you must make sure that the table is there in the first place. If you have not done so please see Create a New Table in a MySqli Database. To drop a table use the following code. You must make s
What is the difference between MySql and MySqli? MySqli is the new and improved extension for MySql. The difference between MySql and MySqli is the way your write the code. For instance to connect to a database in MySql you would write the code something
I thought it was time that I made a simple post on using AJAX. This is a very easy script for you to develop from. The main thing that you want to keep in mind is that you have to put the following script into a file called test.php.
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.
I needed to delete duplicate entries in MySql with PHP. After some trial and error I wrote a script that will do it for me. What I needed to do was delete duplicate email addresses in a email script. Here is the code that made that magic happen.
You need to sanitize your string before you insert them into your databases. We show you how to do that in this lesson with "FILTER_SANITIZE_STRING", "FILTER_SANITIZE_EMAIL" and "FILTER_FLAG_STRIP_HIGH".
Let's create a login script with AJAX JQuery, PHP and MySQL in this tutorial. We will create a form to login to the system and use AJAX with JQuery for the process. Next we will use PHP to process the form and return data to the webpage without reloading.
In this tutorial we create a contact form that enters contact information into a database. It will then send an email to you from your website. We do this with AJAX, jQuery, Bootstrap, PHP and MySql.
This is a lost password script tutorial. I write it in AJAX, JQuery, Bootstrap, PHP and MySQL. People frequently lose their passwords. Password reset scripts are almost mandatory, with people expecting software to do everything for them.
Encryption, Decryption and MySQL in PHP is very important these days with hacker after hacker out there always ready to find new crafty ways to steal your customer's information. Do not be a victim here because you do not have to be!
PHP Data Encryption is important to safety and privacy. In this lesson, I am going to show you how to insert and retrieve encrypted data in PHP using a MySQL database. Using these methods will make your websites and applications more secure. After complet
Data Encryption with Php and MySql is very important. Some programmers wonder about the methods and implementation of different processes for data encryption. I
The A1 Reading Marker WordPress plugin lets visitors highlight exactly where they left off — and return later to that same spot, even if they close the page or their browser.
Are you worried about losing your WordPress data? Want a quick, one-click solution to export your entire database without technical hassle? Look no further!
Ever wonder how to create a download link in PHP and then make it expire? Would you like to know how to expire a download link after a set number of times they download it? Do you want to know how to protect your files from people trying to steal your dow
Advanced programming tutorials in PHP. Set up the server and install your VS Code and get ready for the ride. Learn to develop applications. In this series you will learn how to assemble several different programming techniques to create advanced applicat
Summernote is a popular WYSIWYG editor for web applications, and it supports a dark mode theme out of the box. Here are the steps to put Summernote in dark mode:
We will be covering HTML5 forms in this lesson. In your web development career you will use forms a lot. It is a good idea to get use to what is available to you. It is important to note that we are covering creating forms. Processing forms in PHP will be
In Summernote you want to be able to delete your images in your directory or folder at times. As far as I can see, this is the only tutorial out there on this, so I decided to do it. I made a tutorial in the past that shows you how to upload images to a d
This post covers how to make a free website backup. Once finished you will be able to download a complete website backup zip file. This will also include your database. This task is very easy but I am going to explain the process in detail.
In this tutorial, I'll walk you through the process of creating a calorie and nutrient counter using the FoodData Central API. This guide will help you build a web application that allows users to enter a food item and receive detailed nutritional informa
Picking a Content Management System
CONTENT MANAGMEMENT SYSTEMS CMS is an acronym for content management system. A content management system is basically a website that you do not have to code yourself. I
We will go over the administration login for the first time. We will then discuss permalinks and the importance of setting them up right the first time. User management is a very important feature of the CMS and assigning roles is very significant to the
One of the most important things that you can do is back up your website. There are 2 different kinds of backups for WordPress. We will discuss the easy way then the more thorough way through your cPanel.
You should think twice before you install a plugin for WordPress because of the ramifications that plugin can bring. A WordPress plugin has access to your database as soon as you install it. It can therefore update, delete, and manipulate your WordPress d
Installing and Configuring WAMP for the First Time can be a daunting task. The process is actually a lot simpler than many people think. WAMP has come a long way and made the process quite simple.
Qualifications: 20 Years experience in the following computer languages.
HTML Hypertext Markup Language
PHP pre hypertext preprocessor
CSS Cascading Stylesheets
JavaScript
MySql Databases
ASP.NET
Access
SQL
Node.js
And many many more
If you are looking for PHP HTML script for emails you have come to the right place. If you look at our PHP Snippets for email. You may be disappointed that when you send an email that you do not actually see formatted HTML.
he number attribute in HTML5 may give you a warning, "Please Enter A Valid Value". Using decimals in HTML5 requires that you use an attribute of "step". Consider the following in the form tag element.
If you are just getting started with Amazon web hosting services you may feel lost. First of all make sure that Amazon web hosting services are right for you. You must understand the following.
You will have to Edit Files in SSH Terminal, Amazon EC2 Hosting. This tutorial will demonstrate how to edit files in the SSH terminal of Amazon EC2 hosting.
This tutorial will show you how to install WordPress and database on Amazon web hosting services. This can be challenging but I have a present for you. A terminal cheat sheet.
This is a tutorial on how to enable pretty permalinks in Amazon Web Hosting services. In order to do this you have to enable mod_rewrite in your Apache server. Otherwise you will get a page not found error.
Create a database and a table at the same time with php in mysql. All you will need is the connection information to your database. This is what you will need.
Create a secure password sign up script with PHP, jQuery and AJAX with this easy to follow tutorial. Preliminary steps for this tutorial is to go over the last post Create A Database and Table At The Same Time With PHP.
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
So I just got done programming the best home inventory management software. I wanted it to be free and easy to use for all my friends, neighbors and subscribers. Last September, I hit the big 50. I have stuff I never knew I had. A person accumulates thing
In this how to tutorial I will show you how to move a large WordPress website from one server to another. In this tutorial I assume that you already know how to SSH into your server. You must already know these following things, if you do not, click the l
This post will show you how to search a PHP encrypted database. This is a follow up on the PHP encryption and decryption tutorials. Many have made the argument that once all the data is encrypted and stored that there is no way to query the database.
Fix Hacked WordPress infected with malware the professional way. There are many tutorials out there on the web on how to fix a hacked WordPress website. The way professionals fix a hacked WordPress is much different. We fix hacked WordPress websites on a
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
In order to make PHP work on your server you will have to create and name files with the .php extension. Apache will look for index.php in order to create an index file for your website.
In our beginner course we created some HTML, CSS and JavaScript in order to give a basic idea how a webpage works. However, if you went through that course you would realize that creating web pages like that for 1000's of pages would be very cumbersome an
Most effective and easiest way of backing up your website is in terminal. The process that I am about to show you is very easy. It may look like it is past your capabilities but it is not.