On 11/29/06, Ravi Malghan <[EMAIL PROTECTED]> wrote:

Hi: I have a variable called $agent_id and want to create a string with
the value of $agent_id followed by "-str". The following does not seem to
work.
The following example I want to create a variable called $35-str.

$agent_id = 25;
$agent_id."-str" = "This is test\n";


$agent_id = 25;
$agent_id = "$" . "$agent_id"  . "-str";

I think that'll work.

Reply via email to