Thank you, but there is no form on the page. The variable $_REQUEST[l_id] is passed from <A HREF> on a previous page. I understand how passed variables are retrieved from a form or through an url, but this particular snippit retrieves a collection of photographs from a table where the id is x. The id is being passed (I can echo it) but 'there are no photos for this listing' is echoed along with it.
I'm not sure what variables here have to be changed, since they are all declared earlier on in the same script - ie. $limit, $page, $limitvalue1. If the variable is declared earlier in the script (with no input from outside sources), I don't know what to change the variables to ($GET/$REQUEST/$_POST etc.) or if they even need to be, and, if not, then what is the problem?
thanks again