Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

If statments

Status
Not open for further replies.

jayne1

Technical User
Feb 5, 2002
7
GB
Helloooooooooooooo people!

I have a problem with my IF condition.....the code is within a while loop:

if ($file >= $date) {
include("results/$file");
}

The above works fine, however, when i change the condition from '>=' to '<=' the browser returns error message:

'input in flex scanner failed on line 1'

ANYONE COME ACROSS THIS BEFORE???
 
it's possible that the error is not in the script, but in the scrip that is being included. ie. your (result/$file).

cheers devnull22
(Knowledge Base Center )

--
Apparently if you play the Windows NT CD backwards you hear satanic messages. If you think that's bad, play it forwards and it installs Windows NT !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top