Help creating search and results function for my site. Please help!

Hi guys,
I'm making an eCommerce/PayPal website for some products I'm selling. The website is currently built with PHP and HTML.
I want to add a search box so people can search for what the specifically want - then the results page will display a list of the products with links to the products' individual pages.
From what I understand this will almost certainly need to be database driven. My only problem is that I barely know where to start.
I've created a database on my host and have created dummy pages of how I want everything to look.
Each product will need 3-5 search terms attached to them.
Can someone please tell me where to begin and how difficult what I want to achieve will be?
Thank you and I hope to hear from you.
SM

The solution is database-driven only if the information about your products is in a database.
There are two approaches for a mySQL database, using the LIKE query and using MATCH AGAINST. These are SQL, not PHP, but the search results are processed by PHP.
There are plenty of tutorials on the web for these two methods. I prefer MATCH AGAINST, but it is a little bit more involved than LIKE.

Similar Messages

  • My MacAir is great except for a problem i have. Keys F1, F2,F5,F6,F7,F8,F9,F10,F11,F12 and the power button are unresponsive. These are keys i frequently use and i have searched the whole apple help centre. Anyone got answers for me? Please helP!!!

    My MacAir is great except for a problem i have. Keys F1, F2,F5,F6,F7,F8,F9,F10,F11,F12 and the power button are unresponsive. These are keys i frequently use and i have searched the whole apple help centre. Anyone got answers for me? Please helP!!!

    Some keys don't work as expected
    From the Apple menu, choose System Preferences.
    From the View menu, choose Speech.
    Click the Text to Speech tab.
    If "Speak selected text when the key is pressed" is enabled, the key or key combination set to speak text cannot be used for other purposes or used to type text--click Set Key and change it to a less-commonly used key combination (try to use modifier keys such as Shift, Command, Option, and Control). Or, disable the "Speak selected text when the key is pressed" option.
    Click the Universal Access pane in System Preferences, click the Keyboard tab.
    Make sure that Slow Keys is turned off. With Slow Keys on, you need to press a key for a longer period of time for it to be recognized.
    In the Universal Access pane, click the Mouse tab, and make sure Mouse Keys is turned off. With Mouse Keys enabled, you cannot use the Numeric Keypad to enter numbers--instead the keypad moves the pointer (cursor). (There is an option to enable Mouse Keys with five presses of the Option key; you may want to turn that option off to avoid accidentally enabling it.) If Mouse Keys is enabled and you are using a keyboard with no numeric keypad or Num Lock function, see Unable to type while Mouse Keys is enabled in Mac OS X.
    If the function keys on the top row of the keyboard are not working as expected, see Mac OS X: How to change the behavior of function keys.
    If the issue persists, use Keyboard Viewer to help isolate the issue:
    Click the Language & Text pane (Mac OS X v10.6) or International pane (Mac OS X v10.5.8 or earlier) in System Preferences.
    Click the Input Sources tab (or Input Menu tab in Mac OS X 10.5.8 or earlier).
    Click the Keyboard & Character Viewer "On" checkbox to select it (click the Keyboard Viewer "On" checkbox in Mac OS X 10.5.8 or earlier).
    From the Input (flag) menu, choose Show Keyboard Viewer.
    If the keyboard is connected and detected by Mac OS X, the keys you type will highlight in the Keyboard Viewer window. Open TextEdit (or any text application), and try to type something using the keys that were previously not responding to see if they highlight in Keyboard Viewer.
    Start from the Mac OS X Install Disc, choose Terminal from the Utilities menu and test the keys which were previously not working.  If the keys work while started from the Install disc, then the keyboard itself is working correctly.  Use Mac OS X: How to troubleshoot a software issue to isolate the software issue that may be causing the keys to not respond.
    http://support.apple.com/kb/TS1381

  • HT3630 How to creat an app-enabled accessories for iPhone? Please help me to get an answer..

    How to creat an app-enabled accessories for iPhone? Please help me to get an answer..

    To get hardware interfaces and API's via hardware you
    need to join the MFi program.  That info is here:
    https://developer.apple.com/programs/mfi/
    To get the additional software to be able to download
    and test code on any iDevice, you must join the
    iOS Developer Program.  That info is here:
    https://developer.apple.com/programs/ios/
    Both programs require fees and NDA agreements,
    especially hardware as most vendors that supply
    components development tools will not sell you any
    of their tools unless you are a member of the MFi
    program.

  • Custom component Search and Result view using value node :pls help

    Hi Experts,
    I am creating a Custom component with Search and Result view using value nodes.
    This is the code I wrote in the Search button event handler method.
    The data which gets in lv_search I need to put in lv_col .
    Can somebody guide me for this.
    Points will be awarded .
    METHOD eh_onsearch.
      DATA : lv_current TYPE REF TO if_bol_bo_property_access,
             lv_search  TYPE zcrm_orgstruct_search,     "Search value node structure
             lv_result  TYPE zcrm_orgstruct_result,         "Result value node structure
             lv_col     TYPE REF TO if_bol_bo_col.
      lv_current ?= me->typed_context->search->collection_wrapper->get_current( ).
      CALL METHOD lv_current->get_properties
        IMPORTING
          es_attributes = lv_search.
      me->typed_context->searchresult->collection_wrapper->set_collection( lv_col ).
      op_toresultview( ).
    ENDMETHOD.
    Regards,
    Lakshmi

    Hi Lakshmi,
    Could you please share with us how it was solved.
    "CALL METHOD lv_current->get_properties
    IMPORTING
    es_attributes = lv_search."
    Did you get any values in lv_search ?
    Because while using value nodes for search view (which inherits from advance search controller  class), the above method does not return any search values entered in the fields.
    Please let me know how did you solve it.
    Thanks & Regards
    Vidhya

  • My ipod is stuck on the apple screen and itunes doesnt recongnize the ipod ive help both buttons and it wont even turn off please help

    Please help I just bought this Ipod used and didnt know it was stuck on this screen. It is stuck with the apple screen and wont turn off even after holding bothe the on/off button and home button at the same time, itunes does not even recongnize the device i need to find a way to do a complete restore as if it were just purchased please help

    Have you tried connecting it to your iTunes library in recovery mode using the instructions in this Apple support document?
    http://support.apple.com/kb/ht1808
    B-rock

  • How to create "moveUp" and "moveDown" functionality for items in a TileList

    I want to create "Move Up" and "Move Down" buttons for items in a TileList. They should have the same functionality as if they were dragged and dropped, except only moving one position up or down (and thus switch places with the item above/below). I have tried this using this code for the moveUp button:
    private function moveItemUp(){
         var moveFromPos:Number = myTileList.selectedIndex;
         if(myTileList.selectedIndex > 0){
              var moveToPos:Number = myTileList.selectedIndex-1;
              var tempItem:Item = myTileListDataProvider.removeItemAt(moveFromPos);
              myTileListDataProvider.addItemAt(tempItem, moveToPos);
                    trace("New selected Index: "+ moveFromPos - 1);
                    myTileList.selectedIndex = moveFromPos - 1;
                    trace("New selected Index: "+ myTileList.selectedIndex);
    But my problem is that the selectedIndex of myTileList isn't correctly set. For instance; if I have a list of three items and I move the last item up this is what happens:
    1. Item three (selectedindex is 2) switches places with Item two (So far, so good)
    2. Item two is shown in GUI as selected (has Halo around it - so far, so good)
    3. If i click "MoveUp" again, the same two (item three and two) switces places, instead of the intended item two and one.
    The traces tell me that myTileList.selectedIndex variable isn't set correctly as the trace shows this:
    New selected Index: 1
    New selected Index: 2
    Any idea on how to solve this problem?

    I found a partial solution at http://www.ultrashock.com/forums/flex/tilelist-selected-element-removed-124313.html and modified it a bit. The answer was using the callLater() method as in this example:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="initApp()" layout="vertical">
      <mx:Script>
      <![CDATA[
          import mx.events.FlexEvent;
          import mx.collections.ArrayCollection;
          var arr:ArrayCollection = new ArrayCollection();
          var temp:Number;
          var temp2:String;            
          private function initApp():void{                   
              arr.addItem("A");
              arr.addItem("B");
              arr.addItem("C");
              arr.addItem("D");
              arr.addItem("E");
              arr.addItem("F");
          public function traceEvent(event:FlexEvent):void{
              trace(event);
              trace(mtl.selectedIndex);
              if(mtl.selectedIndex==-1){
                  callLater(setInd);
          private function setInd():void{
              trace("Changing selected index..");
              mtl.selectedIndex = temp;
          public function removeItem():void{
                temp = mtl.selectedIndex - 1;
                temp2 = arr.removeItemAt(mtl.selectedIndex) as String;  
                arr.addItemAt(temp2,temp);                
          public function notifyChange(e:Event):void{
              trace("CH mtl.selectedIndex:" + mtl.selectedIndex);
      ]]>
      </mx:Script>
      <mx:TileList id="mtl" width="100" height="200" dataProvider="{arr}" columnCount="1" change="notifyChange(event)" updateComplete="traceEvent(event)"/>
      <mx:Button id="mbt" label="delete" click="removeItem()"/>
      </mx:WindowedApplication>

  • I have an Adobe Acrobat install and it gets a error code 6 after one days use. Reinstall and irt works for a day. please help.

    I am using windows 7 with all updates installes. I have Adobe Standard X and after install it will get an error code 6 and stop working. I reinstalkkl and it will work for a day.

    Hello,
    We are using windows 7 64-bit. Here is a screen shot of the error that we are getting. It is just this computer.
    I have uninstalled and reinstalled the Adobe several times and it will work for the day and then get the error the next day.
    I have the power options to never turn off hard disk and never sleep. Any help would be great.
    Gary Lee | Senior IT Support Technician
    p (949) 672.9081 | f (949) 672.9181
    39 Argonaut, Suite 100 | Aliso Viejo, CA 92656
    seabreezemgmt.com<http://www.seabreezemgmt.com> |
    <https://www.facebook.com/SeabreezeManagement>
    <https://twitter.com/seabreezemgmt>
    <https://www.linkedin.com/company/seabreeze-management-company-inc.>
    <https://www.youtube.com/user/SeabreezeManagement>

  • Create directory and know if it is existing please help...

    good day to all:
    is there any tutorial for creating a directory and knowing if a specified directory is already existing?
    killuasoft

    You don't need a tutorial, you just need to look up the API for java.io.File.

  • APEX VPD Implementation for Web Site - Please Help

    Hi Folks.
    I want to do the following...
    I have an APEX website which has both INTERNAL and EXTERNAL users.
    The INTERNAL users (employees) should be able to see all data in all tables.
    The EXTERNAL users (clients) should only see their own data within the same tables.
    The intention here is to enforce the data that employees and clients can interact with using VPD.
    Within the application we have our own CONTACT table that will be used by our system for controlling user-access. Only Valid system users will have an entry in the CONTACT table. Currently, this is partially enforced by APEX.
    It is also, our intention that all the users of our APEX system, connect to the database as a single user – currently APP_PUBLIC_USER. As we do not want the overhead of database user account management.
    Note in the future we hope to integrate the APEX system with Oracle Business Intelligence (BI).
    VPD
    If we create a DATABASE account with the same username as that stored in our own CONTACT table and connect using SQL/PLUS then the VPD policy is successful.
    When we connect using APEX we are able to authenticate the APEX username is in our own CONTACT table but we cannot pass the APEX username to the database for testing with regards the VPD policy. It is always APEX_PUBLIC_USER as far as the database is confirmed.
    The username as far as the database is concerned is always APEX_PUBLIC_USER.
    As such we cannot distinguish between the users.
    We have tried setting an oracle application context (XXX_App_CTX) that has an attribute ‘USER_NAME’ with value of :APP_USER in the APEX application. This was done in the Apex VPD security section. We’ve queried the value when running the APEX application and the value displays correctly.
    But on the database the value of USER_NAME appears as null.
    How can we pass the APEX user name to the database for the purposes of enforcing VPD?
    Also, we have a database on-logon trigger which initialises application contexts attributes/values that are used to implement our VPD, see below.
    Any suggestions?
    Note : DEVYYY is the schema owner.
    DECLARE
    -- Fetch valid user information which is required for set the application
    -- context.
    CURSOR csr_user_info (cp_user_name IN VARCHAR2) IS
    sELECT con.contact_id
    ,con.master_entity_id
    FROM DEVYYY.contact con
    WHERE con.user_name = cp_user_name ;
    r_user_info csr_user_info%ROWTYPE;
    v_user VARCHAR2(30);
    BEGIN
    IF v('APP_USER') != 'APEX_PUBLIC_USER' AND
    v('APP_USER') IS NOT NULL THEN
    v_user := v('APP_USER');
    ELSE
    v_user := UPPER(SYS_CONTEXT('USERENV','SESSION_USER'));
    END IF;
    v_user := SYS_CONTEXT('XXX_App_CTX','user_name') ;
    -- Validate/Authenticate that the user exists in the contacts table
    OPEN csr_user_info (cp_user_name => v_user );
    FETCH csr_user_info INTO r_user_info;
    CLOSE csr_user_info;
    -- Set application context for a valid user, else set the the context
    -- to invalid.
    IF r_user_info.contact_id IS NOT NULL THEN
    DEVYYY.XXX_app_CTX_mgr.set_contact_id_CTX(p_contact_id => r_user_info.contact_id );
    DEVYYY.XXX_app_CTX_mgr.set_user_name_CTX (p_user_name => v_user);
    DEVYYY.XXX_app_CTX_mgr.set_master_entity_id_CTX(p_master_entity_id => r_user_info.master_entity_id);
    ELSE
    -- invalid user, i.e does not exist in .contact table.
    DEVYYY.XXX_app_CTX_mgr.set_contact_id_CTX(p_contact_id => -99 );
    DEVYYY.XXX_app_CTX_mgr.set_user_name_CTX(p_user_name => 'INVALID_USER');
    DEVYYY.XXX_app_CTX_mgr.set_master_entity_id_CTX(p_master_entity_id => -99);
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20001, 'ON-LOGON TRG Error: ' ||SQLERRM);
    END trg_db_logon;

    Contexts are only valid for a session, but every page view in an APEX application is essentially a new session. Take a look at global application contexts as they persists across sessions. You could also set some type of role info in an APEX item and reference it via PL/SQL from your VPD policy function.
    Tyler

  • Create URL,Telephone number as paramater Account Search and result based on parameter of telephone number ?

    Hi Experts,
    create URL,Telephone number as paramater Account Search and result based on parameter of telephone number ?..
    Previous my thread was locked...Now i want to say thanks to KALYANI L and Richa Dameja,..Now This code i have followed now its working fine..Thanks Great help to Kalyani L..and Richa Dameja.. i have implemented the DO_INIT_CONTEXT.....Now getting result...
    As suggest Kalyani L i have implemented DO_INTI_CONTEXT method,Now its working fine....
    Thanks For support.
    Thanks
    kalpana
    Message was edited by: Andrei Vishnevsky
    Disussion is locked.
    Reason: Re: create URL,Telephone number as paramater Account Search and result based on parameter of telephone number ?

    Hello Kalpana,
    I've already locked your previous discussion and thought that I gave pretty clear warning.
    First of all "do my job" posts are not welcomed on SCN.
    Second point: you're incorrect in choosing SCN space with such questions. Here is a little which is related to IC in your task.
    Third point is that if somebody has an answer to your exact question then he will give you it if he wants. There is no reason to post-post-post messages asking for help or hurry. Your "urgent requirement" is not the reason either.
    Fourth one is: according to The SCN Rules of Engagement you need to do the search before posting. Almost all of your questions regarding this topic has an answer already.
    Locking the discussion again. If you continue to post such questions I will need to report this situation to SAP CRM space editors and global moderators.

  • Looking for an app that I can create,search and edit documents on all 3 devices iPhone MacBook and ipad

    Looking for an app that I can create,search and edit documents on all 3 devices iPhone MacBook and ipad

    Apples iworks would do that

  • How to create HUs and input SNs for a Inbound Delivery by BDC or Function?

    I need to create HUs and input SNs for Inbound Delivery Order as VL32N.
    At first, I create a BDC program using T-code VL32N, it does work for a few HUs in one Order, but when there are more than 5 HUs in one order, the later can't be input by this program, because the table control of HUs only display 5 records in my screen, so it need page down during BDC process, while in Ttl content, there 16 rows displayed, it need page down after 8 records. But different user have different screen size, so my program doesn't work for all user.
    What should we do for turn page in BDC program?
    OR
    Is there any function can be used for creating HUs and input SNs for Inbound Delivery?

    How did you solve this issue, Can you give me some clue?
    Regards,
    Mohan

  • I created an account but haven't yet purchase any products yet! I'm a publisher launching  a magazine so i need something for design and making a layout for magazine! Please help is there a number i can talk to someone ?

    created an account but haven't yet purchase any products yet! I'm a publisher launching  a magazine so i need something for design and making a layout for magazine! Please help is there a number i can talk to someone ?

    Adobe Connect Support phone numbers
    or
    Cloud Plans https://www.adobe.com/products/creativecloud/buying-guide.html

  • Adding Z field in Opportunity search and result view BT111S_OPPT/Search

    Hi,
    I have been searching this forum on adding Z fields in search and result view but couldnt find the precise information.
    We have Z field in ultimately residing in BUT000.
    Now when this field is used in BP_HEAD_SEARCH for search and result, it could be easily done via configuration. (since the field was added to CRMT_BUPA_IL_HEADER_SEARCH during EEWB extension.
    Now, the requirement is to add the fields in Opportunity BT111S_OPPT/Search & BT111S_OPPT/Result.
    I am confused with regard to the approach we need to use to get this field in search and result.
    I thought the easiest option is to add the Model node and and give the BOL attribute. This works fine but I can't see this field (with dynamic getter/setter) in the UI configuration.
    During the attribute creation wizard, I gave BOL entity as BTQROpp (system defaulted) and the relation was
    BTADVSOpp/BTOrderHeader/BTHeaderPartnerSet/BTPartnerAll/BTBusinessPartner/ZZZGEOG_REGI
    is this correct? or am I doing something wrong?
    Why can't I see the fields in configuration?
    So alternatively I created a field through AET and i could see this field is in the structure and in UI config, but what logic I need to put to retrieve the value?
    Any advice?
    Many thanks in advance for your help
    Rakesh

    Hi Rakesh,
    Please follow below steps:
    1. Append your custom field to structure associated with your search/result structure.
    2. After you append this field to structure, this field would be available in context node.
    3.  Check if the field is reflected in available fields in configuration.
    4. If field is not present in configuration then please follow steps stated by me in:
    Re: New Column can not be added in chtmlb:configTable
    5. Once you add this field to design layer, you would be able to configure it to your search query. Check if your query works with this field.
    If not then please go through below forum :
    Re: BADI for Claims search in trade promotion management
    Let me know if this helps.
    Regards,
    Bhushan

  • Best approach to add Z custom field to IC Agent Inbox search and results view

    Hi Experts,
    We are having a requirement to add a Z custom field to IC Agent Inbox search and results view. I got multiple forums and ideas, but looking for the best approach for handling this. I am sure, you experts, would have already done this.
    Thanks in advance.
    Regards
    Siva

    Hi Sivakumar,
    AET is the best way by far to create a custom field in this area. It is easy and simple.
    Also, field once added in one business object it can be used at different objects as well.
    There is also a demo available for AET on sdn.
    Please let me know if any more help is required.
    Thanks,
    Bhushan

Maybe you are looking for

  • How can I import my old Appleworks spreadsheets into Neo Office or Pages

    I am a new MBP owner and have some spreadsheets in Appleworks from my old iMac. I don't have Appleworks on my new MBP. I have downloaded Neo Office and could use it to create a new spreadsheet but can't import my previously created ones. Must I retyp

  • How to avoid user from entering new price condition in return order

    Dear Expert We are facing a scenario where we make return order; the Price is copied from the invoice. And it is working perfectly. The system does not allow us to change the price. The issue we are facing here is that user can input new condition li

  • [SOLVED]librtmp.so.0 is missing, reinstalling of rtmpdump doesn't help

    Hi! I got a problem with Rainlendar2, it hapen once when librtmp.so.0 disabpear but I fixed it by reinstalling "rtmpdump" but it hapen again and reinstall of the rtmpdump doesn't work anymore, file is still missing. I tried to make offline reinstall

  • Authorization Problems on new MacBook Pro

    I cannot get iTunes purchased songs on my new computer. I imported all of my music off an external hard drive and I was prompted to authorize this computer. This will be the third computer to be authorized. But, when I try to play the song after... I

  • Can I watch video files stored in time capsule on my wireless tv

    I'm looking to buy a time capsule because I store all my movies on hard drives that are wired into my entertainment system and it's time to clean it up. But first I want to know if I can use the time capsule as a main memory hub that all my wireless