Jump to content

An easy one...


coolphpdude

Recommended Posts

Hey there,

 

I think this is a nice easy one for any experienced people out there. My site allows a student to register as a user. Have a problem with users putting a space after choosing their username, for example a new user registers and chooses 'new' as the username but they put a space after it so it actually appears as 'new '. how do i format the username they choose so that any whitespace AFTER the username, is removed??

 

Cheers

Link to comment
https://forums.phpfreaks.com/topic/110725-an-easy-one/
Share on other sites

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.