|
10-01-2003, 09:45 PM | #1 |
Orange Mole
Join Date: Sep 2003
Location: Corbin KY
Posts: 45
|
To php or not to php
I'm trying to put a php code into a template file (like newspapter.html) but it will not work how would I do this???
David |
10-02-2003, 07:07 AM | #2 |
Green Mole
Join Date: Sep 2003
Posts: 10
|
I had the same question. Do do this you would have to modify phpdig source code.
I personally build your own php page that displays the results using the array that is returned from the function. That way you have complete flexibility to add all the code you want. Here is what I did: create a template for what you want without the seach results code. $result = phpdigSearch($id_connect, $query_string, $option, $refine, $refine_url, $lim_start, $limite, $browse, $site, $path, $relative_script_path, 'array'); print_r($result) ; This will give you a printout of the entire array. That way you can construct your own custom function for displaying the information. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PHP 5 | witness | Troubleshooting | 2 | 12-04-2007 01:55 AM |
PHP as CGI | Edomondo | Troubleshooting | 3 | 02-05-2005 02:32 AM |
.php/x/x problem | nosrak | Troubleshooting | 1 | 01-14-2005 08:29 PM |
robot_functions.php | gunwalt | Troubleshooting | 3 | 02-09-2004 02:04 AM |
Newbie : How to include PHP file (.php) | frostbyte | How-to Forum | 1 | 01-04-2004 12:42 PM |