Hi,
Could someone please explain the URL format to me. For example, in
mysite.com/index.php?id=177,1883,0,0,1,0
the first number (177) is the article category id, and the second (1883) is the article id - what fields in the database do the last four refer to?
Is there than six fields in the URL?
Thanks
What database fields does the url refer to?
Re: What database fields does the url refer to?
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
-
- Posts: 35
- Joined: Thu 8. Apr 2004, 14:40
Re: What database fields does the url refer to?
Perfect - thanks
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: What database fields does the url refer to?
Concentrate only on the first and second - when linking against article and/or category:
Always use the following order:
Then you can be sure that all of your current GET vars are used or removed.
Oliver
Always use the following order:
- index.php?alias (no difference if article or category)
- index.php?aid=ArticleId
- index.php?id=CategoryId
Code: Select all
rel_url(
array('add_getvar1'=>'getvalue1', 'add_getvar2'=>'getvalue2'),
array('remove_getvar3'),
'alias' // link against that page or 'aid=articleId' or 'id=categoryId'
);
abs_url();
Oliver