syntax problem

From: Date: Wed, 09 Aug 2000 10:06:13 +0000
Subject: syntax problem
Groups: php.general 
Request: Send a blank email to php-general+get-10872@lists.php.net to get a copy of this message
Hello, Here is my sytax problem. This doesn't work. I get an error with $myartgr->$1[ArtGruppe] : echo "<ahref='$Basis_R/untergruppe.php3?AGN=$myartgr>ArtGrNr&Kennung=$Kennung'> $myartgr->$l[ArtGruppe]</a><br>"; This works : $str=$myartgr->$l[ArtGruppe]; echo "<a href='$Basis_R/untergruppe.php3?AGN=$myartgr->ArtGrNr&Kennung=$Kennung'>$str</a><br>"; and with one more echo it works also. Isn't there any other way to write this in one line i.e. with {} or ... ? Thanks

« previous php.general (#10872) next »