How to convert number to String in PHP

In this method, to convert an integer to string, write (string) before the integer, and PHP will convert it to string type.

View Demo

About the author

Anuj kumar

I'm Anuj kumar a web developer with 4+ year experience .I write blogs in my free time. I love to learn new technologies and share with others. I founded PHPGurukul in September 2015. The main aim of this website to is provide php , jquery , mysql , phpoops and other web development tutorials. I am trying best effort to make PHPGurukul useful for every single moment spend on this website. If you think this website is useful to visit please share with your friend and buddies.

Leave a Comment

1 Comment

  • i have small doubt in php that is how can i update student year like 1, 2, 3,4. it will update automatically when complete one year and add 3000 rs amount in their balance box.

Subscribe For Latest Updates