Oh, just thought this might help. This is the actual url it that is failing:
<a href="article_maint_ed.php?Type=e&Art=2&First=1&Last=1&Criteria=" title="Edit this record">Edit</a>
and this is the same one when criteria has something in:
<a href="article_maint_ed.php?Type=e&Art=2&First=1&Last=1&Criteria=article_id+IN+%281%2C2%29" title="Edit this record">Edit</a>
and this is the PHP code that produces the url:
<a href="article_maint_ed.php?Type=e&Art=<?php echo $aCols["article_id"]; ?>&First=<?php echo $getFirst; ?>&Last=<?php echo $intFirstMinus1; ?>&Criteria=<?php echo funLinkEncode($getCriteria); ?>
I can't spot that there's anything wrong with them, but it may be a case of woods and trees as I've spent so much time trying to sort it out.
As I said, I've tried putting criteria in every position in the url parameters, but the problem still happens when it has no data, no matter where it is.
Debbie-Leigh