Advertisement
Guest User

Untitled

a guest
Apr 14th, 2016
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. $host= "localhost";
  2. $user= "xxxx";
  3. $pass= "xxxx";
  4. $db="xxxx";
  5.  
  6. $connect= mysql_connect($host,$user,$pass);
  7. if (!$connect)die ("Cannot connect!");
  8. mysql_select_db($db, $connect);
  9.  
  10. $result = mysql_query("
  11. SELECT
  12. *
  13. FROM
  14. xxxx
  15. ");
  16.  
  17.  
  18. if($result){
  19. while($row = mysql_fetch_array($result, MYSQL_ASSOC)){
  20.  
  21. $url = $row['xxxx'];
  22. echo $url;
  23. }
  24. }
  25.  
  26. row1 //wait 5 sec
  27. row2 //wait 5 sec
  28. row3 //wait 5 sec
  29. row4 //wait 5 sec
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement