¡@

Home 

php Programming Glossary: personcount

PHP string concatenation

http://stackoverflow.com/questions/11441369/php-string-concatenation

and if not what is the alternative of doing so while personCount 10 result personCount . people echo result it should appear.. is the alternative of doing so while personCount 10 result personCount . people echo result it should appear like 1 person 2 person.. Just use . for concatenating. And you missed out the personCount increment while personCount 10 result . personCount . ' people'..

Creating PHP class instance with a string

http://stackoverflow.com/questions/4578335/creating-php-class-instance-with-a-string

Other cool stuff you can do in php are Variable variables personCount 123 varname 'personCount' echo varname echo's 123 And variable.. do in php are Variable variables personCount 123 varname 'personCount' echo varname echo's 123 And variable functions methods. func..