echo $item["country"]; ?> </option> <?php } ?> </select> </div> </div> <div class="form-group"> <label for="inputEmail3" class="col-sm-2 control-label">Callee's Country</label> <div class="col-sm-10"> <select class="form-control"> <?php $cnt = 0; foreach (openCSV("countries") as $key => $item) { ++$cnt; ?> <option value="<?php echo $item["country"]; ?> "><?php echo $item["country"]; ?> </option> <?php } ?> </select> </div> </div>
<table id="example1" class="datatable table table-bordered table-striped table-condensed cf"> <thead> <tr> <th>#</th> <th>Name</th> <th>Termination URI</th> <th>Origination URI </th> <th>No. of Channel</th> <th></th> </tr> </thead> <tbody> <?php $cnt = 0; foreach (openCSV("siptrunk-listing") as $key => $item) { ++$cnt; ?> <tr> <td><?php echo $cnt; ?> </td> <td><?php echo $item['name']; ?> </td> <td><?php echo $item['termination']; ?> .pstn.apibay.com</td>