![]() |
|
![]() |
#1 |
Green Mole
Join Date: Jun 2005
Posts: 2
|
Show recent searches on a page other than list.php
Hey, I am new to PhpDig. It is great scripting, but I cannot seem to find a way to show recent searches on my homepage. Has anyone done this before? How would I do this?
Thanks! -Gam |
![]() |
![]() |
![]() |
#2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Upzip the attachment and FTP recentqueries.php to your PhpDig directory, the one that contains the search.php and list.php files.
In the PHP page that you wish to show the last ten PhpDig queries, place the following code, changing the two paths as needed: Code:
chdir("/full/path/to/phpdig/dir"); include("recentqueries.php"); chdir("/full/path/to/return/dir");
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to filter your searches | yveslebeau | How-to Forum | 1 | 05-22-2006 11:01 PM |
show results in an include (php) | vuurvos | How-to Forum | 1 | 10-05-2005 06:44 AM |
Forcing a page to always show up first in search results based on keyword | derrickp | How-to Forum | 3 | 02-22-2005 12:01 PM |
install.php doesn't show up in browser | Nosmada | Script Installation | 12 | 12-23-2003 10:03 AM |
Returning from a html page to a php page. | rafarspd | How-to Forum | 2 | 12-04-2003 03:23 AM |