[Solved] Best way to add a space when joining values
This is your solution: $pageTitle = $pageName . ‘ | ‘ . $siteName; Anyway you can use this to: $pageTitle = $pageName . ‘ | ’ . $siteName; In this last, you can give 1,2,3 or more spaces, example: $pageTitle = $pageName . ‘ | ‘ . $siteName; $pageTitle = $pageName . ‘ | ’ . $siteName; Reference: http://www.w3schools.com/html/html_entities.asp 1 solved … Read more