2024-12-22, 14:27 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
Pages: [1]
  Print  
Author Topic: PHP care (Spare some syntax?)  (Read 5159 times)
0 Members and 1 Guest are viewing this topic.
dna
 
Shub-Niggurath
**********
Posts: 673

WWW
« on: 2004-04-05, 03:10 »

OK - still too newb to figure this one out on my own:

Say that $var1 = meh
              $var2 = blah.
How can I make $var3 = $var1+$var2?
So if I print out $var3, I get
"meh blah"
???
TIA
Logged
Tabun
Pixel Procrastinator
 

Team Member
Elite (3k+)
******
Posts: 3330

WWW
« Reply #1 on: 2004-04-05, 03:34 »

$var3 = $var1 . $var2

. = concatenate :]
Logged

Tabun ?Morituri Nolumus Mori?
dna
 
Shub-Niggurath
**********
Posts: 673

WWW
« Reply #2 on: 2004-04-05, 13:17 »

Cool!
Logged
Pages: [1]
  Print  
 
Jump to: