entering retrieved datas to database
<p>I have a php form with three text boxes (webmeasurementsuiteId, webmeasurementsId, Id) and the values in the text boxes are retrieved from other tables of the database. Now my task is to submit the retrieved values in this php form named (mapping) to the database. I have created the table with the following syntax:</p>

<pre><code>CREATE TABLE `mapping` (
  `webmeasurementsuiteId` INT NOT NULL,
  `webmeasurementsId` INT NOT NULL,
  `Id` INT NOT NULL,
  PRIMARY KEY (Id)
);
</code></pre>

<p>But I am getting an sql error as follows:</p>

<pre><code>INSERT INTO mapping(webmeasurementsuiteId,webmeasurementsId,Id) values ('','','7')

ERROR: Incorrect integer value: '' for column 'webmeasurementsuiteId' at row 1
</code></pre>

<p>Can anyone correct my error? plz view my coding in this link <a href="http://pastebin.com/LELEhRCX" rel="nofollow">http://pastebin.com/LELEhRCX</a></p>
