|
Posted by Jerry Stuckle on 05/06/06 03:20
ste wrote:
> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
> news:SNWdnWxNpsKsrMbZnZ2dnUVZ_v-dnZ2d@comcast.com...
> <snip>
>
>>Howdy.
>>
>>One thing I see - you use $where before you set it. What happens if you
>>move the code which sets $where earlier in your routine?
>>
>>--
>>==================
>>Remove the "x" from my email address
>>Jerry Stuckle
>>JDS Computer Training Corp.
>>jstucklex@attglobal.net
>>==================
>
>
> Hi Jerry,
>
> When I moved the code which set's $where to above the first $where, I found
> that although gallery.php worked fine, gallery.php?category=landscape failed
> to run and I got an error message.
>
> Do you have any more ideas at all?
>
> I feel like the problem is to do with the $query values and I'm just not
> setting them correcly with the new piece of code, or not in the right order.
>
> To add to this, I've just noticed that when I load the landscape gallery,
> not only does it display all images now (albeit in a paginated format)
> instead of just the landscape images, but if I click the paginated result
> for page 2, it changes the page title back to just Gallery, instead of the
> main page of Landscape gallery.
>
> This looks like it's more involved than I thought it would be! :-(
>
> Again, if you or anyone else spot anything else obvious, please let me know.
>
> Thanks,
>
> Stephen
>
>
Stephen,
Sounds like you need to study the code and understand it a little more.
I've never found it productive to change code (or even implement someone else's
code as part of mine) until I understood just what it was doing.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|