[BNM] dynamically creating variable names

Jason Bailey j.bailey at sussex.ac.uk
Fri Sep 15 11:19:46 BST 2006



> <div><input name="mp3file<? echo $x;?>" type="text" id="mp3file<? echo
> $x;?>" size="50" /></div>

Hello,

I'll probably get this half wrong but I suspect you need something like:
$prefix="mp3file";

...
print("<input name=".${$prefix.$x}."etc......");

or something like $$x

jas




More information about the BNMList mailing list
BNMList is hosted by Screenlists, a Screen-Play.net service