You should pass the information using either GET or POST (google these for more information). Default is GET, and in the php code you posted above you were requesting variables via the POST method...
Type: Posts; User: copeg
You should pass the information using either GET or POST (google these for more information). Default is GET, and in the php code you posted above you were requesting variables via the POST method...
I'm not truly sure what javascript has to do with this...do you want to be able to do something with the values client side? If not, then there is no reason
msyql_query calls the passed SQL...