Armageddon Posted September 5, 2010 Share Posted September 5, 2010 Wow. Very nice work here bud. I know this is abit old, but sure is a great addition. :) Quote Link to comment Share on other sites More sharing options...
Joshua Posted September 5, 2010 Author Share Posted September 5, 2010 Here when I get a bit of spare time I will try and go through this mod and correct some of the bugs people are getting. Quote Link to comment Share on other sites More sharing options...
Kieran-R Posted December 18, 2010 Share Posted December 18, 2010 Nice mod :) But im having problems with it inserting into the DB after one user has already bought drug materials. The first user, yes it works. But the 2nd it doesnt... I dont see where this error could be coming from as ive looked at the mysql query... Quote Link to comment Share on other sites More sharing options...
daftrude Posted April 13, 2011 Share Posted April 13, 2011 Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/.../public_html/drugmarket.php on line 85 this is line 85 echo "<td><a href="drugmarket.php?action=remove&ID=".abs((int) $itd[" target="_blank">Remove</a></td>"; im confused? Quote Link to comment Share on other sites More sharing options...
becksy Posted May 11, 2011 Share Posted May 11, 2011 Love the mod it looks damn good just have two issues with it QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '=`addiction`+1,`expire`=10 WHERE `userid`=1' at line 1 Query was UPDATE `users` SET `addiction`,=`addiction`+1,`expire`=10 WHERE `userid`=1 when trying to use the drugs owned and it tells me:You are already on a drug at this moment. Please wait for the effects of that drug to expire before attempting to use another one. also the other issue is that when purchasing drugs if someone else has already purchased the same drug it will take your cash and will not give your credit for the ones you have purchased so no one two members can purchase them at the same time. for the second problem i think a solution is to change line 130 in druglab.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. with this line You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
S.Cosmin Posted May 11, 2011 Share Posted May 11, 2011 Can anyone to re-upload the images on the biggest site ever tinypic.com ? Quote Link to comment Share on other sites More sharing options...
AdamHull Posted March 14, 2016 Share Posted March 14, 2016 Yes it should work Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted March 19, 2016 Share Posted March 19, 2016 (edited) abs() is a function and (int) is a type for typecasting your value. It looks like to me it's supposed to be: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edited March 19, 2016 by KyleMassacre Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.