Dynadot — .com Registration $8.99

Coding Help

Spaceship Spaceship
Watch

stephenhacking

Established Member
Impact
0
Actually a plea,
Im in need of coding help.
Heres the deal, i run a game arcade using the www.getmyownarcade.com script.
I want to integrate the following modifications into the script:

1. Game Sponsor:

While a game is played, a game sponsor's link is placed above the or near the game play space.

2. Credits

Essentially atm, no registration is required to play games and watch videos, but i want to change this and bring in a credit system such that according to ip address all users are allowed a number of game plays after which they will be forced to register.

Please help me out,
thanx,

stephenhacking
(And yeah, the reason why im not recruiting a coder is coz im broke)
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable DomainsUnstoppable Domains
hmm not a easy thing your better off geting a coder to do it for you or suggest it to the script owner for the next version but as for the sponsor thing it should be easy.

In your DB make a feild called sponsor then on the play page above the game code add something like this:
PHP:
$sql = mysql_query("SELECT * FROM databasename");

while($result = mysql_fetch_array($sql))
{
$sponsor  =  $result['sponsor'];
}
echo $sponsor

Make sure you put <a href ect in the database aswell.
 
0
•••
@networktown.net

thanx a lot for the feedback, but the particular method you pointed out doesnt quite work with my script,
thanx nyways
 
0
•••
try adding
PHP:
require('config.php');
add that above the code i gave you in the last post.
 
0
•••
Do you have a table in your database of sponsors? If so, can you dump the structure of it. If you don't, I'll make one for you and the code.

Registration would require a lot more work than just selecting from the database, so I can't help you with that.
 
0
•••
@Dan

Yeah, i dont have the DB Table of sponsors so it would be highly appreciable if you could help me out with one,

cheers
 
0
•••
What kind of information would you want and what would you like it to do?

Just a bunch of names and URL's (normal links) and it selects one randomly? A sponsor pays for their link on just one game (or more?)
 
0
•••
@dan
I think ive pmed u the details already
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back