Jump to content
MakeWebGames

Is There Anyway I Can Change The Levels From 1 2 3.. To Like Scumbag, Civilian..


-CrAzY-

Recommended Posts

Re: Is There Anyway I Can Change The Levels From 1 2 3.. To Like Scumbag, Civili

 

i want to change the name of the levels into ranks like scumbag, civilian vandal...

but i want to only change the name of the levels, so wen i make a new house i still put Minh Level as 1 , 2 ,3 ........

thanks!

yes... you can. I think you should pay someone to do it for you, since just about everyone here can do it...except you.

Link to comment
Share on other sites

Re: Is There Anyway I Can Change The Levels From 1 2 3.. To Like Scumbag, Civili

i havent looked at php code for a month now lol but if i understand what your saying code would be something like this:

if ($ir['level'] == 1) { $ir['rank'] == Scum }
OR
if ($ir['level'] == 1) { print "Scum"; }
Link to comment
Share on other sites

Re: Is There Anyway I Can Change The Levels From 1 2 3.. To Like Scumbag, Civili

No, That still wont work...

/// If user level is one then...

if ($ir['level'] == 1)

{

///$ir['rank'] varible equals scum

$ir['rank'] == Scum

}

It doesnt output anything... nor does it select or add anything to a table...

Link to comment
Share on other sites

Re: Is There Anyway I Can Change The Levels From 1 2 3.. To Like Scumbag, Civili

 

if ($ir['level'] == 1)

{

///$ir['rank'] varible equals scum

mysql_qry=UPDATE users SET rank=Scum

}

but obviously with the mysql query right

? Whats the point in that? Your still not going to display anything... so then you still have to add (echo 'Rank :'.$ir[rank].'.';) in there...

The query is pointless and a waste of resources =/

 

if ($ir['level'] == 1) { echo "Scum"; }

 

Does the same, no mysql!

Link to comment
Share on other sites

Re: Is There Anyway I Can Change The Levels From 1 2 3.. To Like Scumbag, Civili

 

if ($ir['level'] == 1) { echo "Scum"; }

 

Does the same, no mysql!

THats what i suggested at first, exactly that except for it was print "Scum"; not echo "Scum"; lol

Link to comment
Share on other sites

Re: Is There Anyway I Can Change The Levels From 1 2 3.. To Like Scumbag, Civili

 

if ($ir['level'] == 1) { echo "Scum"; }

 

Does the same, no mysql!

THats what i suggested at first, exactly that except for it was print "Scum"; not echo "Scum"; lol

 

I know... I just stated that the second example you gave was incorrect. lol ;)

 

They don't seem to be very good tutorials

LOL I like this one...

 

HTML Basics

HTML stands for HTML stands for Hyper Text Markup Language

HTML files end with .html

Text / Links

When using html you can format text so that its bold underlined and much more by editing the html tag

for example

Code

BOLD

Would output: Bold

Code

Home

Would output: Home

as a link once click it will redirect the user to the index.html page.

Submited By: EmoCoder

Its now You shouldnt be learning HTML is way out of date, you should be learning XHTML and CSS... Get with the future, you will need to if you want to get anywhere. Also HTML files can end in more than just *.HTML... Frontpage defualts to *.htm.

You can have *.shtml, *.xhtml as defualts aswell... Then depending what your server is configured to you can have it as any extension you want, so longs as its not in use!

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