Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 01-14-2008, 10:08 AM A widget type search
Novice Talker

Posts: 7
Trades: 0
Hi guys

I would like to create a search form outwith my website sort of like a search widget which I can paste the html on another site and the search will take you to the directory with the search results displayed.

I have used a form like this
<form action="http://www.website.com/" method="post">
<label for="keyword">Search</label></p><p>
<input name="keyword" type="text" size="12" title="Search" class="inputbox" id="keyword" />
<input class="button" type="submit" name="Search" value="Search" /></p>
<p></form>This works in Firefox but not in IE

Any ideas would be great

Regards
gamma911 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-14-2008, 12:08 PM Re: A widget type search
Mattmaul1992's Avatar
Ultra Talker

Posts: 486
Name: Matt
Trades: -1
I really don't get what you're asking... Explain EXACTLY what you want please.
__________________
PHP Code:
$talkupation++; 

Please login or register to view this content. Registration is FREE
- Free IPB forum hosting (releasing today!!!), no ads, free modifications
Mattmaul1992 is offline
Reply With Quote
View Public Profile
 
Old 01-14-2008, 12:51 PM Re: A widget type search
Novice Talker

Posts: 7
Trades: 0
I would like to make a form on one site that posts search variables to another site - therefore crosspolinating between the two.

Using the form data above works in FF but not in IE for some reason
gamma911 is offline
Reply With Quote
View Public Profile
 
Old 01-14-2008, 02:39 PM Re: A widget type search
Truly's Avatar
Ultra Talker

Posts: 322
Trades: 0
Im not sure why it wont work in IE but I think it would probably be more secure if you just used a database. And have both sites direct to the same DB.

Im sure you will get a better answer in a bit tho
Truly is offline
Reply With Quote
View Public Profile
 
Old 02-03-2008, 11:34 PM Re: A widget type search
Helen22's Avatar
Novice Talker

Posts: 11
Trades: 0
I think this is what you want but its in XHTML not php.
Code:
 <form action="http://www.yoursite.org/yoursitessearchstring/" method="get">
<input type="text" name="search" size="25" style="color: #000; background-color: #fff; border: 1px solid #000;" />
<input type="submit" value="Search" style="background-color: #e3eeff; border: 1px solid #000;" />
</form>
If someone adds this to their site it will search your site. Just make a search on your site then copy the url in the address bar paste it in here:
<form action=" in here "
Helen22 is offline
Reply With Quote
View Public Profile Visit Helen22's homepage!
 
Reply     « Reply to A widget type search
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26827 seconds with 12 queries