registration successful message in php

Today we will talk about registration successful message in php. Displaying a notification after a successful registration is extremely important because it lets us know whether our program works well or not. I also provide source code after this article. Therefore if you are not skillful in PHP or you want to edit this source code, you just need to download the code at the end of the article.

Registration successful message in php

PHP is a popular programming language that is loved by lots of people. It also is the language used to create many opening source codes such as Prestashop, Magento, WordPress, etc. PHP in general and source codes include the registration part. Registration successful message in php works depending on the process of the project. Today we give you a simple notification demo.


  • Using hosting or server localhost, you could use xampp or similar software that you need.
  • Code editor software, you could use familiar software such as notepad++


We start checking the data. During the registration process, if saving the information of the form to the database is successful, there will be a notification for customers to know they have completed registering. About the displaying content, it may be a thanking or others, you just need to edit texts.

Firstly, we create a database which I name “test”. We add table and fields to the database. If you hesitate to do this, you could copy the following code and paste it into sql.

USE `test`;
`username`varchar(30) NOT NULL,
`password`varchar(30) NOT NULL,
`name`varchar(255) NOT NULL,
`email`varchar(255) NOT NULL,
$conn = mysqli_connect('localhost','root','','register') or die("cannot connect to database");
mysqli_query($conn,"SET NAMES 'UTF8'");
if (isset($_POST["btn_submit"])) {
$username = $_POST["username"];
$password = $_POST["pass"];
$name = $_POST["name"];
$email = $_POST["email"];
if ($username == "" || $password == "" || $name == "" || $email == "") {
echo "Please enter your infomation";
$sql="select * from users where username='$username'";
$kt=mysqli_query($conn, $sql);
if(mysqli_num_rows($kt)  > 0){
echo "Account is exits";
$sql = "INSERT INTO users(
echo "you have registered";
<form action="#" method="post">
<td colspan="2">Form register</td>
<td>Username :</td>
<td><input type="text" id="username" name="username"></td>
<td>Password :</td>
<td><input type="password" id="pass" name="pass"></td>
<td>Full name:</td>
<td><input type="text" id="name" name="name"></td>
<td>Email :</td>
<td><input type="text" id="email" name="email"></td>
<td colspan="2" align="center"><input type="submit" name="btn_submit" value="register"></td>
width: 300px;
margin: auto;
margin-top: 112px;
border: 1px solid #cdcd;
padding: 10px;

You should input the right information so that the notification can be displayed. You could check in the database. Below is the written data. Because this is the demo, I do not encode the data. When you apply this to the practical project, you are provided with some functions to encode such as md5, sha, etc by PHP for the purpose of customers’ safety.

Registration successful message in php

We have finished the article which is about Registration successful message in php. The issues related to custom fields,create input, create recaptcha as well as form are interested by many people. PHP language and other programming languages newbies should pay attention to this issue.

How to create recaptcha validation before submit in php

Welcome you to the article “ recaptcha validation before submit ”. The guidance of this article is on PHP source code. Besides, after reading this article, you could download the source code of this article. You can use it without minding.

recaptcha validation before submit


We need to use recaptcha validation before submit because it helps make sure that there is a human wanting to submit information. And they are people to whom we need to reply. In addition, captcha can be used to avoid being spammed or DDOS attack.


In this article, the first thing we need is an editor software such as notepad ++ or phpdesigner as I am using. You can use any tool that is suitable for you.

The second thing is a Google account. It is your Gmail and password.

Besides, you also need hosting. Previously, you can use localhost. But recently, Google API does not support localhost anymore. There will be a notification as below. You can try to see if your computer allows to use localhost.

recaptcha validation before submit


Create php source code

To save time, I will provide you with the source code of the article. You just need to copy and edit according to your need,

Create index.php file to which you add the code

<html lang="en">
<title>recaptcha validation before submit</title>
<link rel="stylesheet" href="">
<div class="container">
<div class="row">
<div class="col-xs-8">
<div class="panel panel-primary">
<div class="panel-heading"><strong>Precaptcha validation before submit</strong></div>
<div class="panel-body">
<form action="do_process.php" class="form-horizontal" method="POST">
<div class="form-group">
<label class="col-xs-4 control-label">Full Name:</label>
<div class="col-xs-6">
<input type="text" class="live-form" name="name" placeholder="Full Name" required="" />
<div class="form-group">
<label class="col-xs-4 control-label">Your valid Email:</label>
<div class="col-xs-6">
<input type="text" class="live-form" name="email" placeholder="Your Email" required="" />
<div class="form-group">
<label class="col-xs-4 control-label">comments:</label>
<div class="col-xs-6">
<textarea type="text" class="live-form" name="comments" placeholder="Your comments" required=""></textarea>
<div class="form-group">
<label class="col-xs-4 control-label">Simple Captcha:</label>
<div class="col-xs-6">
<div class="g-recaptcha" data-sitekey="6LflqWkUAAAAACBi3OmE825ELQ9ZkeINwRsEITpa"></div>
<div class="form-group">
<div class="col-xs-6 col-xs-offset-6" class="live-center">
<input class="btnbtn-success" type="submit" name="submit" value="Submit">
You should pay attention to this code <div class="g-recaptcha" data-sitekey="6LflqWkUAAAAACBi3OmE825ELQ9ZkeINwRsEITpa"></div>
You should replace the sitekey with your code. To get this code, you should view the sitekey and secret key.
$google_recpachscrkey = "6LflqWkUAAAAAMEt_pgOdo9IucoBDTTq77K8Anlq";
$response = file_get_contents("".$google_recpachscrkey."&response=".$_POST['g-recaptcha-response']);
$response = json_decode($response, true);
if($response["success"] === true){
echo "USER Form Submit Successfully.";
echo "You Simple are a robot";

Please pay attention to this code $google_recpachscrkey=””, please view steps on how to create site key and secret key to add information to.
Create site key and secret key
Firstly, you get access to this link, then you log in your Google account.
Label: here you enter the title of the website for more convenient administration if you have many projects.
Choose the type of reCAPTCHA: you choose reCAPTCHA v2
Domain: you input the domain. If you have lots of domains, you should write each domain in one line, please delete prefix http:// and www.

Then you click on Accept the recaptcha Terms of Service checkbox

recaptcha validation before submit

The next page will include lots of information as well as user guide. But in this article, you just need to pay your biggest attention to the site key and secret key. You should copy and add this information to the part above.

recaptcha validation before submit

You have read the article recaptcha validation before submit. Now you can know one more data validation before processing. You can add/delete fields in php form. I have used Custom field module and found it very interesting. You can add unlimited fields to the registration page or checkout page pretashop. Of course, the module supports all types of data including recaptcha. If you are interested in the module, you can refer to this link Thanks for following the article.

Export ebay listings to csv file

To export ebay listings to csv file means to export products to csv files. The files can be used for different purposes. This article will show you the positive effects of csv files as well as the process of importing products.

You have sold products online on Ebay for several years. Your number of products is huge. You want to expand your market by developing new e-commerce pages to show and sell products online. But importing product information one by one is impossible because the number of products is too huge. Editing or adding new products may cause unworthy errors. It is the reason why importing product is interested by many people.

To export ebay listings to csv file, you get to the product list, choose all the products you want to export. In Action, you click on Export to file as below

export ebay listings to csv file

Then CSV file will automatically be downloaded to your computer. You can edit the CSV file by Office software or google office. You could edit the product name, image, and price before importing to your website.

Now, if your website use source codes such as Shopify, Magento, Prestashop, Woocommerce, you just need to take the csv file and import to the website. You should pay attention to the csv file structure comparing with the sample csv file structure. But if you use Prestashop source code, I suggest that you should use Import product module. When using this module, you do not have to pay attention to the csv file structure. You can use any csv, xml files. You can get to here to import the files that you export ebay listings to csv file with the demo back office. If your problem is solved, please let us know. If not, please leave a comment or contact us, we will support for free.

Download cleaning invoice pdf and use

Currently, the demand for searching for cleaning invoice pdf  is very huge. Because when using it, you just need to fill in available forms, then print and give them to your customers. The advantage of the pdf file compared with other format texts is that it can be edited by browsers without installing any software.

cleaning invoice pdf

Depending on your demand as well as the field you are working in, you should choose a suitable cleaning invoice pdf template. You can only edit the information of these pdf template files without changing their structures. The advantage of this file type is that you can create the consistency in the invoice in order to maintain your brand. However, this also is the disadvantage because you cannot make a custom, which may reduce your personalization as well as creativity.

These are pdf files which are shared for you to use for free. It is suitable for everyone. It is sure that every people can use them on all devices. There will be no hope anymore.

The usage is quite simple, you could download the pdf file here  or get access to this link

Please input necessary information which are your information or the store information, for instance, name, address, customer’s information, shipping address.

In order detail, please enter product’s name, quantity, price per unit for each product and the percentage of discount. The system will automatically calculate the total amount. You do not have to calculate anything at all, which will reduce the error of doing this manually.

Thank website  for sharing this resource for free.

In the previous part, we can create an invoice template bootstrap. If this article, as well as cleaning invoice pdf file, is useful for you, please sharing it so that more and more people have a chance to know about this free invoice file. Thanks you so much.

Moving company invoice pdf for free

You are able to use this file for free. The only things you need to do are downloading this file and inputting all the required information. This pdf file is quite special because you can edit it with different software. You can open it on many browsers which are available in your device such as Google Chrome, Firefox, IE, etc. and click on Print button to print invoices.

moving company invoice pdf

Required information on moving company invoice pdf for free

Similarly to all other invoices, you should input some related information such as your company’s name, address, and contact information like telephone number, and email. Besides, you should enter information of the company to which you send the moving company invoice pdf.

In the below part of the invoice, you should input all the tasks you have completed so that your partner will carry out the payment for you. Or you could also input the product information you have sold to your customers. Depending on your nation orstate imposing the tax on your products or not, you should include this tax on the invoice.

Do I need to send moving company invoice pdf always?

To me, you should always send the invoice to your customers so that you can have a statistic of how many products are sold and how many profits you receive. This feature is so helpful if you want to summarize all the profits and loss or the operating performance of your company.

In the previous part, we can create an  invoice template bootstrap. In this one, you do not have to edit anything or create code. You just need to click and experience. If you have demand for the invoice, you could download this file here

How to create java dropdown menus in website

Java is not only specially used in building apps but also applied to the website development. In this field, we could also talk about JSP language which is used by many big businesses. The article java dropdown menus will help you create a simple menu with this source code.

java dropdown menus


Users who use java language for programming should prepare tomcat server. This server is different from the servers exclusively used for PHP and ASP. The java faithful often use exclusive editor software such as eclipse or netbean ide. In the article java dropdown menus, we just need one editor and one browser to check.


No matter which language you use to develop your websites, html and css are the two compulsory things you must know. No matter which source code you use, html source code can work well with this. Therefore, you should be skillful in html. You can easily make changes to create an appropriate menu. The code of the menu will be as below

.dropbtn {
background-color: #4CAF50;
color: white;
padding: 16px;
font-size: 16px;
border: none;
.dropdown {
position: relative;
display: inline-block;
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
.dropdown-content a:hover {background-color: #ddd;}
.dropdown:hover .dropdown-content {display: block;}
.dropdown:hover .dropbtn {background-color: #3e8e41;}

<h2>Hoverable Dropdown</h2>
<p>Move the mouse over the button to open the dropdown menu.</p>
<div class="dropdown">
<button class="dropbtn">Dropdown</button>
<div class="dropdown-content">
<a href="#">Link 1</a>
<a href="#">Link 2</a>
<a href="#">Link 3</a>

Thus, we have just finished the article java dropdown menus. Hope that you can create more impressive and attractive menus than that in this article. This article just guides you on creating a menu manually. If you want to create menus in your projects, there will be mega menu modules to support you. When using these modules, you do not need to know about code because you just need to get to the backend, and drag and drop.

Mega menu prestashop 1.6 free and & Premium

The article mega menu prestashop 1.6 free and & Premium focuses on the two greatest mega menu modules that I have ever used. It will make you less surprised and confused when applying the modules to your projects. Depending on each demand, you should choose the suitable mega menu. In this article, the advantages of the module are showcased based on my subjective evaluations.

1 Prestashop Vertical dropdown categories

It is the first mega menu prestashop 1.6 free introduced. The order of menus in the list is the order that the author tests menus and it does not relate to the quality of the menus. A good news for you is that these menus and the next menu versions are guaranteed to work well on both Prestashop 1.6 and 1.7

The most important and mainstream feature of the module is the ability to display categories in the form of dropdown. Submenus of the menu items appear on hover.

It allows to configure the depth of the menu and to add images to the menu as well.

For more information about the mega menu, please refer to this link:

mega menu prestashop 1.6 free

2 Mega Menu Builder Module

This is a premiummenu module. However, you should not mind it because it is worth investing in. The fruit you benefit from it outweighs the cost you spend.

When using this module, your menus are styled attractively, and responsive with different screen sizes such as PC, tablet, and mobile phone.

Besides, the submenus have the following features

Drop down tree menu: It allows you to create multi-level submenus. A tree menu is perfect if you have multiple collections, multi-product categories. The module supports creatingan unlimited number of submenu levels.

Tabbed Submenus: This is a perfect menu type for your customer to discover your products, featured collection… etc. You can use dynamic contents (product, collection) or static contents (HTML, Image) for the tab menu.

Links list, links block: Links list is useful for your customer to discover multiple collections, for example, the site. You can set block width, height, number.

Featured products: Increase your sale by displaying your featured product on the menu. Globo Mega Menu supports displaying products on your menu.

Contact Form – Add contact form directly on the menu. Help your customer easily keep in touch with your store.

For more information about the mega menu builder, please refer to this link:



The article mega menu prestashop 1.6 free and & Premium talks about my user experience after using the two free and premium modules. How about your opinion of Prestashop modules? Please let us know.


Enjoy this blog? Please spread the word :)