Posted by dangerd on 04/16/07 15:25
Hi folks,
can someone help me understand the meaning behind this snippet of
code:
$result = mysql_query('SELECT category_id,category_name FROM
gallery_category');
while($row = mysql_fetch_array($result)) {
$photo_category_list .= <<<__HTML_END
<option value="$row[0]">$row[1]</option>\n
__HTML_END;
}
I start to get confuse when the .=<<<_HTML_END bit start, how does
this work? I don't understand.
Thanks
[Back to original message]
|