Jump to content
MakeWebGames

[mccode v2] The Basics *Totorial*


Guest Sniko`

Recommended Posts

For Those Who Dont Know

JUST WANT TO HELP THOSE WHO DONT KNOW

Ever wondered what they mean $ir and $r

Well

 

You're unable to view this code.

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

Is the information for the person viewing the page

 

You're unable to view this code.

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

Is the information about someone else

 

How to create Spends? (JOB: show information only when you click and adds stuff to DB)

Add a link to the spend

You're unable to view this code.

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

(*NOTE*: 1 could be anything)

To make the spend

You're unable to view this code.

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

basically this allows the user to but an item or anything if they have $50 if not they cannot buy the item.

->You can change 50 and 49 to anything

->Also the < and the > to < or > or ==

->to create the DB field you simply put this SLQ in PHPMYADMIN

You're unable to view this code.

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

This SQL basically's add a field in users called itemname and its default is set to 0. in the actaully code find **WHAT-YOU-BOUGHT-DB-NAME** and replace it with what you put it in the database (itemname).

I Think That Does It All If Not Other May Add It

Thanks Post Reply's If It Was Useful

Link to comment
Share on other sites

Re: [V2] The Basics *Totorial*

This has gotta be the worse tutorial I've seen on CE.

The coding is poor and the complete opposite to efficient.

Why on earth would you add a new field to users, its just more junk to the table.

I don't even know what this tutorials objective is... Teach users how to use an if statement? :?

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
Guest Sniko`

Re: [V2] The Basics *Totorial*

 

Sorry if it doesnt fit your standerds but im trying to help others

Your good for taking your time and trying to help people :-)

Thanks, i learned by looking at peoples code, i just want to help others quicker

Link to comment
Share on other sites

Re: [V2] The Basics *Totorial*

 

You're unable to view this code.

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

 

I personally would do it like

You're unable to view this code.

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

as its slightly more secure and easier to read

Nice One Tho :wink:

Link to comment
Share on other sites

Re: [V2] The Basics *Totorial*

Siz Bout this but i see another thing :|

How to create Spends? (JOB: show information only when you click and adds stuff to DB)

Add a link to the spend

You're unable to view this code.

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

(*NOTE*: 1 could be anything)

Make It Less, Reduce The Code

You're unable to view this code.

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

Link to comment
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...