All pastes #907079 Raw Edit

Someone

public text v1 · immutable
·published 2008-02-17 06:19 UTC
rendered paste body
<?php
                                include('../dbal.php');
                                
                                $dbconn=openconn();
                                selectdb();
                                $qry="select * from countries ORDER BY id";
                                $do_qry = exe_query($qry,$dbconn);
                                
                                $countries=get_rows($do_qry)
                                
                                foreach ($countries as $country)	
                                  {
                                      echo("<option>".$country['value']."</option>");
                                  }
                                ?>

The error I am getting is "Parse error: syntax error, unexpected T_FOREACH"