Search in jobs websites

hi all
i think all of you got into jobs websites before and noticed the advanced search in it or any other sites
it consists of more than one field , let's say 3 fields
1
2
3
if u wrote your search in 1 then you got the condition in one , if in 2 then the condition in 2 , and if it in 1 and 2 ,
you will got the condition in 1 and the condition in 2
in my situation i will intend to do that , i have already the 3 fields , but if u can help , how many IF sentences should
i write in the code do u think ?
regards

you are almost got me
but your answer will retrieve the data from the table which compatible with the all conditions because of (AND)
but what if the user populate the 1 field and did not with the 2 , 3
-- what if he populate the 2 and 3 and did not fill the 1 and so on ,
then i still have to know how many IF sentences i should to write ?
did u got me now ?
regards

Similar Messages

  • When i search for a website it takes me to another website.  I will click on the link and it takes me to one ive never wanted?  please help very frustrating!  I am not very computer savy, is it my settings or something?  Jen

    When I search for a website it itakes me to another website.  I will click on a link and it takes me to something completely different or yellow pages etc. Please help I am very frustrated and not very computer savy!  Thanks!  Jen

    Hi Jeff I have uninstalled Muse from my applications and have tried to download the new version but it displays a message 'file not found'. I have included a screenshot.

  • Error message when I run searches on my website (PHP/MySQL help)

    Hey guys, can someone tell me why this is happening in my PHP? I run a search on my website and get this error message ye sI filled the hostname, username and password)
    Results for
    PHP Error Message
    Warning:  mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/a8295382/public_html/Search Results.php on line 233
    Couldn't execute query
    Here is my PHP code:
    <?php
    $hostname_logon = "host" ;
    $database_logon = "hostname" ;
    $username_logon = username" ;
    $password_logon = "password" ;
    //open database connection
    $connections = mysql_connect($hostname_logon, $username_logon, $password_logon) or die ( "Unabale to connect to the database" );
    //select database
    mysql_select_db($database_logon) or die ( "Unable to select database!" );
    //specify how many results to display per page
    $limit = 15;
    //get the search variable from URL
    $var = mysql_real_escape_string(@$_REQUEST['q']);
    //get pagination
    $s = mysql_real_escape_string($_REQUEST['s']);
    //set keyword character limit
    if(strlen($var) < 3){
        $resultmsg =  "<p>Search Error</p><p>Keywords with less then three characters are omitted...</p>" ;
    //trim whitespace from the stored variable
    $trimmed = trim($var);
    $trimmed1 = trim($var);
    //separate key-phrases into keywords
    $trimmed_array = explode(" ",$trimmed);
    $trimmed_array1 = explode(" ",$trimmed1);
    // check for an empty string and display a message.
    if ($trimmed == "") {
        $resultmsg =  "<p>Search Error</p><p>Please enter a search...</p>" ;
    // check for a search parameter
    if (!isset($var)){
        $resultmsg =  "<p>Search Error</p><p>We don't seem to have a search parameter! </p>" ;
    // Build SQL Query for each keyword entered
    foreach ($trimmed_array as $trimm){
    // EDIT HERE and specify your table and field names for the SQL query
    // MySQL "MATCH" is used for full-text searching. Please visit mysql for details.
    $query = "SELECT * , MATCH (field1, field2) AGAINST ('".$trimm."') AS score FROM table_name WHERE MATCH (field1, field2) AGAINST ('+".$trimm."') ORDER BY score DESC";
    // Execute the query to  get number of rows that contain search kewords
    $numresults=mysql_query ($query);
    $row_num_links_main =mysql_num_rows ($numresults);
    //If MATCH query doesn't return any results due to how it works do a search using LIKE
    if($row_num_links_main < 1){
        $query = "SELECT * FROM table_name WHERE field1 LIKE '%$trimm%' OR field2 LIKE '%$trimm%'  ORDER BY field3 DESC";
        $numresults=mysql_query ($query);
        $row_num_links_main1 =mysql_num_rows ($numresults);
    // next determine if 's' has been passed to script, if not use 0.
    // 's' is a variable that gets set as we navigate the search result pages.
    if (empty($s)) {
         $s=0;
      // now let's get results.
      $query .= " LIMIT $s,$limit" ;
      $numresults = mysql_query ($query) or die ( "Couldn't execute query" );
      $row= mysql_fetch_array ($numresults);
      //store record id of every item that contains the keyword in the array we need to do this to avoid display of duplicate search result.
      do{
          $adid_array[] = $row[ 'field_id' ];
      }while( $row= mysql_fetch_array($numresults));
    } //end foreach
    //Display a message if no results found
    if($row_num_links_main == 0 && $row_num_links_main1 == 0){
        $resultmsg = "<p>Search results for: ". $trimmed."</p><p>Sorry, your search returned zero results</p>" ;
    //delete duplicate record id's from the array. To do this we will use array_unique function
    $tmparr = array_unique($adid_array);
    $i=0;
    foreach ($tmparr as $v) {
       $newarr[$i] = $v;
       $i++;
    //total result
    $row_num_links_main = $row_num_links_main + $row_num_links_main1;
    // now you can display the results returned. But first we will display the search form on the top of the page
    echo '<form action="search.php" method="get">
            <div>
            <input name="q" type="text" value="'.$q.'">
            <input name="search" type="submit" value="Search">
            </div>
    </form>';
    // display an error or, what the person searched
    if( isset ($resultmsg)){
        echo $resultmsg;
    }else{
        echo "<p>Search results for: <strong>" . $var."</strong></p>";
        foreach($newarr as $value){
        // EDIT HERE and specify your table and field unique ID for the SQL query
        $query_value = "SELECT * FROM newsight_articles WHERE field_id = '".$value."'";
        $num_value=mysql_query ($query_value);
        $row_linkcat= mysql_fetch_array ($num_value);
        $row_num_links= mysql_num_rows ($num_value);
        //create summary of the long text. For example if the field2 is your full text grab only first 130 characters of it for the result
        $introcontent = strip_tags($row_linkcat[ 'field2']);
        $introcontent = substr($introcontent, 0, 130)."...";
        //now let's make the keywods bold. To do that we will use preg_replace function.
        //Replace field
          $title = preg_replace ( "'($var)'si" , "<strong>\\1</strong>" , $row_linkcat[ 'field1' ] );
          $desc = preg_replace ( "'($var)'si" , "<strong>\\1</strong>" , $introcontent);
          $link = preg_replace ( "'($var)'si" , "<strong>\\1</strong>" ,  $row_linkcat[ 'field3' ]  );
            foreach($trimmed_array as $trimm){
                if($trimm != 'b' ){
                    $title = preg_replace( "'($trimm)'si" ,  "<strong>\\1</strong>" , $title);
                    $desc = preg_replace( "'($trimm)'si" , "<strong>\\1</strong>" , $desc);
                    $link = preg_replace( "'($trimm)'si" ,  "<strong>\\1</strong>" , $link);
                 }//end highlight
            }//end foreach $trimmed_array
            //format and display search results
                echo '<div class="search-result">';
                    echo '<div class="search-title">'.$title.'</div>';
                    echo '<div class="search-text">';
                        echo $desc;
                    echo '</div>';
                    echo '<div class="search-link">';
                    echo $link;
                    echo '</div>';
                echo '</div>';
        }  //end foreach $newarr
        if($row_num_links_main > $limit){
        // next we need to do the links to other search result pages
            if ($s >=1) { // do not display previous link if 's' is '0'
                $prevs=($s-$limit);
                echo '<div class="search_previous"><a href="'.$PHP_SELF.'?s='.$prevs.'&q='.$var.'">Previous</a>
                </div>';
        // check to see if last page
            $slimit =$s+$limit;
            if (!($slimit >= $row_num_links_main) && $row_num_links_main!=1) {
                // not last page so display next link
                $n=$s+$limit;
                echo '<div  class="search_next"><a href="'.$PHP_SELF.'?s='.$n.'&q='.$var.'">Next</a>
                </div>';
        }//end if $row_num_links_main > $limit
    }//end if search result
    ?>
    Anyone got any ideas as to why this is happening?
    Also, I have not created any tables in my database... is this why it doesn't display any search results from my website?

    Sorry, but it doesn't help JTANNA.
    What is your definition of "more efficiently"? If it's limitation of search results, branded search, and limitation of styling your results then google search is more efficient. Real developers rely on their own developments. For example: how can google search display results from a password-protected site? They can't.
    best,
    Shocker

  • "Search for Jobs" link not working in E-Recruitment

    Hi,
    Whenever Employee/External Candidate clicks on the link "Search for Jobs" on the start page, list of jobs are not getting displayed despite after data is available.

    Hi ,
      Go to SPRO-personnel management-Employee self services-homepage framework - resources-edit resources
    select the resource for Search for job .... and check if the URL path is given.
    Thanks
    Sunitha

  • Tutorial Announcement :: Designing A Search Engine Friendly Website ::

    Designing A Search Engine Friendly Website
    There are many factors that hinder search engines from ranking Websites for many keywords. When web development companies create Websites, often they do not create Websites for the search engines. Usually, they design sites strictly for Internet users.
    Tags:
    Search Engine Optimization | SEO |  Keywords|
    Posted on:
    2009-05-26 03:21:49
    Report | E-mail to friend | Save This Tutorial | Bookmark This Tutorial

    ...or will the meta tags (description, keywords, etc.) placed in
    the index.html file be sufficient to gain substantial rank?
    I would say that depends on your Market and your choice of
    Keywords. If your market is saturated then it's gonna be a tough
    one. If you know the Keywords people use to Search for products in
    your Market... I would say that's as good as it can/will get.
    You can always Submit your site to the Search Engines in
    hopes of being ranked high.
    If it seems worth it... you can always go the Pay per Click
    route.

  • Cannot search within a website

    When evre I log on to www.pch.com and try to search the spinning wheel keeps turning and no search results are found

    Since search within a website is controlled by the website search query, have you tried search within another website?

  • When I try to cut and paste my resume into an online job website the reume' will not highlight ( select All), any ideas?

    When I try to cut and paste my resume' into an online job website it will not highlight, ( select all), I can click and drag it into the empty box but then it becomes an  attachment. What am I doing wrong?  Help!

    The new iTunes has a somewhat different look from the previous version.  You can get the old look back if you prefer it by doing View > Show Sidebar in iTunes.  Or you can adapt to the new look.

  • Have just upgraded to version 4 and when I go to Goggle search for a website it shows me a list but will not open any.

    Have just upgraded to version 4 and when I go to Goggle search for a website it shows me a list but will not open any. If I use the bookmarks all of the websites open perfectly. I've closed Firefox down and opened again and a message says "how embarassing" and tells me to restore or start a new session. Have tried both but still will not let me open any websites on the google search page.

    . I did however, delete the majority of my photos off of iPhoto after I backed them up because I needed room in my library.
    exactly how did you delete these photos?
    LN

  • Searching for Jobs by Time?

    Hello,
    Is there any way to search for jobs based on time. I am trying to find a better way to schedule jobs so there are less jobs running at the same time.
    Thanks,
    V

    I have been trying to find information on this for a while now...
    Anyone here know this?
    Thanks, regards
    Patrick

  • Is there a way to selectively disable "quick search" on specific websites (i.e. those which use javascript-driven keyboard shortcuts)

    Some websites use javascript (or differently) driven keyboard shortcuts - for example some google services or the tinytiny-rss feed reader. On those sites users normally don't use the "quick search" function, but it tends to get in the way of the keyboard shortcuts which tend to be pretty useful.
    So, is there a way selectively disable quick-search on some websites? Maybe there is a Addon for this?
    Thanks in advance, Kind Regards
    - NebuK

    1.SmartyPanouZe3rd,
    Sep 4, 2013 1:03 PM   in reply to SmartyPanouZe3rd
    This is a follow-up to the above question I had.
    Since i noticed people looking at the question, but no replies showing up, i contacted BC support directly with the same question.
    I got a reply.
    I did tests based on the reply.
    Here is what is going on based on the reply.
    (spoiler alert : It works... but it's not yet a perfect score.)
    All the details are posted here :
    http://www.animavdo.com/mut/ambiguity-001.html
    Hope this can help others.
    Cheers.
    PS  I still will use DW for the heavy lifting...
           But MUSE is nice for quickly putting together a mini website.
           Highly recommended App.

  • E-Recruiment 6.0 - External candidate search for Jobs

    Configuration situation: I have configured the search functionality and the OTR text.
    Requirement is to add State and City to the external candidate search for jobs page.
    Z search template element using "FROZEN_REQUI_JOB_INFORMATION"-region field has been created. This custom search element has been assigned to the template. Also a custom search group has been created and assigned to relevant application.
    Issue: In the BSP page for external candidate job search, only the cities are showing up without the state. Further more, if you select a country, the city is not getting restricted according to the selected country.
    The class used is CL_HRRCF_BRANCH.
    If I want to get the region and city onto the standard BSP page, will the class have to be modified? Any other ideas?
    Assistance appreciated.
    Regards, Sunil

    Hi Sunil,
                If i understood correctly, the requirement is to add state and city fields to external candidate job search. For that follow the procedure.
    1) In "Define Search Template Elements" node, copy the element "FRO_REQ_JOB_INFO_COUNTRY_LB"
        to "XXX" and make entries to "FIELD". For city add "CITY" to FIELD fields in "Attributes of infotype category" and "Data Collection". For Region add "region" to FIELD fields in "Attributes of infotype category" and "Data Collection".
    2) Add this element to search template 0021at "Assign Search Template Elements to Search Templates"node.
    3) Then assign the search template to search group 0005 at node "Assign Search Templates to Search Template Groups".
    Now u should be able to see the fields with drop down lists on BSP screen.

  • Not able to view  "search for jobs " in ESS

    hi ,
    i am facing a problem in <b>ESS --> Career and Jobs
    -->search for jobs.</b>when i go to "search for jobs" i get a pop up window asking for the "application name" and some other mandatory parameters.
    i have already defined the job vacancy in the back end R3 system .
    can anyone who has implemented ESS suggest me the possible cause and the solution for the same?
    thanks,
    aditi

    Hi Aditi
    u got foolowing
    com.sap.portal.appintegrator.sap.WebDynpro::WebDynpro/TopLayer
    and MandatoryParameters Optional parameters.
    do the following in SAP R3.
    SPRO->IMG->cross-application components->HOMEPAGE Framework->Resources->define resources->define resources(add entry)
    find EMPLOYEE_CANDIDATE_SEARCH_JOBS_SERVICE under resource object key double click to open it.
    u found following.
    object name --->hrrcf_start_int/application.do
    URL parameter -->BspClient=800&rcfLogAppl=SEARCH_JOBS
    Now
    Under URL Page of PCD.
    ROLES://portal_content/com.sap.pct/every_user/com.sap.pct.ess.employee/com.sap.pct.ess.roles/com.sap.pct.ess.employee_self_service/com.sap.pct.ess.employee_self_service/com.sap.pct.ess.area_career_job/com.sap.pct.ess.serv_career_job
    change it to
    ROLES://portal_content/com.sap.pct/every_user/com.sap.pct.ess.employee/com.sap.pct.ess.roles/com.sap.pct.ess.employee_self_service/com.sap.pct.ess.employee_self_service/com.sap.pct.ess.area_career_job/com.sap.pct.ess.bsp_career_job
    save ur entry. a warning occurs. press enter . relese the request.
    restart the J2EE server.
    and also make sure u define the BSP system in Portal with alias SAP_BSP_EREC
    regards,
    kaushal
    Message was edited by: kaushal malavia

  • Unable to find present opening jobs in Search for Job option in ESS

    Hi
    Unable to find all the present opening jobs in Search for Job option in ESS.
    Kindly help on this issue
    Regards
    Vishnu Priya

    Hi CCS
    Service name is E-recruiting and path is /default_host/sap/bc/.
    Please let me now if any more information is required
    Thanks
    Regards
    Vishnu Priya

  • I cannot type a web page on my iphone5 on the search or enter website name window of safari. as I type w the system brings me back to the phone main screen. This has happened since I updated to the new iOS 8

    I cannot type a web page on my iphone5 on the search or enter website name window of safari. as I type w the system brings me back to the phone main screen. This has happened since I updated to the new iOS 8

    You haven't mentioned any steps you might have tried to correct this so I'll suggest you try the first troubleshooting step. Reset your iPhone. Press and hold the Home and Sleep/Wake buttons simultaneously until the Apple logo appears. Then release the buttons and let the device restart. No data will be lost doing this. It's like rebooting a computer.

  • The search boxes in websites no longer list anything

    Some time ago the search boxes in websites started returning blank lists.
    If I copy the address and paste it into Chrome, I see a list.
    This is the latest search I tried:
    http://www.hhsc.state.tx.us/search.asp?cx=002070864059381414604%3Ahawidqoej84&cof=FORID%3A11&q=meaningful+use&sa=Go
    is blank in Firefox but says "About 172 results" in Chrome.
    I had to remove 509 lines that started with "print.printer_... in the troubleshooting information below to get the message under 30,000 characters. Might that have something to do with the problem?

    Could you try this ideas?
    *[https://support.mozilla.org/en-US/kb/remove-recent-browsing-search-and-download-history Clear recent history]
    *[http://www.mozilla.org/en-US/plugincheck/ Check plugins]
    *[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in safe mode]
    Also:
    *[https://support.mozilla.org/en-US/kb/how-do-i-create-screenshot-my-problem Create a screenshot of the problem]

Maybe you are looking for