Page 2 of 2

Posted: Tue Mar 15, 2005 3:47 am
by feyd
notice anything odd about lines 47-59 ? ;)

Posted: Tue Mar 15, 2005 3:56 am
by PHP_Ste
:lol: oops, knew it would be something simple.

Posted: Tue Mar 15, 2005 4:22 am
by n00b Saibot
Since you are starting the string of echo with the {'} thats why its giving errors.
Change this line

Code: Select all

<input type="text" name="<? echo 'member'.$i; ?>" style="width: 175px">
to this

Code: Select all

<input type="text" name="member'.$i.'" style="width: 175px">
EDIT: I noticed that the next two echo's have the same prob. change them the same way as above.

Posted: Tue Mar 15, 2005 5:15 am
by PHP_Ste
OK thanks, that problem is solved but it is just inserting blank strings into the database, I'm pretty sure this is to do with it not reading the form vars properly but only being a rookie I am unsure.