I am using this function for checking a valid username:
function Valid_username($username)
{
if (ereg('^[a-zA-Z0-9]+$', $username))
return true;
else
return false;
}
and it does take into consideration the # character. Try it out.
I am not sure if you can or can't insert the date into db like dd-mm-yyyy, but a simple solution is to create a function which will format your date when you read from DB. I did that tbh
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.