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

mysqli_fetch_assoc returns multiple arrays, how to return a single array
Hello, I am using mysqli_fetch_assoc which is returning multiple rows, so it looks like:

Code

 formating when pulling data from a mysql database 
Ok so Im not to sure if this is the right thread to post in but here is my catch 22 issue.

I

Stumped by Third Day of Month problem
I am trying to build an algorithm that will essentially do this:
Code: [Select]$this_month = Oct

php global variable
how can we create global variable so we can use its value in any form.. Please give example to

need help modifying script
Hi guys,

I'm fairly new to php and am having a bit of trouble modifying a script.

This

utl_file open error
i have file in the unix path

Path /popdev01/pop/popdevb/tfi/

File name

Shuffle Array
Hi,

I am writing a script for a game that needs players to randomly be assigned a target (ano

Run function every 5 mins ??
I have a function PostMessage()

How can I run it every 5 mins ??

eregi to preg
Im converting my regex for php 5.3 and I am stuck on the following

Code: [Select]if((eregi(&q

connect() succeeds but accept() does not?
Please help me with this problem. I'm working on a time-sensitive project where I'm using TCP socket

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