HUB OF TUTORIALS
  • Business
  • Digital Marketing
  • Technology
    • HTML
    • CSS
    • jQuery
    • WordPress
    • Core PHP
    • Mysql
    • JAVA
    • Projects
    • Photography
  • Recipes
  • Others
  • Write for Us
HUB OF TUTORIALS
  • Business
  • Digital Marketing
  • Technology
    • HTML
    • CSS
    • jQuery
    • WordPress
    • Core PHP
    • Mysql
    • JAVA
    • Projects
    • Photography
  • Recipes
  • Others
  • Write for Us
  • Business
  • Digital Marketing
  • Technology
    • HTML
    • CSS
    • jQuery
    • WordPress
    • Core PHP
    • Mysql
    • JAVA
    • Projects
    • Photography
  • Recipes
  • Others
  • Write for Us
HUB OF TUTORIALS
  • Business
  • Digital Marketing
  • Technology
    • HTML
    • CSS
    • jQuery
    • WordPress
    • Core PHP
    • Mysql
    • JAVA
    • Projects
    • Photography
  • Recipes
  • Others
  • Write for Us

Looping Statement in PHP

In this article, we will explain the Looping statement in PHP. The looping statement is used for a specific number of times with the condition.

Following Looping Statements are used in PHP

  • For Loop
  • While Loop
  • Do While Loop
  • Foreach
…

Even Odd Program in PHP using For Loop

In this article, you will learn Even Odd Program in PHP using For Loop

 <?php
echo "even no. are-" ." ";
for($i=1;$i<=100;$i++){
    if($i%2==0){
    echo '(' .$i .')' ." ";
    }
}
echo "<br>";
echo "odd no. are-" ." ";
for($i=0;$i<=100;$i++){
    
…

How to Create Auto Counter in PHP

In this article, you will learn How to Create Auto Counter in PHP.

counter.php

<?php
$fp=fopen("count.txt","r");
if(!($fp=fopen("count.txt","r")))
{
die('file not found');
}
else
{
$counter=(int)fread($fp,20);
fclose($fp);
$counter++;
echo "you are visitor no.".$counter;
$fp1=fopen("count.txt","w");
fwrite($fp1,$counter);
fclose($fp1);
}
?>

count.txt file will …

Search
Recent Posts
  • How Students Can Increase Their Academic Productivity With Paraphrase Tool?
  • 7 Educational Approaches for Diverse Learners
  • 5 Best Online Payment Gateways in India
  • How to Start and Earn from Making WooCommerce Plugins
  • Step By Step Guide to Becoming a Certified Salesforce Developer
Categories
  • Business
  • Core PHP
  • CSS
  • Digital Marketing
  • HTML
  • JAVA
  • Jobs
  • jQuery
  • Mysql
  • News
  • Others
  • Photography
  • Projects
  • Recipes
  • WordPress

  • How to Create List in HTML
  • How to use Iframe in HTML
  • How to Create a Table in HTML and CSS
  • How to Add New HTML Content using jQuery
  • CSS Property of List tag in HTML
  • How to use CSS for Table in HTML
  • How to Make Basmati Rice Recipe
  • How to Make Indian Kheer Recipe
  • How to Make Spicy Aloo Tikki
  • How to Make Aloo Matar Samosa
  • How to Make Cheese Potato Sandwich
  • How to Make Aloo Palak Methi
  • Company Visitors Management System
  • Complaint Management System using PHP
  • Directory Management System
  • Employee Record Management System
  • Hospital Management System using PHP
  • Vehicle Parking Management System

Copyright © 2022 Hub of Tutorials. All Rights Reserved. Designed by AS Webworks