For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > June 2005 > what function to use to see if cell value exists









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author what function to use to see if cell value exists
Ashok

2005-05-31, 8:56 pm

Hi,
I am unable to find the proper function to get the following.
I have 2 cells with date and time in a table. I have to check if the
combination of given date & time exists in the table before a new record is
inserted.
Any idea what function will do this?

Ashok.


Kimmo Laine

2005-06-01, 3:55 am

"Ashok" <non2@mail.ru> wrote in message news:d7ijun$qps$1@gavrilo.mtu.ru...
> Hi,
> I am unable to find the proper function to get the following.
> I have 2 cells with date and time in a table. I have to check if the
> combination of given date & time exists in the table before a new record
> is
> inserted.
> Any idea what function will do this?


Would this help?
in_array() -- Checks if a value exists in an array

--
Welcome to Usenet! Please leave tolerance, understanding
and intelligence at the door. They aren't welcome here.
eternal piste erection miuku gmail piste com


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com