Location: PHPKode > scripts > Up Birthday > kbbirthday/kbbirthday/index.php
include "config.php";

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

  <title>Free PHP Scripts</title>
  <meta name="description" content="KB Kunal Bansal is a web hub that provides the user with the 

free PHP script, tools, site references ,php hosting, php tools and much more..."/>
  <meta name="keywords" content="web hub, scripts, free php scripts, php, free, php tools, php 

information, php hosting, php softwares,php affiliate script, php theme script, php login script, 

free webspace, free homepage, webpage, website, web site, free web site, web host, web hosting, 

free web host, free web hosting, cheap web host, cheap web hosting, building a web site, hosting 

a web site, web publishing, web site tools, web authoring, Free domain name, domains, site host, 

building a blog, web site creation tools, domain hosting, top hosts, free scripts,compare"/>
  <meta name="ROBOTS" content="ALL"/>


<h1>Upcoming Birthday's</h1>
<table border="0" class=maintext2  cellpadding="0" cellspacing="0" style="border-collapse: 

collapse" bordercolor="#111111" width="100%">
    <td width="100%" valign="top">
         <marquee direction=up height=60 onmouseout=this.start() onmouseover=this.stop()
scrollAmount=3 scrolldelay=60 width=140>


$nowdd= gmdate("d" , time() + 19800);
$nowmm= gmdate("m" , time() + 19800);

$qrybdy="SELECT * FROM tbbdy where 
bdymm='$nowmm' AND bdydd>='$nowdd' AND bdydd<='$nowdd2' order by bdydd ";

$nbdy = mysql_num_rows($rslbdy);

for ($i=0; $i<$nbdy ; $i++)
$arrbdy =  mysql_fetch_row($rslbdy);

if ($nowdd==$arrbdy[2])
echo "
	<b>$arrbdy[6] $arrbdy[7]</b><br>
         <b>Today</b> $arrbdy[2]  $arrbdy[3]<br>

         <HR width='40%'>
echo "
	<b>$arrbdy[6] $arrbdy7]</b><br>
	 $arrbdy[2]  $arrbdy[3]<br>
         <HR width='40%'>

$qrymon="SELECT * FROM tbmon where monid='$nowmm'  ";
$nmon = mysql_num_rows($rslmon);
$arrmon =  mysql_fetch_row($rslmon);

$qrymon2="SELECT * FROM tbmon where monid='$nowmm2'  ";
$nmon2 = mysql_num_rows($rslmon2);
$arrmon2 =  mysql_fetch_row($rslmon2);

$qrybdy2="SELECT * FROM tbbdy where 
bdymm='$nowmm3' AND  bdydd<='5' order by bdydd ";
$nbdy2 = mysql_num_rows($rslbdy2);

for ($i=0; $i<$nbdy2 ; $i++)
$arrbdy2 =  mysql_fetch_row($rslbdy2);

echo "
	<b>$arrbdy2[6] $arrbdy2[7]</b><br>
	 $arrbdy2[2]  $arrbdy2[3]<br>
         <HR width='40%'>





Return current item: Up Birthday