[!--quoteo(post=354664:date=Mar 13 2006, 05:36 PM:name=fenway)--][div class=\'quotetop\']QUOTE(fenway @ Mar 13 2006, 05:36 PM) [snapback]354664[/snapback][/div][div class=\'quotemain\'][!--quotec--] First, if you use single quotes, PHP won't interpolate the variables, so that's not going to work -- you need double quotes for this. [/quote] Alright thanks for that info - so that means somethings wrong with a " on line? I've checked and they are all closed [!--quoteo(post=354664:date=Mar 13 2006, 05:36 PM:name=fenway)--][div class=\'quotetop\']QUOTE(fenway @ Mar 13 2006, 05:36 PM) [snapback]354664[/snapback][/div][div class=\'quotemain\'][!--quotec--] Second, it's very dangerous to take POST input and dump it directly into a query -- I don't see any check for special characters, [/quote] Oh ok, yea I'll make sure I'll put in checks once it goes on my website [!--quoteo(post=354664:date=Mar 13 2006, 05:36 PM:name=fenway)--][div class=\'quotetop\']QUOTE(fenway @ Mar 13 2006, 05:36 PM) [snapback]354664[/snapback][/div][div class=\'quotemain\'][!--quotec--] and you're not using backticks around the table or column name [/quote] Oh yea, I think I saw inside myphpadmin that it used `, wasn't sure what it was for, so thats important? [!--quoteo(post=354664:date=Mar 13 2006, 05:36 PM:name=fenway)--][div class=\'quotetop\']QUOTE(fenway @ Mar 13 2006, 05:36 PM) [snapback]354664[/snapback][/div][div class=\'quotemain\'][!--quotec--] Third, what does doubled-quoted query echo as? Are you $cols has a value? Post the query after interpolation here. [/quote] Yea I don't think $cols has a value but I don't know why - oh wait OHHH wait..I know something I forgot, hehe silly me, I did it early with some code, forgot to do it here - so yea this what it ouputs () deteled from movies $cols is suppose to be between (), so its empty but I know why now