r variable or a string containing only
numeric data
}
HTH
-Minuk
- Original Message -
From: "GH" <[EMAIL PROTECTED]>
To: "John Holmes" <[EMAIL PROTECTED]>
Cc: "GH" <[EMAIL PROTECTED]>; "PHP General" <[EMAIL PROTECTED]>
Re: "Does it _really_ matter if only a number is passed? "
I would think so since if someone is trying to pass a string that is
not proper it should be treated as such and not as if they are just
take the first set of numbers and Throw away all the rest.
Maybe I am over thinking this or I am bei
GH wrote:
How can I convert it to an integer aslong as it is only a number in the string?
Does it _really_ matter if only a number is passed? If someone passes
"abcd" and it's converted to an integer, it'll be zero. Then your query
will not return any rows (which you're already testing for, anyho
How can I convert it to an integer aslong as it is only a number in the string?
On Mon, 11 Oct 2004 13:19:40 -0400, John Holmes
<[EMAIL PROTECTED]> wrote:
> GH wrote:
>
> > Now I m perplexed time 10!
> >
> >I run the code that follows this time providing a query string
> > of admin_temp
GH wrote:
Now I m perplexed time 10!
I run the code that follows this time providing a query string
of admin_template.php?api=101
I have an if statement that tests if $_GET['api'] == 0 if it is
true I have it listing options, else it queries the database with that
ID and loads the assoc
Now I m perplexed time 10!
I run the code that follows this time providing a query string
of admin_template.php?api=101
I have an if statement that tests if $_GET['api'] == 0 if it is
true I have it listing options, else it queries the database with that
ID and loads the associated fi
6 matches
Mail list logo