Letters Counter Using AJAX & PHP in Urdu/Hindi



I’ve come up with a small project using PHP and AJAX in Urdu/Hindi. After a long time, I’ve created video tutorials on PHP & AJAX, and I hope now I’ll continue creating some advance and up to date tutorials on PHP OOP & some other newly introduced web development components and frameworks. But today, you’ll learn creating a letters/characters counter in PHP and AJAX. You’ll be able to download the source code too.

letters-counter-in-php

Letters Counter in PHP/AJAX

First of all, we’ll create a page called counter.html which will hold the layout and AJAX request, after that we’ll create another page which will beĀ process.php, and we’ll send a request to the process.php in order to get data returned and display on the HTML page without refreshing the page. So this is something like, writing in the box and our script will count the number of characters very beautifully. You can even add this counter to your own website.

If you are new to PHP or AJAX then don’t worry, I already have published so many tutorials on PHP and also a complete tutorial on AJAX in Urdu/Hindi. You can find the web development related tutorials on this website by simply putting your keyword in the search box on the top right on this website or you can just go to the links above in the menu and find your desired tutorial on web development.

Let’s have a look at the video tutorials below.

Video tutorial in Urdu/Hindi 1 of 2

Video tutorial in Urdu/Hindi 2 of 2

After watching the video tutorials, I hope you’ve learned what you needed to learn today in order to enhance your PHP and AJAX knowledge a little bit. Of course, I’ll come up with some great tutorials in the upcoming days. However, you can right now download the source code of this project from below link.

Download the Files

After downloading the files, please extract them and put them in the htdocs folder inside XAMPP installation, and then open it using localhost/. You should not face any difficulty while creating this small system in PHP.

One more thing to be noted here, in this project I have not used any mysqli database etc, but in the future projects, I’ll be surely using some of the Object Oriented Programming approaches to create large projects such as a CMS.

If you like this tutorial then do share it with your friends on social media, and if you have any question or suggestion then do let me know in the comment section below, I always try to answer questions ASAP.

About Abdul Wali

Abdul Wali is a Web Developer, SEO Consultant and Online Instructor working online for last 6 years on the internet and managing several successful websites. You can contact him via Email or follow him on Facebook. Also add him on .

Check Also

chat-system-in-php

Chat System Using AJAX & PHP in Urdu/Hindi

Here is a small project for those who are learning PHP and AJAX. I’ve created …

  • Bilawal Ahmed

    Salaam Sir, agar hum javascript ki bajay jquery istemaak kerin to koi problum ha kya ?? jquery ma to ya kaam oor bhe asaan or jaldi ho sakta ha, javascript ya jquery kon best ha ??

    Waleed Raza From Quetta

    • w/salam, Yes, jQuery ma bhi ho sakta ha, lekin asal ma JavaScript ka method bhi bohat famous ha ic lye.