Re: Gallery Pagination Result Problem
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Fri, 05 May 2006 21:49:32 -0400
ste wrote:
"Jerry Stuckle" <jstucklex@xxxxxxxxxxxxx> wrote in message news:mMedncq5GZlHdsbZnZ2dnUVZ_tSdnZ2d@xxxxxxxxxxxxxx
ste wrote:
"Jerry Stuckle" <jstucklex@xxxxxxxxxxxxx> wrote in message news:SNWdnWxNpsKsrMbZnZ2dnUVZ_v-dnZ2d@xxxxxxxxxxxxxx
<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@xxxxxxxxxxxxx
==================
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@xxxxxxxxxxxxx
==================
Hi Jerry,
I am doing this too. I've got PHP and My SQL for Dummies, and PHP and MySQL Web Development. Although I know HTML inside out, I'm finding PHP very though going.
By the time I fully understand the code, it could be months and months down the line. I seem quite close with my limited understanding and help from the group, so was just wondering if there was anything quick and obvious that someone could spot that would make it all work.
I'll keep plugging away at it, though I'm still open to suggestions! ;-)
Thanks,
Stephen
Stephen,
Not really at this point. Obvious problems are resolved, but anyone would have to look through a lot more code to understand your latest problems.
Welcome to the world of programming! :-)
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- References:
- Re: Gallery Pagination Result Problem
- From: Jerry Stuckle
- Re: Gallery Pagination Result Problem
- From: Jerry Stuckle
- Re: Gallery Pagination Result Problem
- Prev by Date: Re: Question on php questionmark variables but slash instead
- Next by Date: Re: web calendar reservation systems
- Previous by thread: Re: Gallery Pagination Result Problem
- Next by thread: Re: Gallery Pagination Result Problem
- Index(es):
Relevant Pages
|