SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: $Name = $Parent[SPACE]$Name;
-
Aug 22, 2005, 22:44 #1
- Join Date
- Jan 2004
- Location
- Seattle
- Posts
- 4,328
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
$Name = $Parent[SPACE]$Name;
I forgot how to insert a space in a variable. The code below displays two database variables side by side, like "Canislupus." How can I insert a space so it displays "Canis lupus"?
Thanks.
PHP Code:$Name = $Parent.$Name;
-
Aug 22, 2005, 22:45 #2
- Join Date
- Aug 2003
- Location
- Manchester, UK
- Posts
- 4,007
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
$Name = $Parent.' '.$Name;
-
Aug 22, 2005, 22:57 #3
- Join Date
- Jan 2004
- Location
- Seattle
- Posts
- 4,328
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks.
Bookmarks