QUOTE(swordz @ Oct 9 2009, 09:03 PM)

Where are the actual connection lines?
You're still using some messy syntax as well - interpolated variables take longer, also it doesn't like the [,] characters I find without {} around the variable. Then, your keys are actually constants. Have you defined these constants? I doubt it. You should be escaping them to be strings.
Can you please put var_dump($_SESSION); before the $ssq line, then run this page and paste the ENTIRE output. Also, can you not use include - it means we don't actually see the whole script. Also, including a txt file is risky - if someone finds out where it is, it'll be served as a text file, giving people your passwords.
Swordz
1) everyone has different coding styles. unless you can point me to a "proper" tutorial. im just going to have to learn as i go. And if your going to teach me to do it the right way.. please explain the terminology

granted some of it might be a little off. but i am working on a pretty big project by myself.
2) Because as i've been saying since the beginning of this post ALL my other connections work FINE.
And i did them the same exact way as this one.. actually i left some of the stuff you told me OUT and they still work completely fine. and have been for almost 4 months now. If the syntax was the cause.. wouldn't it be safe to assume that it would have manifested months ago when i first used it?
3)i chose to work from big to small. the website is not open to the public or even close to beta testing YET becuz i can't even insert into a database.
I stripped and escaped all my data, i tinkered and tested on my own for weeks before i even posted here. Me having to wait on replies slows down my work. i would rather work it out myself.. it's just that through trial and elimination i've realized it could possibly be the settings zymic has set up for php my admin.. which is what i asked and no one answered about. all i was told is to "post code"
I just had a simple question. Sure the code needs to be touched up. But my issue here is
why isn't the database accepting a query that worked 2 minutes beforehand?it only happens when i try to UPDATE or INSERT. aka.. change info in the database or add to DB from the webpage.
4)and i know about the text file. i'm going to change all that and fix all security issues before i get ready to beta test. And by the same token, that's why my connection information is IN a include file....security.
having said all that i will post the dump info u requested
oh and thanks for noticing the constants. i was in such a rush to get the code working that i didn't notice!