![]() ![]() |
Info | ![]() |
![]() ![]() |
Reputation | Support forum (2) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2005-10-16 (13 years ago) ![]() | Not enough user ratings | Total: 1,203 | All time: 3,098 This week: 794![]() |
Version | License | Categories | ||||
classlistbox 1.0 | GNU General Publi... | HTML, Databases |
Description | Author | ||||||||
This class can be used to create form select inputs from MySQL database query results, similar to ASP.NET listbox control. |
|
Notes: -easy usage -Just create a new object classListbox -Dont forget to set the name when creating the object. this name is the name of the <select> -In the set_query method you should send the query and the primary key or the id you use to identify each register -dont forget to add this primary key to the select query ex: if your key is "productID" and you want to get the "productname", your query should look like this: $object->setquery("selet productname,productID from products","productID") -have fun! -You can make the page refresh th data by doing a submit by using the $object->set_postback("true") or disable it by using $object->set_postback("false") just like in asp.net -Each time you chage the selected value from the listbox a submit event is call to refresh the content of the item if set_postback is set to "true" -to avoid submitting the form you can modify your form by getting a name to your submit button ... any questions: dejitaru@gmail.com |
![]() |
File | Role | Description |
---|---|---|
![]() |
Class | the class file |
![]() ![]() |
Data | style sheet |
![]() ![]() |
Example | example |
![]() ![]() |
Data | the database for the example |
![]() ![]() |
Doc. | Notes of usage |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Comments (1) | |||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.