> I have come to a situation where i am having a variable inside another
> variable.
> for example.
>
> $rm_$cat_adt
This works for me:
<?
$cat="def";
${"abc_".$cat."_ghi"}=TEST;
echo '"abc_".$cat."_ghi" = '.${"abc_".$cat."_ghi"}."<br>\n";
echo '"abc_def_ghi" = '.$abc_def_ghi."<br>\n";
?>
michi
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
--
GMX Tipp:
Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a
- [PHP] PHP Interact with DreamWaver Jack
- Re: [PHP] PHP Interact with Drea... rm
- RE: [PHP] PHP Interact with ... Peter Houchin - SunRentals Australia
- [PHP] inserting a variable i... Hasan Niyaz
- RE: [PHP] inserting a va... Peter Houchin - SunRentals Australia
- Re: [PHP] inserting a va... mailing_list
- Re: [PHP] inserting ... Hasan Niyaz
- RE: [PHP] inserting a va... Ray Hilton
- Re: [PHP] inserting a va... Tom Carter
- RE: [PHP] inserting ... scott [gts]
- Re: [PHP] inser... Jonathan Sharp
- Re: [PHP] PHP Interact with ... Tim Thorburn
- RE: [PHP] PHP Interact with Drea... Andrew Hill
- RE: [PHP] PHP Interact with Drea... Bart A. Verbeek

