Advertisement
Guest User

Untitled

a guest
Oct 20th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4. $sdd_db_host='';
  5. $sdd_db_name='';
  6. $sdd_db_user='';
  7. $sdd_db_pass='';
  8. @mysql_connect($sdd_db_host,$sdd_db_user,$sdd_db_pass);
  9. @mysql_select_db($sdd_db_name);
  10. $result=mysql_query('SELECT * FROM `Citys`');
  11. while($row=mysql_fetch_array($result))
  12. {
  13. echo $row['City'].”<br>”;
  14. }
  15.  
  16. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement