PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   Inserting the results of search into web page (http://www.phpdig.net/forum/showthread.php?t=1433)

Neo 10-09-2004 12:35 AM

Inserting the results of search into web page
 
Hi!!!!

Please, help...
I need to insert the results of search into my php page with my own design.
How can I do this?

Thanks.

vinyl-junkie 10-09-2004 06:43 AM

Hi, Neo, and welcome to the forum. We're glad to have you here! :D

Have a look at this thread, in particular, post #8. That should be everything you need.

If you have any other questions or need help of any kind, please don't hesitate to ask. :)

Neo 10-09-2004 09:00 AM

Thanks!

The search form inserted into my website under you idea:

<form action='/path/to/search.php' method='get'>
<input type='hidden' name='template_demo' value='/path/to/templates/template.php'/>
<input type='hidden' name='site' value='0'/>
<input type='hidden' name='path' value=''/>
<input type='hidden' name='result_page' value='/path/to/search.php'/>
<input type='text' class='phpdiginputtext' size='15' maxlength='50' name='query_string' value=''/>
<input type='submit' class='phpdiginputsubmit' name='search' value='Go...'/>
<input type='hidden' name='limite' class='phpdigselect' value='10'>
</form>


But the results of serching are on the standart page. I try to change the template.php inserting into xml <?php ... ?> but it does not change anything.

I need to modificate the results(!) of serching and see them on my own page with PHP code.

vinyl-junkie 10-09-2004 10:28 AM

If you want to modify the template, have a look at this thread. :)


All times are GMT -8. The time now is 09:37 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.