Advertisement
iNarutox

Untitled

Nov 21st, 2019
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. <?php
  2. $con = mysqli_connect("localhost","root","","login_d");
  3.  
  4. $Show2 = mysqli_query($con, "SELECT * FROM `login_tbl`");
  5. while($r = mysqli_fetch_array($Show2)):
  6. $c_idw = $r['c_id'];
  7.  
  8. $test = array(
  9. "$c_idw" => "$c_idw"
  10.  
  11. );
  12. foreach($test as $key => $value){
  13. echo $key . " : " . $value . "<br>";
  14. }
  15. endwhile;
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement