Hi All,
Need Sorted Pull down menu.
I have created a pull down form.
I set up an ODBC connection to a access database and
populated it with...
///
while (odbc_fetch_row($rs))
{
$c1=odbc_result($rs,"company");
echo "<option value = 'test'>$c1</option>";
}
///
Put since the values are placed it one at a time they are
not sorted....well they are really backwards..
Newbie to PHP, I have been using ASP and wanted to learn PHP.
I have not been able to find any examples of the proper way to do this. An example of a better way to create this would be appreciated...
Thanks,
End of Line
Need Sorted Pull down menu.
I have created a pull down form.
I set up an ODBC connection to a access database and
populated it with...
///
while (odbc_fetch_row($rs))
{
$c1=odbc_result($rs,"company");
echo "<option value = 'test'>$c1</option>";
}
///
Put since the values are placed it one at a time they are
not sorted....well they are really backwards..
Newbie to PHP, I have been using ASP and wanted to learn PHP.
I have not been able to find any examples of the proper way to do this. An example of a better way to create this would be appreciated...
Thanks,
End of Line