Increment variable value on button click

Yep, that was it. Also I had to change it to…

if($_POST[$i.'description'] != "")

Because the variable exists whether they enter the info or not. This checks each to see if description field is actually filled out.

Seems to be working. Thanks for all of your help!

One last thing. I’ve never been able to get html to work in this email script. For instance none of the <br /> do anything. They are just ignored by email clients.

Any suggestions for that? Normall with the message being where it is you can at least format spacing. But it’s nice to do more. And on this project I need to be able to force new lines.

Does the recipient have HTML email enabled?

Yeah. The recipient is me. :slight_smile: Like I said, I never have been able to, just not this particular project. When I used to work with ASP, I had to actually add the chr everytime. Not sure if there is something like that in PHP.

Adding \r does the trick for returns, which will do for now. If you have suggestions about the HTML though that would be cool.