i was trying to echo my data using html but unfortunately it's getting an error:
this is my code :
<?php echo form_open("dashboard/edit_product/$product_id");?> <div class="form-group"> <div class="col-sm-10"> <input class="form-control" type="text" name="r_name" value="<?php echo($r_name); ?>"> </div> </div> <?php echo form_close(); ?> 
<? and phpat<? php echo($r_name); ?>and what is the value of$r_name??print_r($r_name)and paste its value