Re: syntax

From: Date: Thu, 12 Apr 2001 18:28:34 +0000
Subject: Re: syntax
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48266@lists.php.net to get a copy of this message
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"" <whalsey@btech.co.za> wrote in message 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

« previous php.general (#48266) next »