SHARE
TWEET

Untitled

a guest Apr 21st, 2012 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $dt = date('Y-m-d');
  3. echo "Текущая дата на сервере: $dt";
  4. $datemuz = mysql_query("SELECT id,name,data,text FROM muzpokaz where 'data' = $dt", $db) or die(mysql_error());
  5. $array = mysql_fetch_array ($datemuz);
  6.  
  7. printf  (" <div class=hm>%s</div>
  8.        <div class='data'>%s</div>
  9.                  
  10. %s<br>", $array["name"],$array["data"],$array["text"]);
  11.  
  12. ?>
RAW Paste Data
Top