CodeIgniter Forums
How to come the value of modal in description ? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: How to come the value of modal in description ? (/showthread.php?tid=86869)



How to come the value of modal in description ? - postgres - 02-22-2023

Dear Friends,
I got a system to maintain . In that there is a code segment as below 
PHP Code:
<?php if(modal('citems/instockinListItem/')=="on"): ?>    
                      <a  title="In Stock" style="margin-bottom: 10px" class="btn btn-primary" data-toggle="modal" data-target="#in_stock" id="in_stock"  >In Stock</a>
                      <?php endif; ?>
I search all part of the code for this. but no idea how to get this "on" value for it. any body please advise

Thanks
Anes P A