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 stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #concatenate #add
ADD COMMENT
Topic
Name
7+2 =