Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.28 KB | None | 0 0
  1. <?php
  2.   include("../db.php");
  3.  
  4.   $datum = $_GET['value'];
  5.  
  6.   $query = "SELECT header FROM calendar WHERE published='$datum'";
  7.   $result = mysql_query($query)
  8.     or die(mysql_error());
  9.    
  10.   while($row = mysql_fetch_array($result))
  11.   {
  12.     echo $row['header'];
  13.  
  14.   }
  15. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement