Jump to content

Two Small Questions


Grabeorama

Recommended Posts

1)How do I make it so that when a word or button is clicked, it changes a variable?Like if you clicked the words 'click me' it would add 1 to the variable $clicks2)How do I make it so that when a button is clicked, it adds text to a variable?When you click the button that says "bold" it would add the string "<b></b>" to the stringThanks for any help or suggestions :)~grabeorama

Link to comment
Share on other sites

You can't use PHP to do either of those things, as PHP can only run synchronous to pages loading.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...