Jump to content

Recommended Posts

Posted (edited)

* Fixed some minor issues in code *

This is my most recent module decided to release it for free hope you enjoy.

Okay so first off the sql files.

You're unable to view this code.

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

now create a file called drugmarket.php and insert this code

You're unable to view this code.

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

Will be adding new features to this soon any issues or bugs let me know.

oh almost forgot you need a js library for the ajax to work 

You're unable to view this code.

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

 

Edited by NonStopCoding
  • Like 1

Share this post


Link to post
Share on other sites

Not bad but just a few things I noticed. I will assume this is GRPG??? If it is, I’m not in tune with it too much but last I checked, did they have a database class or was it straight procedural? This does look like it could be MTG’s PDO class. Also in your Message function, is that a default constant that is being used or is that an added feature as well?

Share this post


Link to post
Share on other sites

gRPG v1 (by Publius) was procedural MySQL.
gRPV v2 (by us) does indeed use one of my PDO wrapper classes

  • Like 1

Share this post


Link to post
Share on other sites

I've avoided tagging the gRPG posts with the same tags as MCC because I figured that'd confuse things down the road.
Speaking of which.. @Dave, wut are we doin' with the gRPG tags? Thar be 2 versions (and I've been quietly planning a MongoDB release, but shhhh)

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, Magictallguy said:

I've avoided tagging the gRPG posts with the same tags as MCC because I figured that'd confuse things down the road.
Speaking of which.. @Dave, wut are we doin' with the gRPG tags? Thar be 2 versions (and I've been quietly planning a MongoDB release, but shhhh)

Let's work out a plan in PM!

  • Like 1

Share this post


Link to post
Share on other sites

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