Jump to content
MakeWebGames

Recommended Posts

Posted

I was Just Wondering If Someone can do a code where they cant add like loads of crystals on at once you can only add one set at a time

so you dont get people like this

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

The_??g???? [1] 1 $3,000 $3,000 [buy]

Posted

Re: Crystal Market Addon

or just

 

if($_POST['amnt'] <=10)
{
die ("You can only post a minimum of 11 crystals in one instance");
$h->endpage();
exit;

 

Or something like that, changing the number 10 to however much one below the minumum is!

Posted

Re: Crystal Market Addon

 

$query = mysql_query("SELECT * FROM `crystal_market_listings_table` WHERE `crystal_adder_id" = '{$ir['userid']}'");
if(mysql_num_rows($query) >= 1)
{
   // Throw error
}

 

Edi table and row parts to work, simple stuff.

where abouts shall i add this and im not too sure it will work

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.   Paste as plain text instead

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