Jump to content

[SOLVED] Keeping a set variable


MemphiS

Recommended Posts

I have a deck of cards started when i press submit, then i set round to 2, and i click another submit button and i loose all data and it returns to the default value of 1.

 

Everytime you submit and i have $card = new cards(); Does this mean all data is reset? as i want to keep the data set?

Link to comment
https://forums.phpfreaks.com/topic/130972-solved-keeping-a-set-variable/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.