Lavalair Wml Shop Code

Started on the old forum in June 2007 · view the original in the archive · old links redirect here

24 replies · 2,867 views · started 19 years ago · 1 min read

TL;DR · summary of 24 replies
  • Reply by coppe provided a working script for the WML Lavalair shop, including corrections to small mistakes.
  • The code for index.php was given as an example with echo statements showing how links should be formatted.
  • A solution to prevent negative plusses when buying items not owned was suggested by adding specific PHP conditions.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

11 participants
coppe Junior · 14 posts #21

Now it's working.It had a lot of small mistakes, but i correct it External image (may be gone) . The code for your index.php is: CODEecho "<a href="shop.php?action=shop&sid=$sid">Shop</a> "; You have bellow edited page...Password to extract the file is: coppewap.com

Attachments: shop.rar
coppe Junior · 14 posts #22

This script has one more problem. When you buy something and you don't have plusses for it your plusses became negative. For example you buy smile (120 plusses) and you have before that 60 plusses you now have -60 plusses.If anybody know how to resolve this problem, please write here.

busterkeaton10 Developer · 68 posts #24

if(getplusses(getuid_sid($sid))<5) { echo "You need at least 5 Plusses to Buy !"; }else{

You can add tose codes!

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close