[geeklog-devel] Require help with code

Abhinav Chittora bijolianabhi at gmail.com
Wed Mar 10 09:54:21 EST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello friends,

I am doing some code for geeklog and stuck at some point. Have a look
at and do suggest me the way to solve out the problem......

I want to use drop down list in a page and write this code.

    $acategory = DB_getItem($_TABLES['linkcategories'], 'category',
"is_default = 1");
    $link_templates->set_var('lang_category', $LANG_LINKS_ADMIN[5]);
    $othercategory = links_select_box (3,$acategory);
    $link_templates->set_var('category_options', $othercategory);

This code should add the drop down list with $acategory but it is
creating a drop down list with other than $acategory. the drop
downlist have first item with default.

PS: Ask if you need to check other thing also.


- -with Regards,
Abhinav Chittora
IRC Nick: Abhinav1

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10)

iF4EAREIAAYFAkuXsxAACgkQodS/rMVcPnVXuwEAiyciN7wmdYdypSVxY/SvZsxQ
xkPPhyAHKXOZ8clbHIQBANtQtZlJwFdcC2BnruY2gYLGkConLBEx8NVUDvsVm4F4
=EMiZ
-----END PGP SIGNATURE-----



More information about the geeklog-devel mailing list