Maybe this question has been asked before but I am struggling in doing this. I have got a php  file which does not include any piece of php code (might be in the future),it includes just javascript and some html. What I want to do is clicking a button in this php file to send some amount of data to another php file.
put it this way..

1-I have got a saveProfile function in a.php and a button is calling this function

  function  saveProfile (){  
      var variableD = 'sample data';
      $.post("dbConn.php", { js: variableD});
  }


2-I have got another php which is called dbConn.php that receives data and stores in a database table.

I have found so many examples. I have applied them but it still does not work and is driving  me nuts. I am a java programmer but new in php.
Any help is appreciated.give me some clean sample code or if you see any mistake please kindly warn me. Thanks to all in advance...

Regards.
Ozlem.


Question: Difference between Pantone FORMULA GUIDE and DESIGNER FIELD GUIDE?
Answer: From what I understand, the only real difference in Pantone's "Field Guide" is the tear out chips. If you need chips to attach with client proofs or whatever and you don't want to buy a separate chip book, go with the Field Guide. 

Personally, I never use chips any more. I just stick with the standard fan books. If for some reason I need a sample of the ink, I ask the printer for a draw down on the actual paper and use that in client discussions.