You are here: Re: Gallery Pagination Result Problem « PHP Programming Language « IT news, forums, messages
Re: Gallery Pagination Result Problem

Posted by ste on 05/06/06 03:51

"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:mMedncq5GZlHdsbZnZ2dnUVZ_tSdnZ2d@comcast.com...
> 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
> ==================

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация