[nycphp-talk] title display based on page view
yury at heavenspa.com
yury at heavenspa.com
Tue Feb 10 10:05:32 EST 2004
Chris hrmm I guess I'm still 1/2 asleep. I'd like to help some pages get
relevant titles based on which page is displayed. So the example is like so:
i have 51 pages - each page is a state name : state.php
i'd like to have 51 titles that have a few of the major cities from that
state.
I'd like the title to be displayed based on the state.php page.. I guess i
could do a huge swtich/case, but was wondering if there is a smart/simple
way..
hope this made more sense :)
regards
yury
----- Original Message -----
From: "Chris Bielanski" <Cbielanski at inta.org>
To: "'NYPHP Talk'" <talk at lists.nyphp.org>
Sent: Tuesday, February 10, 2004 9:36 AM
Subject: RE: [nycphp-talk] title display based on page view
> I can think of several ways to do that starting with looking at
> $_SERVER['PHP_SELF'], or in the URL. Unfortunately, it would be necessary
to
> get more details on what you're trying to accomplish - this information
opn
> the problem is awfully vague. Tell us more!
>
> Thanks,
> Chris Bielanski - [CBielanski at inta.org]
> Web Programmer,
> International Trademark Association - [www.inta.org]
> 1133 Ave. of the Americas - Manhattan
> p - 212/642-1745
>
>
>
>
>
> > -----Original Message-----
> > From: yury at heavenspa.com [mailto:yury at heavenspa.com]
> > Sent: Tuesday, February 10, 2004 9:38 AM
> > To: NYPHP Talk
> > Subject: [nycphp-talk] title display based on page view
> >
> >
> > hiya folks. was up late last night and wonderd if this could be done.
> > Dynamic Titles based on page view
> >
> > new_york.php
> > new_jersey.php
> > north_dakota.php
> >
> > title = nyc, wtc, city
> > title = atlantic city, beach
> > title = blah, blah, blah
> >
> > Could someone please explain how to generate a title based on
> > page view, and
> > can it be done..an example would be great.
> >
> > regards
> > yury
> >
> >
> >
> >
> >
> > _______________________________________________
> > talk mailing list
> > talk at lists.nyphp.org
> > http://lists.nyphp.org/mailman/listinfo/talk
> >
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
>
More information about the talk
mailing list