Robert Cummings wrote:
> On Thu, 2007-06-14 at 12:12 +0200, Jochem Maas wrote:
>> Robert Cummings wrote:
>>> On Wed, 2007-06-13 at 13:57 -0400, [EMAIL PROTECTED] wrote:
double pipes constitutes an "OR" operation. You can use the keyword OR
as well. Also, && and AND are the same as we
On Thu, 2007-06-14 at 12:12 +0200, Jochem Maas wrote:
> Robert Cummings wrote:
> > On Wed, 2007-06-13 at 13:57 -0400, [EMAIL PROTECTED] wrote:
> >> double pipes constitutes an "OR" operation. You can use the keyword OR
> >> as well. Also, && and AND are the same as well.
> >>
> >> http://us.ph
Robert Cummings wrote:
> On Wed, 2007-06-13 at 13:57 -0400, [EMAIL PROTECTED] wrote:
>> double pipes constitutes an "OR" operation. You can use the keyword OR as
>> well. Also, && and AND are the same as well.
>>
>> http://us.php.net/manual/en/language.operators.logical.php
>
> They aren't ex
Dan Shirah wrote:
if ($type == 'T','D','L' {
$get_id.=" payment_request WHERE id = '$payment_id'";
}
if (in_array($type, array('T', 'D', 'L')))
{
...
}
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, June 13, 2007 12:35 pm, Dan Shirah wrote:
> Okay, I know this has got to be easy but it's not working any way I
> try it.
>
> When a record is selected it opens up a new page. My query will
> display the
> specific results based on the type of record selected. There can be
> multiple va
On Wed, 2007-06-13 at 13:57 -0400, [EMAIL PROTECTED] wrote:
> double pipes constitutes an "OR" operation. You can use the keyword OR as
> well. Also, && and AND are the same as well.
>
> http://us.php.net/manual/en/language.operators.logical.php
They aren't exactly the same. Make sure and re
double pipes constitutes an "OR" operation. You can use the keyword OR as
well. Also, && and AND are the same as well.
http://us.php.net/manual/en/language.operators.logical.php
-TG
= = = Original message = = =
Excellent! Double pipes to seperate possible multiple variable values.
Thank
Could try something like this:
$types = array('T', 'D', 'L');
if (in_array($type, $types)) {
// do something
}
But that's going to just check to see if $type is one of the valid types you're
looking for.
You might try something like switch.
switch ($type) {
case 'T':
// Output 'T' rec
Excellent! Double pipes to seperate possible multiple variable values.
Thanks Daniel!
On 6/13/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
On 6/13/07, Dan Shirah <[EMAIL PROTECTED]> wrote:
> Okay, I know this has got to be easy but it's not working any way I try
it.
>
> When a record is sele
On 6/13/07, Dan Shirah <[EMAIL PROTECTED]> wrote:
Okay, I know this has got to be easy but it's not working any way I try it.
When a record is selected it opens up a new page. My query will display the
specific results based on the type of record selected. There can be
multiple values in each
10 matches
Mail list logo