topical media & game development

talk show tell print

mashup-delicious-05-example5-1.php / php



  <?php
  php_date = date("Y-m-d");
  echo "The date is php_date.";
  mysql_connect('localhost','root');
  query = "SELECT DATE_ADD('php_date',interval 100 day)";
  result=mysql_query(query);
  row = mysql_fetch_row(result);
  echo " The date in 100 days will be row[0].";
  ?>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.