Jump to content

Question about usernames


play_

Recommended Posts

  • 2 weeks later...
When you start using spaces and sybols, they tend to interfer with scripts and other programs. Take for instance. if you have a username john's, if you try to reference that name in php with something like this $username = 'john's'; you will get an error because of the single quote in the username. you would have to add $username = 'john\'s'; to get it to work. Now imagine if you had a script that put names into arrays, you would be in a world of hurt trying to figure out why things are not working correct.

Hope that explains it. It is not really a rule, more like a guideline to make life easier.

Ray

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.