Jump to content

[SOLVED] Concatenate two strings ???


salman_ahad@yahoo.com

Recommended Posts

//add them together:

$newstring = $string1 . $string2; //no space between
$newstring = $string1 . " " . $string2; //with space between

 

to check the string length you would use strlen();

 

http://us.php.net/manual/en/function.strlen.php

 

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.