Jump to content
xisto Community

up2trouble

Members
  • Content Count

    5
  • Joined

  • Last visited

About up2trouble

  • Rank
    Newbie

Contact Methods

  • Website URL
    http://lynnesmith.net/
  1. dob field is varcharcurrent month is whatever type php gives to m
  2. When there are no birthdays for a particular month, I would like for it to say "There are no birthdays this month". When I tried, I got the phrase returned for every record in the db. Any suggestions? function displayBirthdays($connect, $db_table4){$sql = "SELECT dob, lastName, firstName FROM $db_table4 ORDER BY dob";$result = mysql_query ($sql, $connect) or die ('Query failed: ' .mysql_error()); while ($row = mysql_fetch_array($result)){$lastname = $row["lastName"];$firstname = $row["firstName"];$dob = $row['dob'];$month = substr($dob,0,2);$day = substr($dob,3,2);$currentmonth = date("m");if ($month == $currentmonth && $month != 00 ){echo"<FONT SIZE='+1'>$firstname $lastname - [$day]</FONT><BR>";}}}
  3. Argosy University in Sarasota, FL has a lot of foriegn student try them for phd
  4. I don't think I've ever seen anything this interesting. I would have appreciated a warning that it will cause temporary blindness.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.