jmueller
12-28-2004, 06:26 PM
(Tim) As you know, our content is on a flat file -- not MySQL.
Everything is functioning fine.
The only item on our wish list is to somehow get the Title of each
reviewed article in to the Review db.
It occured to me that this approach might work:
On each article page, we have an include which executes review_insert.
In the above include, we're passing the article number, which corresponds with the Review item_name.
What if we also pass the article Title in that include?
The include would look like this:
<? include("http://www.sitename.com/review/review_insert.php?item_id=$art_num$?item_type=$art _name$"); ?>
Note the item_type=$art_name$
I did some preliminary testing and it seems the review-script doesn't like that second parameter in the include.
So, I just wanted to throw that out there. It's easy to pass the article Title to the script.
Is this approach do-able without significant modifications?
Thanks!
Jim
Everything is functioning fine.
The only item on our wish list is to somehow get the Title of each
reviewed article in to the Review db.
It occured to me that this approach might work:
On each article page, we have an include which executes review_insert.
In the above include, we're passing the article number, which corresponds with the Review item_name.
What if we also pass the article Title in that include?
The include would look like this:
<? include("http://www.sitename.com/review/review_insert.php?item_id=$art_num$?item_type=$art _name$"); ?>
Note the item_type=$art_name$
I did some preliminary testing and it seems the review-script doesn't like that second parameter in the include.
So, I just wanted to throw that out there. It's easy to pass the article Title to the script.
Is this approach do-able without significant modifications?
Thanks!
Jim