Incorrect Search results number

Hi!
I'm currently working at search center and recently I've noticed that the number of search results in "About xx results" can vary a a lot.
I've found the similar question here: http://community.office365.com/en-us/f/154/t/204676.aspx - the given answer seemed good untill I tried to check the logic and to calculate results count in my test environment.
So, I have 45 total results. One of this results has duplicate. The results are shown by 10 per page. The duplicated results is shown at the first page. If I click on the next pages, I see the following (Im sorry for this clip2net logo, this is not an advertising:)
 about 41
 about 43
about 44
 44 results total
I can't get, why it shows 41 and even 43 on the first 2 pages, while there is only 1 duplicate that might be hidden...
Please help me to understand this logic.
Any help or info would be greatly appreciated.

Hi Martynenko,
I understand that the results count is incorrect in SharePoint Search Results web part.
It is by design that the number on search result web part is a very rough number related to the mechanism within search engine.
It is not accurate because the accurate count of the
search result is not the main target for
search engine.
If we need the accurate number of some specific type of files, we can use the
SharePoint search APIs to get the
search result, and this is same as the result from web part.
http://spbreed.wordpress.com/2013/09/14/sharepoint-2013-solution-to-inconsistent-search-results-count/
Or you can set the query to include the duplicates.
Best regards.
Thanks
Victoria Xia
TechNet Community Support

Similar Messages

  • Incorrect Search Results

    We have a PDF file of 1 page created through SAP (ERP Application). The PDF has a name "AD" which is displayed and printed. When we search the PDF using search option for name "ZZ", it gives the search results by selecting name "AD". Also, the PDF is sent to Blackberry device of "AD" with details of "ZZ".
    This is similar to mirror image but I have no idea as to how to view this.
    Regards,
    Amar

    Hi Martynenko,
    I understand that the results count is incorrect in SharePoint Search Results web part.
    It is by design that the number on search result web part is a very rough number related to the mechanism within search engine.
    It is not accurate because the accurate count of the
    search result is not the main target for
    search engine.
    If we need the accurate number of some specific type of files, we can use the
    SharePoint search APIs to get the
    search result, and this is same as the result from web part.
    http://spbreed.wordpress.com/2013/09/14/sharepoint-2013-solution-to-inconsistent-search-results-count/
    Or you can set the query to include the duplicates.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Incorrect search results in CRM2007

    Hi
    When i search for service contracts in the new UI, i specify the search criteria - status 'In Process'
    However the search result displays the contracts which have status In process, completed etc.
    Has anyone come across this issue and knows how to solve this ?
    Any helpful answers will be rewarded

    Nick,
    I have come across a similar thing in CRM 5.0 where the Agent Inbox ignored the Status.  It was an error in the status mapping configuration.  I also know that in CRM 5.0 the Inbox search logic was applied to the Account Overview to generate the results.
    It's a long shot, but it may well be that the specific searches in CRM 2007 use the Agent Inbox search logic, and that you need to maintain the status mapping for the Agent Inbox to correct this issue.
    This is available here (transaction SPRO, IMG):
    SAP Implementation Guide > Customer Relationship Management > Interaction Center WebClient > Agent Inbox > Map Item Attributes to Inbox Attributes > Map Element Status to Inbox Status
    Hope this helps, thanks!
    Andrew G.

  • Incorrect Search Results in Acrobat Reader 9.2.0

    Anybody ever see this? I'm searching for a word in my pdf, in this case the word "sport". When I click for the results the reader can't find the word, but instead it takes me to other words that are not even close to "sport" like "descision", or a number, even a hyphen ( - ). At first I though it was a problem with the PDF but every other computer in my office can search the same PDF with no problems; when you search for "sport" it takes you to the first instance of "sport". I've uninstalled adobe reader and reinstalled with the latest version, but i still have the same problem. What is happening here?

    Good morning,
    I have exactly the same problem. I use Acrobat Reader 9.4.0 and when I search for a word it takes me to other words or symbols that are not related to the word at all.
    Nonetheless, when I perform a search with Adobe Standard 6.0 on the same document the search works OK.
    Is adobe working to correct this huge problem?
    Regards,

  • Incorrect Search results in MM03 transaction code

    Hi,
    We have a material description as follows
    CLOS-ScrwCap Multi Laun 33mmPPLndDGTOrg
    When we try to do material search in MM03 with
    I : Material by material Type
    Material Type : VERP
    Material Description : crwapultiaunmmnd*rg
    We are getting the materials using the match code. Here we used only lower case letters of material description.
    II : Material by MRP Type
    Material Type : VERP
    Material Description : closscrw
    The result is No Values for the selection
    Here we have used closscrw but does not work.
    Can anyone please provide solution for why it is not working in search by MRP Type? Are there any SAP notes available for this issue?
    Regards,
    S.Sankar

    Hi,
    In your first example 9the one that is working, you are using lower case characters and searching and finding the same characters in lower case.
    In the second example the search includes some characters that are in upper case on the material description.
    It is possible to configure the search functions to ignore case.
    I will have a dig around and find the exact option you need .
    Steve B

  • How to get row number of selected entry from OVS search result

    Hi,
    Anyone having any idea on how to get row number of the  selected entry/ how to differentiate rows in OVS search result in ON_OVS method?
    Regards,
    Jatin

    Hi,
    You can get the selected record to <ls_selection> structure in co phase 3.
    From that structure you can get what ever field you want.,
    check the below code for reference,
    << Moderator message - Cut and paste response from F4 help for ALV table field removed. Plagiarism is not allowed in SCN >>
    hope this helps u.,
    Thanks & Regards,
    Kiran
    Edited by: Rob Burbank on Jan 5, 2012 5:24 PM

  • People Search results links are incorrect?

    Hello Everyone,
    Just setup People Search on SP2013 SP1 (July 2014 CU).  I have not used it in the past.
    I am finding that after I search for a staff member the results show fine.  However if I click on the user link to go to their MySite page I get the "Sorry, something went wrong" page with "User not found".
    When comparing the URLs I see this difference:
    Url from search result -
    https://.../Person.aspx?accountname=DOMAIN%255Cusername
    Url to the users MySite -
    https://.../Person.aspx?accountname=DOAMIN%5Cusername
    It appears is adding a 25 in the url preventing the "\"?
    Can anyone confirm if this is a bug in SharePoint 2013 SP1 (July 2014 CU)?
    I came across these articles which leads to think so.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/17005728-3e68-49f5-8882-85cc8260e53b/people-search-error?forum=sharepointgeneral
    http://sharepoint.stackexchange.com/questions/97882/my-sites-link-in-search-resuls-is-incorrect-escaped

    Yeah, that's a known issue caused by the MS14-022 security patch.
    It is hoped that it's in the September CU according to Stefan's comment in the link below:
    http://blogs.technet.com/b/stefan_gossner/archive/2014/08/13/august-2014-cu-for-sharepoint-2013-has-been-released.aspx

  • How to limit the number of search results returned by oracle text

    Hello All,
    I am running an oracle text search which returned the following error to my java program.
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    #### ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    java.sql.SQLException: ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
    When i looked up the net, one suggestion that was given is to narrow the wildcard query, which i cannot in my search page. Hence I am left with the only alternative of limiting the number of results returned by oracle text search query.
    Please let me know how to limit the number of search results returned by oracle text so that this error can be avoided.
    Thanks in advance
    krk

    Hi,
    If not set explicitly, the default value for WILDCARD_MAXTERMS is 5000. This is set as a wordlist preference. This means that if your wildcard query matches more than 5000 terms the message is returned. Exceeding that would give the user a lot to sift through.
    My suggestion: trap the error and return a meaningful message to the user indicating that the search needs to be refined. Although it is possible to increase the number of terms before hitting maxterms (increase wildcard_maxterms preference value for your wordlist), 5000 records is generally too much for a user to deal with anyway. The search is not a good one since it is not restricting rows adequately. If it happens frequently, get the query log and see the terms that are being searched that generate this message. It may be necessary to add one or more words to a stoplist if they are too generic.
    Example: The word mortgage might be a great search term for a local business directory. It might be a terrible search term for a national directory of mortgage lenders though (since 99% of them have the term in their name). In the case of the national directory, that term would be a candidate for inclusion in the stoplist.
    Also remember that full terms do not need a wildcard. Search for "car %" is not necessary and will give you the error you mentioned. A search for "car" will yield the results you need even if it is only part of a bigger sentence because everything is based on the token. You may already know all of this, but without an example query I figured I'd mention it to be sure.
    As for limiting the results - the best way to do that is to allow the user to limit the results through their query. This will ensure accurate and more meaningful results for them.
    -Ron

  • Show page correct - store search results incorrect

    Hi. I submitted my feed:
    http://www.tomrbaynham.com/feed/podcast/
    Received the iTunes show page:
    http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=337486702
    The show page has the correct details - Podcast image, "The Investigative Author" and description etc.
    When I search for my show in iTunes, the search results display the old information when I initially submitted the feed: Default Wordpress image, original blog title "The First Time Author". If I select the show, it shows the page with the correct, updated information.
    How can I get the search page to update? It seems bizzare that the search is incorrect when the actual show page is up-to-date.
    Any help is much appreciated!

    I'm afraid I can't answer that - I'm not privy to the exact method by which the various parts of the Store work. If you feed is behaving entirely correctly in the Store page then there isn't anything you can do except wait and hope it will eventually correct itself: you could ask Support -
    http://www.apple.com/support/itunes/store/podcast/
    but I'm afraid you will probably only get a form answer which likely won't address the problem.

  • Change default value "Number of Search Results" - Component PPM_DYNSEARCH

    Hi Gurus,
    I am new to SAP CRM WebUI development and hope you can help me on following problem.
    In Pipeline & Performance Management we want to change the default value for the search results from 100 to 1000.
    SAP CRM 7.0
    Component: PPM_DYNSEARCH
    View: PPM_DYNSEARCH/Filter
    I have already tried to solve this via following solution:
    1) Assign parameter SEARCH_MAX_HITS to a parameter profile in the following IMG and set his value to 1000:
    CRM >> UI Framework >> Technical role definition >> Define parameters.
    2) Then, assign your parameter profile to your business role:
    CRM >> UI Framework >> Business role >> Define business role.
    However this works for all initial search screens but not for Pipeline and Performance Management.
    Can anyone give me a short hint how I can set the max number of search results from 100 to 1000 in the PPM Screen.
    Many Thanks
    Michael

    Hi Michael,
    Seems like this is a normal edit page, not a search page.
    Keep a break point at this code in the HTML page.
    <thtmlb:inputField id        = "maxHitsInput"
                               width     = "80%"
                               value     = "<%= lv_display_max_hits %>"
                               maxlength = "8"
                               design    = "DEFAULT"
                               type      = "INTEGER" />\
    Change lv_display_max_hits in debugging and see if that brings in the value on the UI.
    Normally for a search page there will be a THTMLB attribute maxHits where we pass the value. But in your case it is a normal view.
    Regards,
    Masood Imrani S.

  • Adobe Reader for mobile search result is INCORRECT.

    Adobe Reader for mobile search result is INCORRECT. It is inconsistent with the search results from other PDF reader apps.
    I have a spreadsheet file converted into a PDF. Doing a search on the document using a Adobe Reader on a PC shows 14 search results. Opening the same document on the Google Drive app also shows 14 search results. But when opening the same file to the Adobe Reader for Android, it only shows two results. (See screenshots (left/first is from Adobe Reader for Android)).
    My device is an Xperia Z2 with Android 4.4.4.

    Hello Mehwish,
    It seems that Adobe Reader for mobile has issues only to this file. I have not thoroughly tested it with other PDF files though, but just this 1 out of the 5 files I have tried had issues. Attached herewith is the file I used the search with. Sent a copy to your email [email protected] too.
    Note that the file was made from a spreadsheet in a PC and then saved as PDF from the same spreadsheet application.
    Regards,
    Erik Sala
    From:"Mehwish K." <[email protected]>
    Date:Mon, Apr 6, 2015 at 8:53 PM
    Subject:[Adobe Reader for Android] Adobe Reader for mobile search result is INCORRECT.
    Adobe Reader for mobile search result is INCORRECT.
    created by Mehwish K. in Adobe Reader for Android - View the full discussion
    Hi,
    Do you observe the issue with all your pdf files? Would it be possible for you to share one such file with [email protected] so that we may investigate?
    Thanks,
    Adobe Reader Team
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7410791#7410791 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7410791#7410791
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"      
    Start a new discussion in Adobe Reader for Android by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Search results showing incorrect modified date

    Hi All,
    I have a one difficulty in search results.
    Document showing incorrect modified date in search results. And this happens for one document only.
    We have customized the search/results.aspx page, Our document is showing correct modified date in document properties,All Items.aspx like 31/4/2013.
    But when i search with document name in search, result showing incorrect modified date like 24/6/2004.
    I checked with database in SQL, every thing is fine.
    I have updated the Modified date through powershell script for one document and after that this recent modified date is showing in search results.
    But after updating the Modified date through powershell, issued document not showing the recent modified date in search results. still showing as 24/6/2004.
    I should not do edit property and save, to create new version.
    I don't know what is happening in search crawl. All ready full crawl running daily basis.
    I want to check whether this issued document is crawling or not. Could anybody help me to get out of this. what is the main cause of this issue.
    Thanks & Regards
    MD.Liakath ali

    Hi,
    I'm seeing the same issue after upgrading the SharePoint 2010 to SharePoint 2013.
    When I search any upgraded document in SharePoint 2013, the document's "Last Modified Date" was showing an incorrect value in Search Results page but other metadata of document like "Last Modified User" is showing the correct
    value so the problem is not with document crawl, something wrong with Last Modified Date property in Search results.
    I have seen below comment as answer but I didn't understand the solution to fix this issue for all upgraded documents.
    The most likely cause is that there is metadata on the documents that is set to that date which is overriding the other dates in the search result. SharePoint isn't particulary imaginative so it's got to be finding that date from somewhere.
    Do we have any solution for this issue? Is this issue will be addressed in SharePoint 2013 SP1?
    Note: No issues with documents, which uploaded after upgrade.

  • Increasing the Number of Candidate Job Search Results in E-Recruiting

    Hello,
    Would anyone happen to know where to go to increase the number of candidate candidate job search results in E-Recruiting?  It's default value is set as only allowing 10 jobs per page.  If you want to display more you have to click the down arrow.  How would I allow it to show, say 25, or maybe 50 per page?
    Any help you can provide would be appreciated!
    Thanks Ryan!

    Thank you Sandra for your reply,
    I tried the following combinations in table T77RCF_UI_PARAM
    Name                           Param.type                            Parameters
    hrrcf_unrg_srch             MAX_VISIBLE_ITEMS             25
    hrrcf_unrg_srch             VISIBLE_ROWS                     25
    hrrcf_unrg_srch             SEARCH_POSTINGS             25
    None of which increased the number of hits that appeared on the page.  The value still remained at 10 per page.
    It would appear that somewhere in the result_list.bsp view for hrrcf_unrg_srch that this is being set.  If I view the methods for class CL_HRRCF_UNRG_SRCH_HL_RESULT_V I find three that would appear to be relivent:  PREPARE_HITLIST, GET_HITS_PER_PAGE and SHOW_HITLIST.  However, I am having trouble tracking down where the default value of 10 hits per page is being set at.
    Regards,
    Ryan

  • Yaourt: wath means the number besides a package name on search results

    As the tile suggest, I want to know what is the meaning of the number that appears besides a package name on the search results of yaourt. Anyone know? Why isn't there any explanation on the manual?

    $ yaourt -s lightworks
    1 aur/lightworks 11.5-1 (0)
    A professional non-linear editing system for editing and mastering digital video in various formats.
    2 aur/lwks 11.5-2 (21)
    Lightworks is a professional video editing suite
    ==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
    ==> -------------------------------------------------------
    The number right after the package name is the version and release number, the number in parentheses - zero for lightworks and 21 for lwks is the number of votes each package has.

  • Search/Result page is incorrect, result page is blank

    Hello,
    I am designing a website for my work. Iam not very much familiar with coding and dont know what exactly is missing in the code.
    The search page filters the search criteria and on clicking the submit button, redirects to the result page which should display only the rows containing the search criteria. However, it is displaying blank in the result page with only the column names of the queried table (in the recordset)
    The search page code is :
    <?php require_once('Connections/connect.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $colname_Recordset1 = "-1";
    if (isset($_GET['Class'])) {
      $colname_Recordset1 = $_GET['Class'];
    mysql_select_db($database_connect, $connect);
    $query_Recordset1 = sprintf("SELECT * FROM time_table WHERE `Class` = %s", GetSQLValueString($colname_Recordset1, "text"));
    $Recordset1 = mysql_query($query_Recordset1, $connect) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $colname_Recordset1 = "-1";
    mysql_select_db($database_connect, $connect);
    $query_Recordset1 = sprintf("SELECT * FROM time_table WHERE `Class` = %s", GetSQLValueString($colname_Recordset1, "text"));
    $Recordset1 = mysql_query($query_Recordset1, $connect) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = "-1";
    if (isset($_GET['Class'])) {
      $totalRows_Recordset1 = $_GET['Class'];
    $colname_Recordset1 = "-1";
    mysql_select_db($database_connect, $connect);
    $query_Recordset1 = sprintf("SELECT * FROM time_table WHERE `Class` = %s", GetSQLValueString($colname_Recordset1, "text"));
    $Recordset1 = mysql_query($query_Recordset1, $connect) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = "-1";
    if (isset($_GET['Class'])) {
      $totalRows_Recordset1 = $_GET['Class'];
    $colname_Recordset1 = "-1";
    mysql_select_db($database_connect, $connect);
    $query_Recordset1 = sprintf("SELECT * FROM time_table WHERE `Class` = %s", GetSQLValueString($colname_Recordset1, "text"));
    $Recordset1 = mysql_query($query_Recordset1, $connect) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    mysql_select_db($database_connect, $connect);
    $query_Recordset1 = "SELECT * FROM time_table";
    $Recordset1 = mysql_query($query_Recordset1, $connect) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = "-1";
    if (isset($_GET['Class'])) {
      $totalRows_Recordset1 = $_GET['Class'];
    $colname_Recordset1 = "-1";
    if (isset($_GET['Class'])) {
      $colname_Recordset1 = $_GET['Class'];
    mysql_select_db($database_connect, $connect);
    $query_Recordset1 = sprintf("SELECT * FROM time_table WHERE `Class` = %s", GetSQLValueString($colname_Recordset1, "text"));
    $Recordset1 = mysql_query($query_Recordset1, $connect) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);$colname_Recordset1 = "-1";
    if (isset($_GET['Class'])) {
      $colname_Recordset1 = $_GET['Class'];
    mysql_select_db($database_connect, $connect);
    $query_Recordset1 = sprintf("SELECT * FROM time_table WHERE `Class` = %s", GetSQLValueString($colname_Recordset1, "text"));
    $Recordset1 = mysql_query($query_Recordset1, $connect) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    $query_Recordset1 = "SELECT distinct `Class` FROM time_table";
    $Recordset1 = mysql_query($query_Recordset1, $connect) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    ?>
    <?php
    // *** Validate request to login to this site.
    if (!isset($_SESSION)) {
      session_start();
    $loginFormAction = $_SERVER['PHP_SELF'];
    if (isset($_GET['accesscheck'])) {
      $_SESSION['PrevUrl'] = $_GET['accesscheck'];
    if (isset($_POST['Rid'])) {
      $loginUsername=$_POST['Rid'];
      $password=$_POST['textfield'];
      $MM_fldUserAuthorization = "";
      $MM_redirectLoginSuccess = "index_1 - Copy.php";
      $MM_redirectLoginFailed = "login_2.php";
      $MM_redirecttoReferrer = false;
      mysql_select_db($database_connect, $connect);
      $LoginRS__query=sprintf("SELECT reg_no, password FROM login_table WHERE reg_no=%s AND password=%s",
        GetSQLValueString($loginUsername, "int"), GetSQLValueString($password, "text"));
      $LoginRS = mysql_query($LoginRS__query, $connect) or die(mysql_error());
      $loginFoundUser = mysql_num_rows($LoginRS);
      if ($loginFoundUser) {
         $loginStrGroup = "";
              if (PHP_VERSION >= 5.1) {session_regenerate_id(true);} else {session_regenerate_id();}
        //declare two session variables and assign them
        $_SESSION['MM_Username'] = $loginUsername;
        $_SESSION['MM_UserGroup'] = $loginStrGroup;               
        if (isset($_SESSION['PrevUrl']) && false) {
          $MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
        header("Location: " . $MM_redirectLoginSuccess );
      else {
        header("Location: ". $MM_redirectLoginFailed );
    ?>
    <!doctype html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>TIME TABLE</title>
    <link rel="stylesheet" href="styles.css" type="text/css" />
    </head>
    <body onsubmit= "registerEvents()">
                                             <form name="form1" method="POST" action="<?php echo $loginFormAction; ?>">
    </form>
                                             <img class="header-image" src="images/logowhite.jpg"  style="float: left" />                    
      <header>
                  <h1><a href="/">CHRIST PRE-UNIVERSITY<span>E-SCHOOL</span></a></h1>
            <h2>EXCELLENCE IS ALL THAT MATTERS</h2>
        </header>
        <div id="body">
            <form name="form2" method="get" action="time.php">
              <p align="center">
                <strong>
                <label for="Rid">
                   <br>
                </label>
                <label for="Rid"><br>
                </label>
                <label for="sid">Class</label>
                <select name="sid" id="sid">
                  <?php
    do { 
    ?>
                  <option value="<?php echo $row_Recordset1['Class']?>"<?php if (!(strcmp($row_Recordset1['Class'], ucwords($row_Recordset1['Class'])))) {echo "selected=\"selected\"";} ?>><?php echo $row_Recordset1['Class']?></option>
                  <?php
    } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
      $rows = mysql_num_rows($Recordset1);
      if($rows > 0) {
          mysql_data_seek($Recordset1, 0);
                $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    ?>
                </select>
                <label for="Rid"><br>
                </label>
                </strong></p>
              <p align="center">
                <input name="Submit" type="submit" class="formbutton" id="Submit" value="Submit" >
              </p>
            </form>
            <section id="content">
                  <article></article>
            </section>
    </div>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>
    The result page code is:
    <?php require_once('Connections/connect.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    }if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $maxRows_Recordset1 = 10;
    $pageNum_Recordset1 = 0;
    if (isset($_GET['pageNum_Recordset1'])) {
      $pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
    $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
    $colname_Recordset1 = "-1";
    if (isset($_GET['Class'])) {
      $colname_Recordset1 = $_GET['Class'];
    mysql_select_db($database_connect, $connect);
    $query_Recordset1 = sprintf("SELECT * FROM time_table WHERE `Class` = %s", GetSQLValueString($colname_Recordset1, "text"));
    $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query($query_limit_Recordset1, $connect) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    if (isset($_GET['totalRows_Recordset1'])) {
      $totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
    } else {
      $all_Recordset1 = mysql_query($query_Recordset1);
      $totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
    $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
    $colname_Recordset1 = "-1";
    if (isset($_GET['Class'])) {
      $colname_Recordset1 = $_GET['Class'];
    mysql_select_db($database_connect, $connect);
    $query_Recordset1 = sprintf("SELECT * FROM time_table WHERE `Class` = %s", GetSQLValueString($colname_Recordset1, "text"));
    $Recordset1 = mysql_query($query_Recordset1, $connect) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    <!doctype html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>TIME TABLE FOR CLASS</title>
    <link rel="stylesheet" href="styles.css" type="text/css" />
    </head>
    <body bgcolor="#CCFF99">
                        <div>
            <img src="images/logowhite.jpg" width="274" height="103" class="header-image"  style="float: left" />                    
    </div>
      <header>
        <h1 align="left"><a href="/"> SCHOOL TIME-TABLE FOR <span> THE CLASS </span></a></h1>
    </header>
      </div>
    <div align="center">
    </div>
        <p align="center"> </p>
    <p align="center"> </p>
        <div align="center">
    <p align="center"> </p>
    <table border="5" cellpadding="15" cellspacing="15">
      <tr>
        <td>Class</td>
        <td>Day</td>
        <td>1st</td>
        <td>2nd</td>
        <td>3rd</td>
        <td>4th</td>
        <td>Room No</td>
      </tr>
      <?php do { ?>
        <tr>
          <td><?php echo $row_Recordset1['Class']; ?></td>
          <td><?php echo $row_Recordset1['Day']; ?></td>
          <td><?php echo $row_Recordset1['1st']; ?></td>
          <td><?php echo $row_Recordset1['2nd']; ?></td>
          <td><?php echo $row_Recordset1['3rd']; ?></td>
          <td><?php echo $row_Recordset1['4th']; ?></td>
          <td><?php echo $row_Recordset1['Room No']; ?></td>
        </tr>
        <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
    </table>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>
    Please help me out.
    Thanks

    Thanks for your help,
    I have created both the pages again, one is a search.php another is result.php
    search.php is only used for accepting a text field which is the input of the search in database table on click of the button, and the result of the search is to be displayed in a dynamic table in result.php.
    The result field again uses a GET variable named 'Class Name', from the form field in search.php. But again, my result Page displays blank except the column names of the table. Please advice.
    search.php
    <?php require_once('Connections/connect.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    ?>
    <!doctype html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link rel="stylesheet" href="styles.css" type="text/css" />
    </head>
    <body>
                        <div>
            <img src="images/logowhite.jpg" width="274" height="103" class="header-image"  style="float: left" />                    
    </div>
      <header>
        <h1 align="left"><a href="/"> TIME TABLE FOR<span> CLASS                           </span></a></h1>
    </header>
      </div>
    <div align="center">
        </div>
        <form name="form1" method="get" action="result.php">
          <p><label>Class Name</label>
          <input name="Class Name" type="text" value="" size="15" maxlength="20">
           </p>
          <p>
            <input type="submit" name="bid" id="bid" value="Search">
          </p>
        </form>
        <p align="center"> </p>
    </body>
    </html>
    result.php
    <?php require_once('Connections/connect.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $maxRows_Recordset1 = 10;
    $pageNum_Recordset1 = 0;
    if (isset($_GET['pageNum_Recordset1'])) {
      $pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
    $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
    $colname_Recordset1 = "-1";
    if (isset($_GET['Class Name'])) {
      $colname_Recordset1 = $_GET['Class Name'];
    mysql_select_db($database_connect, $connect);
    $query_Recordset1 = sprintf("SELECT * FROM time_table WHERE `Class` LIKE %s ORDER BY `Class` ASC", GetSQLValueString("%" . $colname_Recordset1 . "%", "text"));
    $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query($query_limit_Recordset1, $connect) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    if (isset($_GET['totalRows_Recordset1'])) {
      $totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
    } else {
      $all_Recordset1 = mysql_query($query_Recordset1);
      $totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
    $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
    ?>
    <!doctype html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link rel="stylesheet" href="styles.css" type="text/css" />
    </head>
    <body>
                        <div>
            <img src="images/logowhite.jpg" width="274" height="103" class="header-image"  style="float: left" />                    
    </div>
      <header>
        <h1 align="left"><a href="/"> TIME TABLE SEARCH RESULT FOR<span> CLASS </span></a></h1>
    </header>
      </div>
    <div align="center">
    <table border="5">
      <tr>
        <td>Class</td>
        <td>Day</td>
        <td>1st</td>
        <td>2nd</td>
        <td>3rd</td>
        <td>4th</td>
        <td>Room No</td>
      </tr>
      <?php do { ?>
        <tr>
          <td><?php echo $row_Recordset1['Class']; ?></td>
          <td><?php echo $row_Recordset1['Day']; ?></td>
          <td><?php echo $row_Recordset1['1st']; ?></td>
          <td><?php echo $row_Recordset1['2nd']; ?></td>
          <td><?php echo $row_Recordset1['3rd']; ?></td>
          <td><?php echo $row_Recordset1['4th']; ?></td>
          <td><?php echo $row_Recordset1['Room No']; ?></td>
        </tr>
        <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
    </table>
    <p align="center"> </p>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>
    </body>
    </html>
    I followed these steps from adobe help.
    Thanks.

Maybe you are looking for

  • How to use the SQL 'union' in Business Objects???

    Post Author: tatun CA Forum: Data Integration Hi eveyone. I have to write the following SQL code in Business Objects.The code has some 'union' inside the same query. I have tried to make some unions in the Data Provider, but I can just do 8 unions, a

  • How to automatically close TitleWindow after 10 secs?

    hello, I've been trying several options to automatically close title window (created via popupmanager) but none is working. I create this window as kind of final confirmation. I want to display it for 10 secs, then close and bring user back for welco

  • Notes on using Object  oriented concept in ABAP

    Hi , I want somes notes on how to use Object  oriented concept in ABAP. Thanks in advance. Chetan

  • Help reading xml files

    Hi All I'm trying to read a xml file to get some data. My xml file looks like this <?xml version="1.0" encoding="ISO-8859-1"?> <Reporte>     <reportYear>2004</reportYear>     <client>         <clientCode>4300000001</clientCode>         <article>     

  • How do i get rid of macdefender mac keeper popups

    How do i get rid off mac defender mac keeper mac detox, pop ups