I have a table in SQL Server database. I created an "edit.php" where we can update the database. The database connection is established using PDO. The issue is: I have a lot of Null values in the table. When I click "Edit" option, the form pops out. If I completely fill the records, the database gets updated. Otherwise I get this error message. SQLSTATE[42000]: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Error converting data type nvarchar to numeric.
The codes for my edit.php are included below:
<SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">require_once</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">(</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">'database.php'</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">);
</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"></SPAN><SPAN class="" style="color: #101094; border: 0px; font-size: 13px;">if</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">(</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">isset</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">(</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">$_POST</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">[</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">'btn_submit'</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">]))</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">{</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
$id </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> $_POST</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">[</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">'txt_id'</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">];</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
$site </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> $_POST</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">[</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">'txt_site_code'</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">];</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
$location </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> $_POST</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">[</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">'txt_location_name'</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">];</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #101094; border: 0px; font-size: 13px;">try</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">{</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
$stmt </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> $conn</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">-></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">prepare</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">(</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"UPDATE MATRIX SET Site_Code=:site,
Location_name=:location WHERE OBJECTID =:id"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">);
</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">$stmt</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">-></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">execute</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">(</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">array</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">(</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">':site'</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> $site</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">,</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">':location'</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> $location</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">,</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">':id'</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> $id</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">));
</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"></SPAN><SPAN class="" style="color: #101094; border: 0px; font-size: 13px;">if</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">(</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">$stmt</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">)</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">{</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
header</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">(</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">'Location:index.php'</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">);</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">}</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">}</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #101094; border: 0px; font-size: 13px;">catch</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">(</SPAN><SPAN class="" style="color: #2b91af; border: 0px; font-size: 13px;">PDOException</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> $e</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">)</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">{</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
echo $e</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">-></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">getMessage</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">();</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">}
</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">}</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
$object_id </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">''</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">;</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
$site </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">''</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">;</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
$location </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">''</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">;</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #101094; border: 0px; font-size: 13px;">if</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">(</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">isset</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">(</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">$_GET</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">[</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">'id'</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">]))</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">{</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
$id </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> $_GET</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">[</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">'id'</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">];</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
$stmt </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> $conn</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">-></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">prepare</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">(</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"SELECT * FROM MATRIX WHERE OBJECTID=:id"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">);</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
$stmt</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">-></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">execute</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">(</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">array</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">(</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">':id'</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> $id</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">));</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
$row </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> $stmt</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">-></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">fetch</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">();</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
$object_id </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> $row</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">[</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">'OBJECTID'</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">];</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
$site </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> $row</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">[</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">'Site_Code'</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">];</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
$location </SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> $row</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">[</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">'Location_name'</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">];
</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">}
</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">?></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;"><h2></SPAN><SPAN class="" style="color: #2b91af; border: 0px; font-size: 13px;">Edit</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> the records</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"></</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">h2</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"><</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">form action</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">""</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> method</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"post"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"><</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">table border</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"3px"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> cellpadding</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"5px"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;"><tr></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;"><td></SPAN><SPAN class="" style="color: #2b91af; border: 0px; font-size: 13px;">Site</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #2b91af; border: 0px; font-size: 13px;">Code</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"></</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">td</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;"><td></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"><</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">input type</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"text"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> name</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"txt_site_code"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> value</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"<?= $site; ?>"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">></</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">td</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">tr</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;"><tr></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;"><td></SPAN><SPAN class="" style="color: #2b91af; border: 0px; font-size: 13px;">Location</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> </SPAN><SPAN class="" style="color: #2b91af; border: 0px; font-size: 13px;">Name</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"></</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">td</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;"><td></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"><</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">input type</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"text"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> name</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"txt_location_name"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> value</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"<?= $location; ?>"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">></</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">td</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"></</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">tr</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;"><tr></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;"><td></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"><</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">input type</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"hidden"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> name</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"txt_id"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> value</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"<?= $object_id; ?>"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">></</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">td</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;"><td></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"><</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">input type</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"submit"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> name</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"btn_submit"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"> value</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">=</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-size: 13px;">"Submit"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">></</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">td</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">
</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"></</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">tr</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">>
</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"></</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">table</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">>
</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"></SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"></</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">form</SPAN><SPAN class="" style="color: #303336; border: 0px; font-size: 13px;">></SPAN>Thanks