Jump to content
MakeWebGames

Recommended Posts

Posted (edited)

My first mccode mod I plan on making more soon just practicing right now.

 

You're unable to view this code.

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

Edited by skooda
Updated
Posted

Good idea.

2 things

Firts line has empty <?php ?> tags delete them.

On the last line remove the // otherwise it will comment out the ending ?>

Posted
Thanks Ian.Updated the post.

Also get in the habit of starting php with <?php

Posted

I see a couple things that may need to be touched up;

You're unable to view this code.

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

That I dont see anywhere else just the initial query.

And just fetching the gang from the users table is only going to return the gang id as default unless you modified your users table to update the gang column to show the gang name. For example if im in that list and am in gang id 18 it will show 18 instead of my gang name. The gang id would only be handy if you were providing a link to the gang page.

Posted
I see a couple things that may need to be touched up;

You're unable to view this code.

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

That I dont see anywhere else just the initial query.

And just fetching the gang from the users table is only going to return the gang id as default unless you modified your users table to update the gang column to show the gang name. For example if im in that list and am in gang id 18 it will show 18 instead of my gang name. The gang id would only be handy if you were providing a link to the gang page.

Yea mines show the gang id

Posted
I see a couple things that may need to be touched up;

You're unable to view this code.

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

That I dont see anywhere else just the initial query.

And just fetching the gang from the users table is only going to return the gang id as default unless you modified your users table to update the gang column to show the gang name. For example if im in that list and am in gang id 18 it will show 18 instead of my gang name. The gang id would only be handy if you were providing a link to the gang page.

Yea mines show the gang id

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