videoboysayscube
New member
This is my first time doing a message board. I'm just doing a quick mock up, where I have a list of topics and within each topic I have messages, all stored on a database. I'm not sure if this is the best way to do this, but I was going to use a "switch" function to read the "state" to determine which messages should appear when a topic is clicked on. The only way I know how to set a state though is within a HTML form.
So basically my question is, how can I assign a state by clicking on a link (in this case the topic title)?
So basically my question is, how can I assign a state by clicking on a link (in this case the topic title)?