Using values from the db in your textfield/ddlb?
You can add values into a textfield like this:
<input type="text" name="number_of_topics" id="number_of_topics" value="<?php echo bb_get_option( 'bbp_number_of_topics' ); ?>"/>
Now there will be a value when the texfield is loaded. But what if there is no value, how can I let it show 0 then? using
: 0wont work.
Same tactics as above, but now with a ddlb. I can’t get this fixed. How can i show the value in a ddlb?
<td><?php forum_dropdown(); ?></label></td>but where do I put that value thingy?
You must be logged in to reply to this topic.