Thank you.
that's what i was asking.
It's working fine now :)

On Thu, Nov 20, 2008 at 4:50 PM, Jeremy Geerdes <[EMAIL PROTECTED]> wrote:

> If you are going with the first solution, then search.php will need to
> generate code that is essentially identical to the Hello, world example
> linked to in my previous post.  The only real change (aside from the
> searchers configuration) will be the line that reads
> searchControl.execute("VW GTI");  You'll want to ALTER this to read:
> searchControl.execute("<?=_GET['q']?>");
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project quote:
> http://jgeerdes.home.mchsi.com
> [EMAIL PROTECTED]
>
> Unless otherwise noted, any price quotes contained within this
> communication are given in US dollars.
>
> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan
> Church!
>
>
>
>
> On Nov 20, 2008, at 5:43 AM, Mubashir Iqbal wrote:
>
> Thanks for ur reply but i am not able to fully understand your suggested
> solutions.
>
> 1st i am a bit hesitant to use any server side scripting because i am not
> so experienced php developer.
> So the best choice would be to use present script with minimal changes.
>
> From your reply my understanding so far is that....
> i would place custom search box on my page A (Say index page) and  will put
> <div id="searchcontrol"></div> on the page B (Say search.php) and it will be
> gets filled with the search results.
>
> Waiting for further help..
>
>
> On Thu, Nov 20, 2008 at 4:11 PM, Jeremy Geerdes <[EMAIL PROTECTED]>wrote:
>
>>
>> First thing you're going to need to do is create a custom form with
>> its action attribute set to search.php.  From there, you have two
>> different options.  Probably the easiest would be to have search.php
>> build the results page blank, but with an AJAX search control (see
>> http://code.google.com/apis/ajaxsearch/documentation/index.html#The_Hello_World_of_Google_Search
>>  ).  At the end of the onload handler, instead of calling some string
>> literal, you would have the php insert the query that the user
>> specified.  Alternatively, probably the faster method would be to set
>> up search.php to run the query through the REST side of the API and
>> just write the results into the page (see
>> http://code.google.com/apis/ajaxsearch/documentation/index.html#fonje
>>  ).  If you do this, though, you must remember to include the Google
>> branding near the results.
>>
>> Jeremy R. Geerdes
>> Effective website design & development
>> Des Moines, IA
>>
>> For more information or a project quote:
>> http://jgeerdes.home.mchsi.com
>> [EMAIL PROTECTED]
>>
>> Unless otherwise noted, any price quotes contained within this
>> communication are given in US dollars.
>>
>> If you're in the Des Moines, IA, area, check out Debra Heights
>> Wesleyan Church!
>>
>>
>>
>>
>> On Nov 20, 2008, at 12:34 AM, mushi wrote:
>>
>> >
>> > Hi
>> > i want to put Google Search box on the Index page on the right top
>> > corner of my website, but i don't want to show the search result on
>> > the same page(i.e. index). Instead i want that when a user enter some
>> > keyword in the search field the results would be shown on the
>> > search.php page rather than on the index page.
>> > waiting for a quick reply
>> >
>> > Thanks
>> >
>> > >
>>
>>
>>
>>
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to Google-AJAX-Search-API@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to