I'm on it...
How stupid of me to think you couldn't use a quote in name.
What would the irish do, LOL.
I think $myvar = addslashes($vbulletin->userinfo['username']) should fix it.
I tested it on my forum yesterday and it seems to work fine.
Can anyone with experience verify that this is all I need to do??
And then I just stripslashes() after reading from DB?
What I don't understand is why I don't physically see the slashes in my database fields.
I just see the exact text name in the db.
Is this normal?
|