You can use the same code as you typed but use double-quotes instead of
single-quotes:
$fp=fopen("echo $agentcode' .'CyberTrac.ctr", "w");
-elias
http://www.kameelah.org/eassoft
""Wade Halsey"" <[EMAIL PROTECTED]> wrote in message
007401c0c318$1d488fe0$256410ac@wadeh">news:007401c0c318$1d488fe0$256410ac@wadeh...
Hi
I need to name a file like this
$fp=fopen('echo $agentcode' .'CyberTrac.ctr', "w");
the file gets named echo $agentcodeCyberTrac.ctr, now I want a real value in
$agentcode, there is a value in there so it must be my syntax, anyone help?
TIA
Wade
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]