Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <?php
  2. $dbhost = "localhost";
  3. $dbuser = "st2014";
  4. $dbpass = "progress";
  5. $dbname = "st2014";
  6. mysql_connect($dbhost,$dbuser,$dbpass) or die('cannot connect to the server');
  7. mysql_select_db($dbname) or die('database selection problem');
  8.  
  9. $sql="SELECT * FROM t143028ksks_users";
  10. $result_set=mysql_query($sql);
  11. while($row=mysql_fetch_array($result_set))
  12. {
  13.  
  14. ?>
  15. <?php echo $row['about'] ?>
  16. <a href="images/<?php echo $row['pic'] ?>" target="_blank">view file</a>
  17.  
  18. <?php
  19. }
  20. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement