Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php concatenate and add

this is inside for or foreach loop

# For concatenate use           .=
 $var .= 'string';

 # For adding the VALUES use    +=
 $var += 1;
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #php #concatenate #add
ADD COMMENT
Topic
Name
7+1 =