You never cared about strings? (No, not that beatiful little tangas...)
You never put Strings in Quotes? (Things like this " or ' )
Surely you noticed that here (http://php.net/mkdir) they say some strange thing like this function requires a string as first argument and that they put this strange string in such strange quotes in the given examples?
I figured it out. It was deviding $username which has a value of 0 and you cant devide by 0.....thats not what i wanted it to do but it did that because i didnt change the directory....just has to add :
figured it out. It was deviding $username which has a value of 0 and you cant devide by 0.....
Yes, you divided $username, but the value of $username is not relevant, the "divide by 0" error comes 'couse you divided by password.
And password is neither a variable nor something else - it's just nothing.
thats not what i wanted it to do but it did that because i didnt change the directory....just has to add
ehm... sorry, I didn't understand what you're trying to do...
If it works now... great ;-)
Comment