Skip to content

How to increment a number after concatinating it with a date function in PHP?

$a = "hello";
$b = "world";
$c = $a . " " . $b;

echo $c; // hello world
See also  Java code snippet - How to iterate hashmap ?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.