Hey thanks Mike
that surly made a difference.
Earl
'
- Original Message -
From: Ford, Mike [LSS] [EMAIL PROTECTED]
To: 'Earl' [EMAIL PROTECTED]; PHP-DB [EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 6:13 AM
Subject: RE: [PHP-DB] while - if - problem
-Original Message-
From
-Original Message-
From: Earl [mailto:[EMAIL PROTECTED]
Sent: 04 June 2003 22:04
To: PHP-DB
FYI
this was beginning to bug me out... so I decided to try the
trim function
and walla... it worked.
Thanks for ya'll assistance.
I was going to say this even before you added
Hey guys, I've got a problem with this piece of code
it is skipping the contents of the if and elseif statements and only printing the else
values, even though the if or one of the elseif statements might be true.
what could possibly be the problem??
';
}
else
$r_away['sport']='4';
$r_home['sport']='4';
$s_lt='ML';
$t_lt='TM';
}
Edward Dudlik
Becoming Digital
www.becomingdigital.com
- Original Message -
From: Earl [EMAIL PROTECTED]
To: PHP-DB [EMAIL PROTECTED]
Sent: Wednesday, 04 June, 2003 15:44
Subject: [PHP-DB] while
-
From: Becoming Digital [EMAIL PROTECTED]
To: PHP-DB [EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 1:52 PM
Subject: Re: [PHP-DB] while - if problem
You don't have a closing bracket on your while() loop and you should not
have
the else comments bracketed. Try this:
while($cols=ifx_fetch_row
[EMAIL PROTECTED]
To: PHP-DB [EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 1:52 PM
Subject: Re: [PHP-DB] while - if problem
You don't have a closing bracket on your while() loop and you should not
have
the else comments bracketed. Try this:
while($cols=ifx_fetch_row($eventQuery
FYI
this was beginning to bug me out... so I decided to try the trim function
and walla... it worked.
Thanks for ya'll assistance.
---
$eventQuery=ifx_query('select * from event'
.' where e_date = today '