Jump to content

Please help with common.php


Iank1968

Recommended Posts

Unless you have a specific problem, a specific error, or a specific question that you need help with (and "how to create a common.php file to query mysql" is not a specific question), posting multiple-hundred lines of code will be pointless.

 

You need to narrow down what you need help with and only post the code that is relevant.

Link to comment
Share on other sites

Thanks so much. ok here is the code

 

<? if ($_GET['prizes'] == "100") { ?>
<table cellspacing="8">
<tr colspan="7">
  <h1 class="quotetop1">Visit North American Landmarks to up your Login!</h1>
</tr>
<tr>
<td valign='top'>
   <img src="http://www.appserved.com/~ianapps/globetrotters/images/north%20america/NA%20BRIDGE.gif"/> 
    <h1 class="subtitle"><font size="2"><font color="#C6D4FF"><font size="2"><font color="#C6D4FF"><b><?=GetPrizeProperty  ($user, "win_golden_gate"); ?>Golden Gate Bridge, USA</b></h1>
</td>
<td valign='top'>
   <img src="http://www.appserved.com/~ianapps/globetrotters/images/north%20america/NA%20GRAND%20CANYON.gif"/> 
    <h1 class="subtitle"><font size="2"><font color="#C6D4FF"><font size="2"><font color="#C6D4FF"><b><?= GetPrizeProperty ($user, "win_grand_canyon"); ?> Grand Canyon, USA</b></h1>
</td>
<td valign='top'>
   <img src="http://www.appserved.com/~ianapps/globetrotters/images/north%20america/NA%20HOOVER%20DAM.gif"/> 
    <h1 class="subtitle"><font size="2"><font color="#C6D4FF"><font size="2"><font color="#C6D4FF"><b><?= GetPrizeProperty ($user, "win_hover_dam"); ?> Hover Dam, USA</b></h1>
</td>
<td valign='top'>
   <img src="http://www.appserved.com/~ianapps/globetrotters/images/north%20america/NA%20MOUNT%20RUSHMORE.gif"/> 
    <h1 class="subtitle"><font size="2"><font color="#C6D4FF"><font size="2"><font color="#C6D4FF"><b><?= GetPrizeProperty ($user, "win_mount_rushmore"); ?> Mount Rushmore, USA</b></h1>
</td>
<td valign='top'>
   <img src="http://www.appserved.com/~ianapps/globetrotters/images/north%20america/NA%20LIBERTY%20BELL.gif"/> 
    <h1 class="subtitle"><font size="2"><font color="#C6D4FF"><font size="2"><font color="#C6D4FF"><b><?= GetPrizeProperty ($user, "win_liberty_bell"); ?> Liberty Bell, USA</b></h1>
</td>
<td valign='top'>
   <img src="http://www.appserved.com/~ianapps/globetrotters/images/north%20america/NA%20NIAGARA%20FALLS.gif"/> 
    <h1 class="subtitle"><font size="2"><font color="#C6D4FF"><font size="2"><font color="#C6D4FF"><b><?= GetPrizeProperty ($user, "win_niagra_falls"); ?> Niagra Falls, Canada</b></h1>
</td>

</tr>
</table>
<?
if (Gotlandmark1setRank ($user)) {
?>
<fb:success message="AMAZING!!! you completed the  '<?=$rank_main_travel_set1;?>' set you get AF$ 5 more per login" />
<?
}

}
?>

On the page when you click the tab to view I get Fatal error: Call to undefined function getprizeproperty() in /home/ianapps/public_html/globetrotters/prizes.php on line 79

 

Thanks again for your help.

Link to comment
Share on other sites

Where did you get that script from?  We have no idea what that function is supposed to do, so there really isnt much that we can help with.  I'd say contact the company you got the script from and get that function from them.  I can make a function, but I can also guarantee that it wont do what it is supposed to do, or what you expect it to do.

Link to comment
Share on other sites

I got the code from another developer which I cant get ahold of anymore. What its supose to do is count each prize the first 2 are commons next 2 are semi rares and the last is a rare. After I figure out how to get that function working I have to do the odds for each prize. each cycle will be 10,000 clicks, so I will figure out the odds after. hope this helps a little or at all lol.

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.