Jump to content

Variables concatenate...help


archVille

Recommended Posts

[!--quoteo(post=385256:date=Jun 18 2006, 04:08 AM:name=PMeres)--][div class=\'quotetop\']QUOTE(PMeres @ Jun 18 2006, 04:08 AM) [snapback]385256[/snapback][/div][div class=\'quotemain\'][!--quotec--]

"<input name='mean".($i+1)."' type='text' size='2' maxlength='2'/>";

[/quote]

You pretty much have it up there.

for($x=1; $x<11; $x++) {
echo '<input name = "mean'.$x.'" type = "text" size = "2" maxlength = "2" />';
}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.