Populating data from one form to another

This is probably a simple question, but I’ve tried every scenario I can think of and can’t get it to work correctly. I’m trying to populate data into a table but am having problems. It seems to work fine when I code as follows:
[php]echo “

$Salutation”;
[/php]

However, I also need to to set "type=text size=“20” and maxlength=“20” in the line and I’m not sure how to incorporate $Salutation and these into the same line.

Any help is greatly appreciated!

Is this what you’re looking for:
[php]echo ("

");[/php]

HelpWithPHP, You also might be interested in “styling” your table… Here is an interesting link for you…
http://www.w3schools.com/css/css_table.asp

Thank you both so much for your great suggestions! This is the first time I’ve tried this and I was getting very frustrated (yes, I’m quite embarrassed to say I’ve been troubleshooting this for 4 hours!!). I guess I had the syntax wrong. Sabmin, what you suggested works. And ErnieAlex, I am taking your advice and checking out that site for ways to style in CSS. I just wanted to get to this point first before I investigate better ways to do this. Like I said, a total beginner with PHP.

Thanks again!

very welcome, we’ll be waiting eagerly for your next question/s :slight_smile:

Sponsor our Newsletter | Privacy Policy | Terms of Service