Recordset Navigation - php

I'm having the hardest time with something that seems so simple. I have 7 records returned by my request. I want to display 5 per page.

I inserted the records of Dreamweaver Navigation bar - simple.

When the first page of results of load, results are ranked and displayed exactly as they should - showing the first 5 results. When I click Next, I get a blank page - it does not display the remaining two records.

If I can hit previous - go back to the zero page (the first page of results), the results are changed there. What he does is to take documents 3 and 4 and just get rid of them, then displays the records 6 and 7 - up folder 5.

Thus, the records must be - on the first page of results - 1,2,3,4,5 - then records 6.7 on the second page of results.

As I get nothing - on the first page of 1,2,3,4,5 - then on the second page (the two missing records seem to just disappear). But, when I type the first or previous link back to the first page of results, I get documents 1,2,5,6,7 - records 3 & 4 just disappear.

I use php - and can only conclude that this function doesn't work well with php.

Read other messages regarding this issue, but it has never been a solution. I'm looking for management.

Can anyone help? -This should be so simple.

If you can help, thanks

brywilson88 wrote:
> I'm having the hardest time with something that seems so simple. I have 7
> records returned by my request. I want to display 5 per page.
>
> I inserted the Dreamweaver Recordset Navigation bar? simple.
>
> When the first page of results of load, results are ranked and displayed
> exactly as they should? the first 5 results. When I click Next, I
> Get a blank page? It does not display the remaining two records.
>
> If I hit then previous? go back to the zero page (the first page of results) the
> results there are changed. What it does is to take documents 3 and 4 and just
> get rid of them, and then displays the records 6 and 7? up folder 5.
>
>, The records must therefore? on the first page of results? 1,2,3,4,5? then
> recorded 6.7 on the second page of results.
>
> Is what I get? on the first page of 1,2,3,4,5? then nothing on the second page
> (the two missing records seem to just disappear). But, when I hit the previous
> or first link back to the first page of results, I get 1,2,5,6,7 documents? reviews
> 3 & 4 just disappear.
>
> I use php? and can only conclude that this function does not work well
> with php.
>
> Read the other posts about this problem, but it has never been a solution. I am
> in search of meaning.
>
> Can anyone help? This should be so simple.
>
> To see this in action, start by
> http://www.businessmoneytoday.com/Forms/CashForReceivables.html
>
> In the form, select:
>
> 1 - no matter what
> 2 - manufacturing
> 3 - any button of the radio
> 4 - Florida
> 5 - first selection
> 6 - nothing
> click on submit
>
> You will see the first page 5 records in order, they should be.
> Press the next tab or the last after the results - you will get an empty result - hit
> previous or the first - and you will get different results
>
> If you can help, thanks

I don't know if I can help... but your form sends the results
page, the form data is used to filter the results, then use a link
to pass data to the query string to the page, but since the page is not being
past the form data for results, that nothing is displayed.

Dooza
--
Display guidelines
http://www.Adobe.com/support/forums/guidelines.html
How to ask Smart Questions
http://www.CatB.org/ESR/FAQs/smart-questions.html

Tags: Dreamweaver

Similar Questions

  • PHP object Recordset Paging - recordset navigation bar

    Hello!

    Look at this page:

    http://Martinique.org/martiniquenew/discovery/towns-villages.php

    Use the navigation bar to page (Browse) and you'll notice something very annoying - the page pops up.

    How can we prevent that from happening then we stay at the same level of the page when we are navigating in the database?

    Thank you very much for your answers.

    Using the recharge Recordset page navigation bar, so it will naturally upward. For the page to reload at a particular spot on the page, you must add an ID to the element you want to access to and add it at the end of the URL, preceded by a number sign.

    The following example shows the ID mainDiv at the end of the following code was added to a recordset navigation bar:

    #mainDiv"> next.

  • Lack the Menu "insert > Data Objects > Recordset Paging > Recordset Navigation bar.

    Hi all

    I pointed out the following tutorial.

    Build your first dynamic site - part 2: development of the back-end. Adobe Developer Connection


    In this tutorial is a section to add a record set navigation bar. I am unable to find this menu item.

    Insert > data objects > Recordset Paging > Recordset Navigation bar.


    image of Tutorial.PNG

    Did I miss an add on?

    Thank you

    Badri

    This tutorial was written five years ago for Dreamweaver CS5. It is no longer relevant. The feature has been removed from Dreamweaver.

  • CC of Dreamweaver insert a data object to a recordset navigation bar

    How can I insert a data object of a recordset navigation bar using Dreamweaver CC?  The Insert tab doesn't have a 'data' or 'data subject' to select?

    How is this work now in CC?

    With manual coding.  Or commercial extensions.

    http://www.DMXzone.com/3/Dreamweaver-extensions

    Nancy O.

  • by using the recordset navigation bar

    I have a really weird situation. I can view my recordset navigation bar in the view of real-time data of DW 8, but when I hit F12 to load the page in my browser will not display the recordset navigation bar. What's really weird is that when I check the output of the source HTML < a > code for the next anchor in last interface is clearly present. As you can see by looking at the html code, the tags are all lined up but just refuse to display in the browser.
    Can someone advise?

    Kevin

    problem solved took a few tries, but the code has finally taken.
    No idea why it wouldn't take the first 4 times I did

    Kevin

  • How to navigate through a recordset using PHP

    I have a recordset containing a MySql table with 5 columns, each containing an email address of a staff member in a club.

    Each line represents a different club and each column a different type of agent.

    The first column represents presidents, treasurers next etc...

    The recordset is called $mailset.

    I need to loop through each row in $mailset and extract the email addresses of each column and concatenate them into a string separated by semicolons semi so it ends like this:

    [email protected] ; [email protected] ; [email protected] ; and so on.

    This is how the recordset is implemented:

    @mysql_select_db ($database_dummyread, $dummyread);

    $query_mailset = "SELECT club_chair_email, club_treas_email, club_sec_email, club_delegate_email, club_deputy_email FROM clubs;

    $mailset = mysql_query ($query_mailset, $dummyread) or die (mysql_error ());

    $row_mailset = mysql_fetch_assoc ($mailset);

    $totalRows_mailset = mysql_num_rows ($mailset);

    ? >

    I tried to use a loop to iterate through the Recordset, but it always shows the first record, so its not to move the pointer in the file.

    The pseudo code of the punishment to be something like this:

    Initialize variables and move to the first record

    If the registration process

    Read a record

    Treat all columns

    Move to the next record

    on the other

    If there is no record

    print an error message

    on the other

    Print the results.

    Can someone give me a hint on how to move from one line to the other in a recordeset under the control of a loop.

    I use PHP and MySql. (as far as I know, this is the original - not AOP or MySqli)



    While ($mail = {mysql_fetch_assoc ($mail_seyt))}

    extract ($mail);

    echo "$club_chair_email - $club_treas_email".
    ";

    }

    That should put you on the right track.

  • Creation of lists of goods make a DWCS5 recordset with php PLS help

    Hi there I have an another question on lists with php and the Recordset.

    Here is my example:

    < ul >

    < li > let us all live < /li >

    Help my soul. < /li > < li > to

    < li > please have a life wonderfull. < /li >

    < li > you want another. < /li >

    < li > will you help me with. < /li >

    < li > let us go now. < /li >

    < /ul >

    I have all these lines of text in a table all in lines in my mysql database all have an id, I need to post it on my site as my example above, don't know where start because all the examples I have seen are nested lists someone can help. When I create my recordset and use the repeat region I get 'let us all live. Help my soul. Please have a wonderful life. You will assist me with. Let us go now. »

    Here is my code

    <? PHP

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via 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 "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    @mysql_select_db ($database_datexdatabase, $datexdatabase);

    $query_rsSwiftPOStableFeatures = "SELECT title, discribtion of id ORDER BY 'restaurant table service' ASC ';

    $rsSwiftPOStableFeatures = mysql_query ($query_rsSwiftPOStableFeatures, $datexdatabase) or die (mysql_error ());

    $row_rsSwiftPOStableFeatures = mysql_fetch_assoc ($rsSwiftPOStableFeatures);

    $totalRows_rsSwiftPOStableFeatures = mysql_num_rows ($rsSwiftPOStableFeatures);

    ? >

    < div id = "content" > <? PHP {? >}

    <? PHP echo $row_rsSwiftPOStableFeatures ["discribtion"];? >

    <? PHP} while ($row_rsSwiftPOStableFeatures = mysql_fetch_assoc ($rsSwiftPOStableFeatures));? >

    < / div >

    Concerning

    Just change this:

    To do this:

    • «. $row_rsSwiftPOStableFeatures ["discribtion"]. »
    • "; ?>

    Also I recommend you strongly to read on the basics of PHP programming to understand these things, because while that DW gives you a good starting point, once you want to raise with you will need to understand the code.

  • Retrieve the number of the row of the recordset in PHP

    How can I retrieve the line number for each line of a Recordset? I need to remove a divider to end in a list of results and therefore need to test for the occurrence of the last line in a found set of records. So, something like:

    IF (current line # = total of the lines) and THEN (not to print the divisor).

    Any help is greatly appreciated.

    Kind regards
    MW

    mgwaters wrote:
    > How can I get the line number for each line of a Recordset?

    There is no way to do this automatically. You must create a variable
    meter of your choice.

    > I need to
    > eliminate a divider to end in a list of results and therefore need to test for the
    > appearance of the last line in a found set of records.

    Dreamweaver creates a variable named $totalRows_recordsetName (where
    recordsetName is replaced with the name, you gave your recordset). You can
    use in combination with a counter, to determine whether to insert
    the divider like this:

    create counter
    $i = 1;
    beginning of the DW repeat region

    Repeat the region code

    code to display the divider
    }
    increment the counter
    $i++; ?>
    end of the repeat region

    The previous code uses! = to check that the meter is not the same as
    the total number of lines. By placing the code to display the divider
    inside the braces of the conditional statement, the divisor will be
    display for each record except the last.

    --
    Adobe Community Expert David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Q. how get several results from a single column in a recordset using PHP

    Hello world

    I hope someone can help. I have a column called categories and about 5 categories listed. I want to show all the products listed in say 2 categories. I don't have that basic php skills so know only how to pass a value to the url to display the products of 1 category for example

    Select *.

    PRODUCT

    Category WHERE colname =

    $colname = $_GET ['category'];

    URL... page.php? category = result

    Question is how can I get products in several categories to show for instance all the products of the categories "fruits", "dairy products", 'meat '.

    Your help will be much appreciated, because I'm tired of beating my head against the wall. (should invent a pillow of wall PHP and sell online)

    Thank you

    $colname1 = $_GET ["category1"];

    $colname2 = $_GET ["Category2"];

    $colname3 = $_GET ["category3"];

    Select *.

    PRODUCT

    Category WHERE the ('$colname1', '$colname2', '$colname3')

    > Your help will be very appreciated because I'm tired of beating my head against the wall

    My guess is that you are trying to build a web application without first learning the basics of PHP and SQL. It is certainly the hard way.

  • Recordset Navigation

    How to create a drop down menu containing all the pages in a recordset to easily access any page? Also, how can I display the current page?

    I decided that I don't care even on this more. I like the way a text box appears in any case better than a menu.

  • Database navigation problems

    I have a problem with the display of the records in my database where I wish to navigate between records.

    I use a set of frames where I collect research data into a form on the left side of the page and view the database results in a frame on the right side of the page.

    The Web site I have displays 1 sheet at a time in a table. There is no problem getting the database records - if I try to display 1 plug on the page, its Ok, if I disply X records on the page its fine - the problem comes when I view 1 folder and then use hyperlinks to move to the next record overall in data.

    The code is defined so that the navigation links appear only where there is more than 1 record so I know that I don't mean to call records that do not exist.

    The error appears when I try to navigate through folders to view you 2nd record returned by your search, there seems to be something to do with the RecordCount.

    Any help appreciated.

    For reference the previous/next record is all here- http://tutorial20.easycfm.com/#

    The error is:

    [quote]

    Element RECORDCOUNT is undefined in GETDATABASESEARCHRESULT.

    The error occurred in * / testquery.cfm: line 36

    34:

    35: < CFSET end = start + disp >

    36: < CFIF start + disp GREATER THAN GetDatabaseSearchResult.RecordCount >

    37: < CFSET end = 999 >

    38: CFELSE >

    [/ quote]

    The site code is:

    [quote]

    <!-start is the default value from line for output.

    DISP determines the number of records to display in a-> time

    <! - start playback with record 1 if not specified via url - >

    < name CFPARAM = "DΘmarrer" default = "1" / >

    <!--> number of records to display on a page

    < name CFPARAM = 'disp' default = "1" / >

    <! - holds the variables passed to the form on the previous page when this page is called-. >

    < Name = "CFPARAM Form.Forename" Default ="" > "

    < Name = "CFPARAM Form.Surname" Default ="" > "

    < Name = "CFPARAM Form.Battalion" Default ="" > "

    < HTML >

    < HEAD >

    < / HEAD >

    < BODY >

    <!-query the database table. Cache the results of 15 minutes. ->

    < #Form.Battalion # CFIF IS "Sixth" >

    < CFQUERY NAME = "GetDatabaseSearchResult" DATASOURCE = "durhamli_durhamli".

    CACHEDWITHIN = "#CreateTimeSpan (0,0,15,0) #" >

    SELECT the name, Pre1917ServiceNumber, Post1917ServiceNumber, battalion, YearOfBirth, DateEnlisted, PlaceEnlisted, DateOverseas, Notes

    OF SixthDLI

    WHERE name LIKE '#Form.Forename#% %' AND name LIKE '% #Form.Surname#% '.

    < / CFQUERY >

    < / CFIF >

    < CFSET end = start + disp >

    < CFIF start + disp GREATER THAN GetDatabaseSearchResult.RecordCount >

    < end CFSET 999 = >

    < CFELSE >

    < CFSET end = disp >

    < / CFIF >

    <!-the range of records that are displayed on the page as well as the total amount of output

    number of records in the result set->

    < request CFOUTPUT = "GetDatabaseSearchResult" StartRowOptional = "" #start # "LignesMax =" #end #">"

    < table border = "2" cellpadding = "5" cellspacing = "2" width = "90%" cols = "5" >

    < /th > < th > family name

    First name < th > < /th >

    Pre1917 No. < /th > < th >

    Post1917 No. < /th > < th >

    < /Th > < th > battalion

    < b >

    < td >

    #GetDatabaseSearchResult.Surname #.

    < table >

    < td >

    #GetDatabaseSearchResult.Forename #.

    < table >

    < td >

    #GetDatabaseSearchResult.Pre1917ServiceNumber #.

    < table >

    < td >

    #GetDatabaseSearchResult.Post1917ServiceNumber #.

    < table >

    < td >

    #GetDatabaseSearchResult.Battalion # battalion

    < table >

    < /tr >

    < th > year birth < /th >

    < th > Date listed < /th >

    < th colspan = "2" > Place < /th >

    < th > posted < /th > overseas

    < b >

    < td >

    #GetDatabaseSearchResult.YearOfBirth #.

    < table >

    < td >

    #GetDatabaseSearchResult.DateEnlisted #.

    < table >

    < td colspan = "2" >

    #GetDatabaseSearchResult.PlaceEnlisted #.

    < table >

    < td >

    #GetDatabaseSearchResult.DateOverseas #.

    < table >

    < /tr >

    < th colspan = "5" align = "left" > Notes < /th >

    < b >

    < td colspan = "5" >

    #GetDatabaseSearchResult.Notes #.

    < table >

    < b >

    < /table >

    Registration number: #CurrentRow # of #GetDatabaseSearchResult.RecordCount #.

    < / CFOUTPUT >

    <!-displays the hyperlinks in the required-> recordset navigation

    < CFOUTPUT >

    < table border = "0" cellpadding = "10" >

    < b >

    <!-display previous link->

    < CFIF not START NOT EQUAL 1 >

    < CFIF start GTE disp >

    < CFSET prev = disp / >

    < CFSET prevrec = start - disp / >

    < CFELSE >

    < CFSET prev = start - 1 / >

    < CFSET prevrec = 1 / >

    < / CFIF >

    <!-displays only link if more than 1 record returned--->

    < CFIF #GetDatabaseSearchResult.RecordCount # GT 1 >

    < td > < of police = 'wingdings' > c < / police > < a href = "testquery.cfm? start = #prevrec # ' > Previous #prev # file < /a > < table > '"

    < CFELSE >

    < / CFIF >

    < / CFIF >

    <! - display link - >

    < CFIF GetDatabaseSearchResult.RecordCount LT end >

    < CFIF start + disp * 2 GTE GetDatabaseSearchResult.RecordCount >

    < CFSET next = GetDatabaseSearchResult.RecordCount - start - disp + 1 / >

    < CFELSE >

    < CFSET = then disp / >

    < / CFIF >

    <!-displays only link if more than 1 record returned--->

    < CFIF #GetDatabaseSearchResult.RecordCount # GT 1 >

    < a href = "testquery.cfm? start = #Evaluate (start + disp") #"> check following < /a > < of police = 'wingdings' > < table >

    < CFELSE >

    < / CFIF >

    < / cfif >

    < /tr >

    < /table >

    < / CFOUTPUT >

    < / BODY >

    < / HTML >

    [/ quote]

    Your request is that when form.battalion is 'sixth '.   You probably use your page when form.battalion is not "sixth."

  • Need help with advanced Recordset Paging!

    Dear Sir!

    Could you help me in pagination (Dreamweaver features) with the advanced Recordset?
    All form data published collection in table (because need some variables can be empty):
    $Wheres = array();
    And after the join to the Recordset:
    $query_Recordset1 = "SELECT * FROM vacancy."
    If (count ($Wheres))
    {
    $query_Recordset1. = "WHERE".comes (' AND ', $Wheres); "
    $query_Recordset1. = "ORDER date dolghn ASC, DESC";
    }
    In this way it works fine but only on the first page (results 1-10), then click on next page (11-20) working only that part of the query "SELECT * VACANCY" and all this data table ignored. Is it possible to solve this problem, and where I could read about it?

    Thank you!

    The problem is that you are filling out the table $Wheres table $_POST. Array $_POST is filled only when the form is submitted first. Therefore, he works on the first page, but it is empty when using the recordset navigation bar.

    The simple way to solve this problem is to change the method of searching for a JOB to GET through. You will also need to change $_POST to $_GET in the code at the top of your page. Recordset navigation bar code automatically keeps the URL parameters, the values must be passed correctly on the following pages.

  • To call vignettes of a database use recordsets?

    Hello world

    I'm stuck on a problem and I was wondering if someone could help.

    I made a page that displays four tiles in a row. Below each thumbnail is a part of form with a PayPal add to cart.

    It has been stated by using the CSS in Dreamweaver CS3. I also have MAMP installed with PHP5 and MySQL5.

    I would like to create a next page / previous page navigation, which is located under the thumbnails, but instead of linking to a new page, I would like

    the next set of four thumbnails to be called from a database and display where the previous thumbnails were and so on.

    Anyone has any ideas on how to achieve or evan if it will work?

    I read books, digital web, I think that recordsets is the way to go, but I don't know if I am barking the wrong tree.

    I'd appreciate any help with what I think my head is going to explode.

    Thank you.

    You are on the right track! What you do are implemented a recordset of your thumbnails and then apply a repeat region server behavior. Set the repeat region to display only 4 items in time. Finally, you include the bar of Navigation recordset and Recordset Navigation mode.

    FWIW, I cover this procedure in the Dreamweaver CS4 Bible in chapter 21.

    Let me know if you have any other questions.

    Best - Joe

    Joseph Lowery

    Author, Dreamweaver CS4 Bible

  • help to understand with PHP

    After having read the three books of David Powers, I was convinced to use <? PHP include ("navigation.php")? >
    where the navigation.php is a spry menu bar.
    It works great and saves a lot of time I can't believe.
    A slight question (not really a problem)
    Whenever I open a page who has understand it, Dreamweaver will give me a message
    "This document contains JavaScript code for a widget that no longer exists." If you do not remove the code... »
    I am not answering the warning message and everything works fine. Should I worry about this?

    JBWebWorks wrote:
    > I am not answering the warning message and everything works fine. Should I worry
    > on this topic?

    Move the script that initializes the menu bar Spry for the include file.
    If "The Essential Guide to DW CS3" is among the three books of my friends who
    you got, read pages 370-2, where I explain how to get rid of this
    nagging message.

    --
    Adobe Community Expert David Powers
    Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • To create a kind of 'Browse pages' on a page with DWCS6: how?

    Hello everyone once again.

    as usual, I'm here with something that seems impossible for me and maybe it's super easy... I checked online but I could not find an answer. I begin with a description of what I want to accomplish:

    -J' have 1 database (mySQL) with a table called "Books", inside, I have these fields: title (VARCHAR, 60), author (VARCHAR 20), TexteArticle (LONGTEXT)

    -J' have 1 page for me, where I insert a form with a book when I want to update the DB

    -J' have 2 PHP pages, one that has links when the user chooses, for example, the name of a book and another that gets the name of the URL and show content (x chapters of history, tale or other)

    -I'm the user and I click on the link "The little Prince", the page loads and shows me the title, the author, the text of chapters x (say 4 chapters)

    -text must be "divided" in addition to a page because it's too long for a single page, so I want to see something like:

    Example when you access the page:

    The little Prince
    Once upon a time...
    Page 1 | > > | Last page

    and the example when you reach page 9:

    The little Prince
    The little prince...
    First page | < < | Page 9 | > > | Last page

    All this must be in a single page, no link to somewhere else or so. It is not a page himself, but he appears in a PHP page as a table, textarea and so on. The thing most close that I can think about is a photo gallery, where you press left and right and shows the pictures but here, instead of pictures, there is text. And if possible, I would not create a table in my database each time that I have inserted a new book. What I would like is something "separating" the text I have in a field called 'TexteArticle' (table "Books") and let the user navigate through the pages. If I, for example, a book 1000 lines long, I want to make a page if all 50 lines I get 20 pages. These 20 pages need to get some kind of recordset navigation bar, but not on a Recordset, only on a text in this page.

    Recovery, what I need is:

    -a way to divide the long text in x pages (as in the example, 1 page every 50 lines of text)

    -Add a navigation bar or some sort of control to browse these pages

    Is it possible something like that? Thank you.

    The following example shows you how to split the article into pages using [PAGEBREAK] inserted into the database, but it gives you only the NEXT option. PREVIOUS

    Split article into multiple pages

    I'm positive, you can do exactly what you need - it's a matter of find and complete the code. Enter the database [PAGEBREAK] is not very practical either. I would look for an example that extracts a certain number of words.

Maybe you are looking for

  • pictures page Firefox does not only show the text and links

    New office (not this one) with windows 8.1 Pro, 29 of Firefox, Norton Internet security. When I go to a lot of these images of pages of Firefox are not displayed, only the text and links. This is true for the addons page of 'get '. I can search for A

  • How can I activate my built in webcam on my EliteBook 6930p

    Spoiler (Highlight to read) How can I activate my built-in webcam on my EliteBook 6930p using windows 7 ultimate 32-bit Operating system. How can I activate my built-in webcam on my EliteBook 6930p using windows 7 ultimate 32-bit Operating system.

  • Satellite M30 - update BIOS

    Help, how do my satellite M30 BIOS? The procedure described by toshiba, indicates it takes to copy the update diskette 1.44 ", but the PC does not support this drive... ! How do I? (i)

  • API C FPGA

    Hello I can generate a C API interface for FPGA design in Labview Communications. And how does it work? Thank you Sebastian

  • update windows xp without sp to sp 3

    Im trying to update my mother in laws COMP. currently, there is no installed sp.  I tried to install sp3, but he told me that I had install sp1 first.  I couldn't find sp1 so I tried sp 2.  He told me that the validation key is invalid.  IM at a loss