Re: How to create combo-boxes/list boxes connected with MS SQL Serverdatabase in PHP scripts
| From: | Manuel Lemos | Date: | Thu, 10 Apr 2008 07:40:00 +0000 |
| Subject: | Re: How to create combo-boxes/list boxes connected with MS SQL Serverdatabase in PHP scripts | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-272818@lists.php.net to get a copy of this message | ||
Hello,
on 04/09/2008 02:27 AM punhsr@hub2.nic.in said the following:
> Sir
> I want to create combo-boxes/list-boxes from a table which is available in MS-Sql server
> database. I have established connectivity with ms-sql server database using odbc.
> how can i create combo-boxes in my php scripts?
> waiting for an early reply.
You may want to try this forms generation class that comes with a
plug-in to link 2 or more select inputs . There are variants of that
plug-in can retrieve new options from a database on the server. Most
popular databases are supported, including MS-SQL server, with the
variants that use the Metabase or PEAR::MDB2 database API.
http://www.phpclasses.org/formsgeneration
Here is a live example of the linked select plug-in:
http://www.meta-language.net/forms-examples.html?example=test_linked_select
Here you may watch a tutorial video also about this plug-in:
http://www.phpclasses.org/browse/video/1/package/1/section/plugin-linked-select.html
--
Regards,
Manuel Lemos
PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/