In this post, We will discuss how to use javascript sweetalert in website using PHP and MySQL. If you want to show beautiful alert box, then you can achieve this task using javascript sweetalert. Files used in this tutorial: 1- connection.php (database connection file) 2-...
In this tutorial, We will learn how to show hide password using JavaScript. We will add the toggle password feature using JavaScript. While filling up a password, and want to see what we have typed till now. To see that, there is a show/hide toggle...
In this tutorial, We will learn how to show hide password in html login form. Files used in this tutorial: 1- index.php (login form with show-hide toggle button) This screenshot shows the login form with show-hide toggle button. index.php <html> <head> <title>Login Form</title> <link rel="stylesheet"...
In this tutorial, We will learn how to upload image and cropped using JQuery AJAX in PHP. Files used in this tutorial: 1- index.php (AJAX script) 2- upload.php (upload image) Below are the step by step process of how to upload image and cropped using...
In this tutorial, We will learn how to upload image and preview using JQuery AJAX in PHP. Files used in this tutorial: 1- index.php (AJAX script) 2- upload.php (upload image) Below are the step by step process of how to upload image and preview using...
In this tutorial, We will see how to find leap year in C programming language. Leap year program #include<stdio.h> #include<conio.h> void main() { int y; clrscr(); printf("Enter year "); scanf("%d", &y); if((y%4 == 0 && y%100 != 0) || (y%400 == 0)) { printf("%d is...
In this tutorial, We will see how to convert year into months, weeks and days in C programming language. Program to convert year into months, weeks and days #include<stdio.h> #include<conio.h> void main() { int y, m, w, d; clrscr(); printf("Enter year "); scanf("%d", &y); m...
In this tutorial, We will see how to convert hours into minutes and seconds in C programming language. Program to convert hours into minutes and seconds #include<stdio.h> #include<conio.h> void main() { int h, m, s; clrscr(); printf("Enter hours "); scanf("%d", &h); m = h *...
In this tutorial, We will see how to check vowel or consonant using if else ladder in C programming language. If else ladder statement allows to execute certain code blocks based on specific conditions. The syntax of the if else ladder statement is: if (condition 1)...
In this tutorial, We will see how to check vowel or consonant using switch case in C programming language. The switch expression is evaluated once. Switch statement allows us to execute one code block among many alternatives. The syntax of the switch case is: switch (expression) {...
Join 20,000+ subscriber