Jump to content
MakeWebGames

Recommended Posts

Posted

Hey guys,

This my first little attempt at something like this. It's only small and basic, but can be very helpful.

It give admins the chance to edit users donator days accordingly in the "Edit Users" area.

So, give it a whirle and let me know what you think. :)

Firstly, Open staff_users.php

Find:

 

You're unable to view this code.

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

 

Replace with:

 

You're unable to view this code.

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

 

And then, still in staff_users.php, find:

 

You're unable to view this code.

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

 

And Replace with:

 

You're unable to view this code.

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

 

Then, still in the same file :), find:

 

You're unable to view this code.

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

 

And Replace with:

 

You're unable to view this code.

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

 

And your done :).

Easy little mod, but can help alot :)

Thanks,

Monkey644

Posted
Nice mod mate. Havent tsted but looks good. Also I'm not sure but I think echo is faster than print (I'm used to using it anyway). Nicely done.

print and echo has no speed different,

what ive heard is that apperently echo can be used with more with functions and its more of a PHP 6 thing.

but also i think what you have done Monkey644 will work but it help if it wasnt all on 1 line so its easier to see/copy.

Posted
Nice mod mate. Havent tsted but looks good. Also I'm not sure but I think echo is faster than print (I'm used to using it anyway). Nicely done.

print and echo has no speed different,

what ive heard is that apperently echo can be used with more with functions and its more of a PHP 6 thing.

but also i think what you have done Monkey644 will work but it help if it wasnt all on 1 line so its easier to see/copy.

My bad, i dont have a clue how to make it as paragraphs :S And thanks For feedback :)
Posted

Nicholas is right, they have no difference. But using HTML tags are more efficient the using the echo() & print() in one go.

But, echo() & print() are needed in these cases. :)

Posted

1: It's exacly the same. Echo probs would be 0.00000000000001 seconds faster, WOW!

2: No need to tell me to F off, and call me a fool.

Grow up.

Posted

I Have just talked to a firend. "Roy Bains" he knows alot about PHP & other languages. He said this: -

[Administration Chaos] 9:12 pm: It has no difference apart from the coding speed. Use print is typing 5

chars using echo only 4.

[Administration Chaos] 9:12 pm: There is no considerable performance gain.

But what I would understand ECHO would be faster in cases like this.

print'

Poke</p>';

echo"

mon</p>";

2+ Echos will just continnuisly echo will be slower. But if yout PRINT() then ECHO(), It would be faster. Tested by myself ro the past 5 mins.

Posted
I Have just talked to a firend. "Roy Bains" he knows alot about PHP & other languages. He said this: -

[Administration Chaos] 9:12 pm: It has no difference apart from the coding speed. Use print is typing 5

chars using echo only 4.

[Administration Chaos] 9:12 pm: There is no considerable performance gain.

But what I would understand ECHO would be faster in cases like this.

print'

Poke</p>';

echo"

mon</p>";

2+ Echos will just continnuisly echo will be slower. But if yout PRINT() then ECHO(), It would be faster. Tested by myself ro the past 5 mins.

echo has a slight performance gain;

Also different topic you're friend is the admin of some chaotic game (He told me off for mentioning McCodes -.-)

As for your statement no comment! Actually one: Be consistent!

Shutup fool, echo is faster than print. The end. if you disagree, fuck off and google it n00b

Danny that was out of order!

[warnbox]Keep it friendly, this applies to all![/warnbox]

To the OP nice addition.

Posted
Tip: The echo() function is slightly faster than print().
From W3Schools, thay cant lie now can they -.- any more evidence you want.

I think you mentioned it ;)

  • 2 weeks later...
  • 2 years later...

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