I've made buttons represented as tables, I know there are other routes, but this is what I HAD to use.
Anyways, I need the buttons to change text/images in another table which contains all the main text.
I was wondering whether this code is possible?
onclick="<? $currentText = $text1; ?>"
I put it inside the table code
currentText is the text in the main table
text1 is the text I'd like to replace it with
I tried it in my code, but it didn't work, just wondering if anyone knew if this code was wrong.
Any help is always appreciated, thanks a lot