Works like a charm, thank you guys!
btw: when getting POST data from wp_dropdown_category and then sending it to sql, it sends/writes into sql category ID, it would be great if it would send category name:)
Possible or not?
@ imscissors that kind of code(without $html var) crashes whole wordpress.
However, thanks guys.The main issue here is that i cant put php code inside $html variable.
But, here is another question.
How the hell will I get my (which is dynamically populated from mysql) dropdown menu work?
From the way i see it, that dropdown requires some php to connect to sql and then print the rows into menu.
Thanks!