Welcome to WebmasterWorld Guest from 23.22.140.143

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Text concatenation

sorry to ask such a basic question...

     

UK_matrix

1:12 am on Feb 28, 2002 (gmt 0)

Inactive Member
Account Expired

 
 


I'm new to PHP ...(about six hours), I need to generate a password by concatenating two text values and I'm unsure as to the syntax required.

Any help will be very much appreciated.

Thanks

Air

2:01 am on Feb 28, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 10, 2000
posts:1253
votes: 0


Welcome to wmwm UK_matrix, hope you enjoy the forums.

/* Assigning a string. */
$str = "This is a string";

/* Appending to it. */
$str = $str . " with some more text";

/* Another way to append */
$str .= " with more text added in a different way";

UK_matrix

2:13 am on Feb 28, 2002 (gmt 0)

Inactive Member
Account Expired

 
 


As simple as that huh ?

Thanks for taking the time to help me.
Much appreciated

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members