Check before insert in Database
- From: "Steph" <stephane.vollet@xxxxxxxxxx>
- Date: Sun, 21 May 2006 22:40:14 +0200
hello everyone,
I would to know how to check the value I am getting from an HTML form.
Let's put it that way, I need to get a string and I would like to make sure
this is a string and not a number for instance.
What kind of test could I use to check that?
//here is the line where I get the value
$variable = $_POST['value'];
The point is I have to insert the data in an Oracle database. And I would
like to test it before sending the data to the database.
Any advice, please?
.
- Follow-Ups:
- Re: Check before insert in Database
- From: Chirag Shukla
- Re: Check before insert in Database
- From: NC
- Re: Check before insert in Database
- From: mattyfroese@xxxxxxxxx
- Re: Check before insert in Database
- From: Gordon Burditt
- Re: Check before insert in Database
- From: Paul Lautman
- Re: Check before insert in Database
- Prev by Date: Re: fsockopen problem
- Next by Date: Re: Variable scope - function in function
- Previous by thread: Variable scope - function in function
- Next by thread: Re: Check before insert in Database
- Index(es):
Relevant Pages
|