Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Convert an Integer Into a String in PHP

phpCopy<?php  
$variable = 10;
$string1 = "".$variable;
echo "$string1";  

$string1 = $variable."";
echo "$string1";  

?>
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #Convert #Integer #Into #String #PHP
ADD COMMENT
Topic
Name
1+1 =