okay, i'm closer to figuring it out. this is the code i have now
$txtInputNames= array("txtFrstName","txtLastName","txtEmailAdr","txtPassword");
$lblInputNames = array("First Name","Last Name","Email Address","Password");
foreach ($txtInputNames as $key=>$txtInputNamesList)
foreach ($lblInputNames as $key=>$lblInputNamesList)
echo "\t\t\t\t$lblInputNamesList<br><input type=\"$txtInputType\" name=\"$txtInputNamesList\" size=\"$txtInputSize\" maxlength=\"$txtInputSize\"><br>\r";
but it does it 4 times 4.
as in:
first name: [text box]
last name: [text box]
~
first name: [text box]
last name: [text box]
~
first name: [text box]
last name: [text box]
~
first name: [text box]
last name: [text box]
anybody know what my error is?