The problem is trivial, but I could not google it, so if you tell me which way to look, I will be very grateful. Do not kick much, I study php 2 week.
Given : Table in mssql 2005 (old old site written on tabular layout). It is necessary to add 4 buttons so that they display 4 different messages in two columns. Buttons: Agreed / inconsistent, Result accepted / not accepted. I added 6 new posts to the database with the names reconcile, reconcile_date, unreconcile. resul, result_date, unresult. The site must display the consistency of the object and the result. I tried to write the code myself. But something went wrong, and the values are not displayed.
PS There are also additional variables of the type of time and the name of the coordinating and receiving result.
An example of my code is this:
if (isset($d['reconcile'])) { $rec = echo 'Согласованно' . $rtime . $d['rname']; } else { if (isset($d['unreconcile'])) { $rec = echo 'Несогласованно' $rtime . $d['rname']; } else { $rec = echo ' '; } }