List:General Discussion« Previous MessageNext Message »
From:David Blomstrom Date:August 24 2005 3:48am
Subject:Re: Treating Two Fields Like One
View as plain text  
-- douglass_davis@stripped wrote:

> Can
> you just concatenate 
> the two strings together after you get them from the
> database? e.g. 
> $parent.$name?  And, just split() or explode() the
> string when you get it from the URL?

Consider the following URL's:

1. stacks/leo

2. stacks/Panthera_leo

The first is "recognized" by my database and fetches
information. The second doesn't work. If I concatenate
then split the link as you suggest, will it produce a
link that looks like #2 yet is recognized by my
database?

If so, I'll learn how to do those functions.

> Can there be spaces in these names?  If so, maybe
> use a dash for space, 
> that way, there's no chance of ambiguity.  Get very
> familiar with  the 
> PHP string functions too.

Yes, there will definitely be spaces between words. I
haven't yet decided whether I'll replace them with -,
_ or . (period). However, I'm leaning towards
underscores ( _ ) for this particular page and hyphens
( - ) on a topics page.

Thanks.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Thread
Treating Two Fields Like OneDavid Blomstrom24 Aug
  • Re: Treating Two Fields Like OneEnrique Sanchez Vela24 Aug
  • Re: Treating Two Fields Like Onedouglass_davis24 Aug
    • Re: Treating Two Fields Like OneDavid Blomstrom24 Aug
      • Re: Treating Two Fields Like Onedouglass_davis24 Aug
        • Re: Treating Two Fields Like OneDavid Blomstrom24 Aug
  • Re: Treating Two Fields Like OnePeter Brawley24 Aug
    • Re: Treating Two Fields Like OneDavid Blomstrom24 Aug
    • Re: Treating Two Fields Like OneDavid Blomstrom24 Aug
      • Re: Treating Two Fields Like OneSGreen24 Aug
        • Re: Treating Two Fields Like OneDavid Blomstrom24 Aug
      • Re: Treating Two Fields Like OnePeter Brawley24 Aug
RE: Treating Two Fields Like OneGordon Bruce24 Aug
Re: Treating Two Fields Like OneDavid Blomstrom25 Aug
  • Re: Treating Two Fields Like Onedouglass_davis25 Aug