Simple Question
| From: | Tom Peck | Date: | Mon, 03 Jul 2000 01:06:50 +0000 |
| Subject: | Simple Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4419@lists.php.net to get a copy of this message | ||
Hello everybody.
I am new to PHP - with an ASP background. Quick question, is there an equilivent to eg:
<SELECT id=game name=game>
<OPTION VALUE=sltValue><%= variabletoshow %></OPTION>";
</SELECT>
The only way i have seen to do this with php is this:
<SELECT id=game name=game>
<?php
echo "<OPTION VALUE=sltValue>$variabletoshow</OPTION>";
?>
</SELECT>
I am just wanting a way to remove the echo statment, so that my web page designer program will
recognise the form as being complete.
Hope this makes sense.
Cheers
Tom Peck