homepage Welcome to WebmasterWorld Guest from 54.226.166.224
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Text concatenation
sorry to ask such a basic question...
UK_matrix




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

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




msg:1248693
 2:01 am on Feb 28, 2002 (gmt 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




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

As simple as that huh ?

Thanks for taking the time to help me.
Much appreciated

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved