Jump to content

getting X amount


seany123

Recommended Posts

okay well im trying to think of a good way of explaining what i want...

 

basically i have a value in a table called $player->energy

 

and i want to get the value of that so i can do sums with it.

 

thinking about it i could just do the sum then times is by $player->energy.

 

any other suggestions??

Link to comment
https://forums.phpfreaks.com/topic/148473-getting-x-amount/
Share on other sites

Well, there are no dumb questions, however...you can do a simple search with google because there are tutorials for this all over the net...

 

Example:

http://www.google.com/search?q=get+value+from+mysql+database

And if you click on the very first result, it will tell you how to retrieve a value...

 

 

Link to comment
https://forums.phpfreaks.com/topic/148473-getting-x-amount/#findComment-779635
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.