Groups
Groups
Sign in
Groups
Groups
PHP-Ext
Conversations
About
Send feedback
Help
problem with combo box
12 views
Skip to first unread message
Ba9
unread,
Mar 2, 2009, 9:58:28 AM
3/2/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PHP-Ext
Hi
I want to create a combo box witch it contain the value for a table
from my data base then this my code :
$sqlc='select name from HRA_server;';
$resultc=mysql_query($sqlc);
$combo = PhpExt_Form_ComboBox::createComboBox("hraserv","HRA
server")
->setAllQuery($sqlc)
->setDisplayField("state")
->setTypeAhead(true)
->setMode(PhpExt_Form_ComboBox::MODE_LOCAL)
->setTriggerAction
(PhpExt_Form_ComboBox::TRIGGER_ACTION_ALL)
->setEmptyText("Select Hra server..")
->setSelectOnFocus(true);
In result I obtain the combo but it is empty.
thank you in advance for your help.
Reply all
Reply to author
Forward
0 new messages