Hello,
I found and used a script that works, but I don’t understand how it echos PHP within HTML. Please look at the following:
[php]echo "
<input type=‘hidden’ name=‘id[$i]’ value=’{$row[‘id’]}’ /> {$row[‘id’]}
|
<input class=‘scroller_field’ type=‘text’ size=‘20’ name=‘date[$i]’ value=’{$row[‘date’]}’ /> |
<input class=‘scroller_field’ type=‘text’ size=‘20’ name=‘location[$i]’ value=’{$row[‘location’]}’ /> |
<input class=‘scroller_field’ type=‘text’ size=‘42’ name=‘event[$i]’ value=’{$row[‘event’]}’ /> |
";[/php]
‘echo’ is started with a double quote with single quotes used as HTML code. It’s as if the variables for name and value are being read by HTML, not PHP. Am I misunderstanding something here?