Category: appending string in php

Update and a quick tip

Game 103 has not experienced any major updates recently, but I have been adding games slowly but surely. Each game page now has a section for similar games. Here’s a quick programming tip. To append a string in php, you can use “.=”.

for example,

$var = "hello";
$var .= ", how are you?";

now, $var = “hello, how are you?”

Enjoy the site,
James Grams

Posted in add to string in php, add to variable in php, appending string in php, update for game 103

0 comments