Coding question?


Posted on 16th Feb 2014 07:03 pm by admin

Hey guys, I have a quick question. If I want to make a way for people to pay for health in my game, how would I go about coding that? Would be like this?

Code: ($purchace = 1000000) == ($health+1)
Would it be something like that?

No comments posted yet

Your Answer:

Login to answer
320 Like 17 Dislike
Previous forums Next forums
Other forums

Why will this program not run if the variables are not global?
Hey guys I have a kind of perplexing situation that is probably simple, but I can't seem to understa

Problem with HTML form
Hello,

I made a HTML form with some fields and check box.
Everything works fine except whe

pls clear my confusion
Hi friends,

Pls solve my query .

what is the exact use of Scope Resolution Operator( i

listing help
Hi,

at first, great new design!!! I like it,

i got a problem,

I want to list so

returning data from an ssh2_exec()
here's what i got.


$conn = ssh2_connect($this->_host);
ssh2_auth_password($c

Spaghetti Code
So.

I've pretty much reached the point where I have so many isset s on one page that I can't

restricting another login once you logout
Hello,

how can I restrict a page from login authenticating against info in a MySQL DB for a s

php calculate
this code echoes correctly the sum but the inserted result is 0??
Code: <?php
$TotalNum

php/mysql problem
Hey all,

Problem: im trying to setup a shop where people can use a drop-down list to select t

Can't find the problem (no error message)!
OK, here's the deal. This code is really weirdly formatted (sorry!) and hard to understand, so I'm g

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash