How to convert number to String in PHP

1550 1

$1*/ mo hosting! Get going with GoDaddy!


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

 

In this article


Join the Conversation

  • Vara Prasad

    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.



Share