<?php
                $no=1;
				$js=0;
                if(isset($keripik_jual)){
                    foreach($keripik_jual as $row ){
                        ?>
                        <tr>
                            <td><?php echo $no++; ?></td>
                            <td><?php echo $row->id_keripik?></td>
                            <td><?php echo $row->nama_keripik?></td>
                            <td><?php echo $row->jml_pesanan?></td>
							    
							<td> <textarea id="jumlah" type="text" class="input-read-only" style="resize:none; width:50px;" name="item[]" onchange="jumlah();"  /> </textarea></td>
							<td> <textarea id="harga"  name="harga[]" readonly="readonly" style="resize:none; width:120px; height:30px;" onchange="jumlah();"  value="5000" > <?php echo currency_format($row->harga_per_kg)?> </textarea></td>
							<td> <textarea  id="subtotal" <?php echo $js; ?>" class="input-read-only"  readonly="readonly" style="resize:none;  width:120px; height:30px;" name="jum[]" onchange="jumlah();"   >  </textarea></td>
							<td> <select id="no_produksi"  name="no_produksi" style="resize:none; width:120px;" data-placeholder="Pilih No_Produksi">
							<option value=""></option>
							<?php
							if(isset($data_no_produksi)){
								foreach($data_no_produksi as $row){
                                ?>
                                <option value="<?php echo $row->NO_PRODUKSI?>"><?php echo $row->NO_PRODUKSI?></option>
                            <?php
								}
							}
								?>
							</select></td>
                        </tr>
                    <?php }
                }
                ?>
                </tbody>
				
			 
				<tr height="40">
				<td colspan="7"><strong>Jumlah Bayar </strong><input type="hidden" value="" name="Bayar" /></td>
				<td id="total">Rp. </td>
			</tr>
mohon pencerahannya :)
        <?php
class Ping extends CI_Controller{
	function __construct(){
		parent::__construct();
	}
	function Index(){
		$this->load->view('ping');
	}
	function Result(){
		if(isset($_POST['submit'])){
			$ip=$_POST['ip'];
			exec("ping -n 3 $ip", $output, $status);
			$data['title']="$output, $status";
			$this->load->view('ping',$data);
		}
	}
}<?php
	echo form_open('ping/result');
	?>
	<table>
		<tr>
			<td><input type="textbox" name="ip"></td>
		</tr>
		<tr>
			<td><button type="submit" name="submit">Submit</button></td>
		</tr>
	</table>
</form>
<?php echo $title; ?>