RE: [PHP] trying 2 pull data out table and populate a list box
| From: | Reinhart Viane | Date: | Fri, 29 Oct 2004 10:34:15 +0000 |
| Subject: | RE: [PHP] trying 2 pull data out table and populate a list box | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200615@lists.php.net to get a copy of this message | ||
>if ( mysql_num_rows( $rsladders ) )
>{
> while ( $rijladders = mysql_fetch_array( $rsladders ) )
> {
>echo <<<EOF
><option value="$rijladders[ladder_id]">$rijladders[laddername]</option>
>EOF;
> }
>}
>Like I wrote above, I tend to use heredoc syntax for stuff like this.
This indeed seems to be a faster way. Can you point me out the <<<EOF?
Or where I can find more information on this?
Thx
Reinhart Viane