|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
autogen of admin pages
doing some crazy stuff again.
This time I want to autogen an admin page for a database table, just basically instead of having to write each form etc. They are all pretty similar so why not auto gen?? anyway, what I need to do is get the field names from the table as well as the data. Is this possible??? I have had a quick look through the manual and can;t find anything good, but I will continue. Any ideas? |
|
#2
|
|||
|
|||
|
RE: autogen of admin pages
|
|
#3
|
|||
|
|||
|
RE: autogen of admin pages
thanks
|
|
#4
|
|||
|
|||
|
RE: autogen of admin pages
one step further - how do I get the values for enums?
|
|
#5
|
|||
|
|||
|
RE: autogen of admin pages
|
|
#6
|
|||
|
|||
|
RE: autogen of admin pages
As for who to get the enum values...I can't think of a function to perform that...you can use a query like this though:
select distinct(enumfield) from table that should return the values one per a row... |
|
#7
|
|||
|
|||
|
RE: autogen of admin pages
thanks again, it is working, I actually found a nice little function to do it, on the php manual.
it works like a charm. I will let you know if I hit anything else! |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > autogen of admin pages |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|