Jump to content

Teaky

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Teaky's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi guys, I’m kind of stuck with the following item.  ??? Any help would be great…… Basically I hoping to build a form, with the following details:- [code]Date of Incident Time of Incident Name (optional) Address (optional) Contact Tel. No. (optional) Contact Email (optional) Question1 Answer1[/code] I want this information to be sent to an email address. I know it would be better to sent to database, but I want it to be sent to email address. Any help would be great!!!!  :D
  2. Hello there, :D I have a job, which asks me to display links on a web page, as long as their expiry date is valid. Basically I need a piece of code that… 1) Grabs the Expiry date from the column of the table. 2) It then compares it to today’s date. 3) Only display the link if it hasn’t reached its expiry date. The way I did it was… [code]$today = date("d/m/y"); SELECT link FROM table WHERE exp_date <= $today[/code] However this only compares the first values i.e. the days and it ignores everything else. :( I’ll be grateful for anyone who helps.  :) Teaky
×
×
  • Create New...

Important Information

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.