Jump to content
MakeWebGames

Recommended Posts

Posted
I think the global $ir shouldn't even exist, even if McCodes had correct indexation - it's still slower than it could've been done (even if it's only a few milliseconds)

Nothing special.

I think this is a great modification and Zed has done well, I think the way it's coded is perfectly fine for a small and large McCodes game :P

I didnt say that it was the best, i said it wasnt that bad. My $ir query has 9 joins and only takes 0.001 second.

What i was saying is, if you have 100 auctions, you are going to be making a ton of queries to the datebase, everytime every users goes to a new page. I pitty your mysql servers.

 

I won't even make some kind of smart remark to that.

I also never stated that I done things this way, so you have no need to 'pitty' my MySql servers. I miss-read. :huh:

  • Replies 104
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Ah, thank you fbiss, the first post has been modified just to add a WHERE clause on the initial SELECT statement, it'll only select data within 1 second of being needed.

Good eye fbiss :thumbsup:

Posted

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/zurrgle/public_html/inventory.php on line 99

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted
Still get the same error, on the same line.. i have tried a few things myself as well.. but nothing.. :S

 

Try this:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted
You didn't change anything?

The [ in the PHP source code is just from a delete BBcode lol.. :p

 

-.-

You're going to have to give me more lines, give me line 97 - 103 please :)

Posted

Im going to give up soon.. -__-;

Parse error: syntax error, unexpected ';', expecting ']' in /home/zurrgle/public_html/inventory.php on line 104

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

I know ill get another error though lol.. these two codes hate each other :P

  • 1 month later...
  • 1 month later...
Posted

i know this is an old post but i did find a problem i do not know how to fix the buyer has their money taken but the seller does not recieve the money any help would be greatly appreciated thanks.

Posted

fixed...

Sorryzed as i said in above post i said it did not send event or update money upon winning the bid, i was wrong, it works perfectly there is only one error which i have corrected for people it was just one update line to update the users money when they buy the item with the buy it now price ...

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

  • 2 weeks later...
  • 1 month later...
Posted

Why not, take real life as an example, if i bid on a house in an auction, (if it wouldnt be illegal xD) and i didnt win, would i have the money taken offa me. I hope not :)

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