please correct the below query. i want to display variable value to textbox using echo command.
variable can have both null and non null values.
<td>First Party*:</td><td><input type="text" name="firstparty" value="<?php echo is_null($firstparty)? "":$firstparty;?>"/></td>
error message:<br /><b>Notice</b>: Undefined variable: firstparty in <b>C:\xampp\htdocs\claim\claimform.php</b> on line <b>134</b><br />none. However issue is observed when the form gets loaded (first time/reset time
Note:if $firstpartyis not null then it is working fine meaning vlaue is getting displayed.
However issue is observed when the form gets loaded (first time/reset time