I'm having some trouble with INSERT INTO, it's kind of hard to explain, but I'll give it a shot.
We have a few pages that successfully write to our mySQL database. Fairly simple code, basically just the query and an error check.
We took that INSERT INTO code and put it inside of a page that collects user info and writes it to a cookie. The INSERT INTO then writes the info from the cookie to the db. For some reason it does not work. It's inside of an if statement that checks to see if the user already has information stored, if they don't then it writes to the db. that's the part that's not working.
Not sure if I'm clear enough, or if you need to see the code. If anyone understands this problem please let me know. Thanks