![]() |
dynamic dropdown not working
heres the function im using
when i load the page the drop down doesnt show anything. so im wondering if there is a syntax error u can find because my ide isnt finding any. this is how im typing the html out <select><?php dyn_dropdown(tbl_status,status); ?></select> Code:
function dyn_dropdown($tablename,$columnname) {here is the table structure tbl_status Code:
CREATE TABLE `tbl_status` (Code:
id status |
Try this:
PHP Code:
Eg: PHP Code:
|
Let's not post this in every forum we run across, shall we?
|
i figured out the problem, thanks
|
| All times are GMT. The time now is 10:14 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0