![]() |
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 |
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. |
All times are GMT -8. The time now is 08:45 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.