Need help adding AM/PM to my clock program

Hi everyone
I would be grateful if you could help me adding AM/PM to my clockDisplay program, been trying but i'm not very familiar with Java.
Thanks
I have used 2 classes:
NumberDisplay and ClockDisplay
the clock automatically convert hours after 12 noon such as 14:34 to 02:34 so all i need is to add PM and AM accordingly.
NumberDisplay classs:
public class NumberDisplay
    private int limit;
    private int value;
    public NumberDisplay(int rollOverLimit)
        limit = rollOverLimit;
        value = 0;
    public int getValue()
        return value;
    public String getDisplayValue()
        if(value < 10)
            return "0" + value;
        else
            return "" + value;
    public void setValue(int replacementValue)
        if((replacementValue >= 0) && (replacementValue < limit))
            value = replacementValue;
        else if ( (replacementValue>=limit) && (replacementValue>=0) )
           value=replacementValue-12;
    public void increment()
        value = (value + 1) % limit;
}ClockDisplay class:
public class ClockDisplay
    private NumberDisplay hours;
    private NumberDisplay minutes;
    private String displayString;    // simulates the actual display
    public ClockDisplay()
        hours = new NumberDisplay(12);
        minutes = new NumberDisplay(60);
        updateDisplay();
    public ClockDisplay(int hour, int minute)
        hours = new NumberDisplay(12);
        minutes = new NumberDisplay(60);
        setTime(hour, minute);
    public void timeTick()
        minutes.increment();
        if(minutes.getValue() == 0) {
            hours.increment();
        updateDisplay();
    public void setTime(int hour, int minute)
        hours.setValue(hour);
        minutes.setValue(minute);
         updateDisplay(); 
    public String getTime()
        return displayString;
    private void updateDisplay()
        displayString = hours.getDisplayValue() + ":" +
                        minutes.getDisplayValue();
}As you see value=replacementValue-12; do the job.
i tried do this:
if(hours.setValue(hour)>=12)
updateDisplayPm();
else
updateDisplay();
and for
private void updateDisplayPm()
displayString = hours.getDisplayValue() + ":" +
                        minutes.getDisplayValue() + "PM";but it didnt work.
so should iwrite if statemnt in NumberDisplay class and refer it to ClockDisplay or i can do something in clockDisplay.
Looking forward to hear from you
thanks

solved
public class NumberDisplay
    private int limit;
    private int value;
    private boolean isam;
    public NumberDisplay(int rollOverLimit)
        limit = rollOverLimit;
        value = 0;
    public int getValue()
        return value;
      public boolean getAm()
             return isam;
    public String getDisplayValue()
        if(value < 10)
            return "0" + value;
        else
            return "" + value;
    public void setValue(int replacementValue)
        if((replacementValue >= 0) && (replacementValue < limit))
            value = replacementValue;
            isam=true;
        else if ( (replacementValue>=limit) && (replacementValue>=0) )
           value=replacementValue-12;
           isam=false;
    public void increment()
        value = (value + 1) % limit;
public class ClockDisplay
    private NumberDisplay hours;
    private NumberDisplay minutes;
    private String displayString;    // simulates the actual display
    private NumberDisplay amCheck;
    public ClockDisplay()
        hours = new NumberDisplay(12);
        minutes = new NumberDisplay(60);
        updateDisplay();
    public ClockDisplay(int hour, int minute)
        hours = new NumberDisplay(12);
        minutes = new NumberDisplay(60);
        setTime(hour, minute);
    public void timeTick()
        minutes.increment();
        if(minutes.getValue() == 0) {
            hours.increment();
        updateDisplay();
    public void setTime(int hour, int minute)
        hours.setValue(hour);
        minutes.setValue(minute);
       updateDisplay(); 
    public String getTime()
        return displayString;
    private void updateDisplay()
        if(hours.getAm())
        displayString = hours.getDisplayValue() + ":" +  minutes.getDisplayValue() + "AM";
        else
         displayString = hours.getDisplayValue() + ":" +  minutes.getDisplayValue() + " PM";
}

Similar Messages

  • I need help adding a mouse motion listner to my game. PLEASE i need it for

    I need help adding a mouse motion listner to my game. PLEASE i need it for a grade.
    i have a basic game that shoots target how can use the motion listner so that paint objects (the aim) move with the mouse.
    i am able to shoot targets but it jus clicks to them ive been using this:
    public void mouse() {
    dotX = mouseX;
    dotY = mouseY;
    int d = Math.abs(dotX - (targetX + 60/2)) + Math.abs(dotY - (targetY + 60/2));
    if(d < 15) {
    score++;
    s1 = "" + score;
    else {
    score--;
    s1 = "" + score;
    and here's my cross hairs used for aiming
    //lines
    page.setStroke(new BasicStroke(1));
    page.setColor(Color.green);
    page.drawLine(dotX-10,dotY,dotX+10,dotY);
    page.drawLine(dotX,dotY-10,dotX,dotY+10);
    //cricle
    page.setColor(new Color(0,168,0,100));
    page.fillOval(dotX-10,dotY-10,20,20);
    please can some1 help me

    please can some1 help meNot when you triple post a question:
    http://forum.java.sun.com/thread.jspa?threadID=5244281
    http://forum.java.sun.com/thread.jspa?threadID=5244277

  • Need help adding schedule to xcode 4

    I need help adding a tour schedule for an iphone app building an app for 13 djs and they want thier tour schedules added these need to be updated monthly is there a way to add this????

    I don't know if this is the easiest way but it works for me. I connect the DVD player to my camcorder (so it's the 3 plugs yellow/red/white on one end and a single jack into the camera). Then I connect my camcorder to the computer (I think it's through a firewire port). Then I just play the DVD and the footage is digitized via the camcorder and I import it into iMovie 4 as it's playing. I believe the camcorder is just in VCR mode.
    I have also used this method to transfer VHS tapes onto DVDs via the camera by connecting the VCR to the camera.
    I haven't had much luck with movies over about 40 minutes on iMovie. But if it's home movies, there may be a logical break. Do maybe 20 minute segments (it's also really easy on iMovie to add a soundtrack if these are OLD films with no sound.
    As you can see, I'm low tech!
    Good luck!
    Powerbook G4   Mac OS X (10.3.9)  

  • Need help adding Arch to Grub

    I am trying to dual boot Arch Linux and Ubuntu. When I try to boot there is no option for Arch. I have added it to the menu.lst file in ubuntu. Arch is installed on sdb1 according to sudo fdisk -l  I need help!

    Fdisk -l
    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xb38ab38a
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        9544    76662148+  83  Linux
    /dev/sda2            9545        9729     1486012+   5  Extended
    /dev/sda5            9545        9729     1485981   82  Linux swap / Solaris
    Disk /dev/sdb: 40.9 GB, 40992473088 bytes
    255 heads, 63 sectors/track, 4983 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0002eb1f
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1        4891    39286926   83  Linux
    Disk /dev/sdc: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x000ea9be
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1               1       30401   244196001    7  HPFS/NTFS
    I think Arch is on the 40GB partition
    Menu.lst
    # menu.lst - See: grub(8), info grub, update-grub(8)
    #            grub-install(8), grub-floppy(8),
    #            grub-md5-crypt, /usr/share/doc/grub
    #            and /usr/share/doc/grub-doc/.
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default        0
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout        0
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    hiddenmenu
    # Pretty colours
    #color cyan/blue white/blue
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line)  and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    ## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    # examples
    # title        Windows 95/98/NT/2000
    # root        (hd0,0)
    # makeactive
    # chainloader    +1
    # title        Linux
    # root        (hd0,1)
    # kernel    /vmlinuz root=/dev/hda2 ro
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below
    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ##      kopt_2_6_8=root=/dev/hdc1 ro
    ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=ce3a864f-3f72-480b-96b3-54516b307170 ro
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=ce3a864f-3f72-480b-96b3-54516b307170
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ##      alternative=false
    # alternative=true
    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ##      lockalternative=false
    # lockalternative=false
    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash
    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ##      lockold=true
    # lockold=false
    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=
    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ##      altoptions=(recovery) single
    # altoptions=(recovery mode) single
    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ##      howmany=7
    # howmany=all
    ## specify if running in Xen domU or have grub detect automatically
    ## update-grub will ignore non-xen kernels when running in domU and vice versa
    ## e.g. indomU=detect
    ##      indomU=true
    ##      indomU=false
    # indomU=detect
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ##      memtest86=false
    # memtest86=true
    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false
    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false
    ## ## End Default Options ##
    title        Ubuntu 9.04
    uuid        ce3a864f-3f72-480b-96b3-54516b307170
    kernel        /boot/vmlinuz-2.6.28-11-generic root=UUID=ce3a864f-3f72-480b-96b3-54516b307170 ro quiet splash
    initrd        /boot/initrd.img-2.6.28-11-generic
    quiet
    #title        Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
    #uuid        ce3a864f-3f72-480b-96b3-54516b307170
    #kernel        /boot/vmlinuz-2.6.28-11-generic root=UUID=ce3a864f-3f72-480b-96b3-54516b307170 ro  single
    #initrd        /boot/initrd.img-2.6.28-11-generic
    #title        Ubuntu 9.04, memtest86+
    #uuid        ce3a864f-3f72-480b-96b3-54516b307170
    #kernel        /boot/memtest86+.bin
    #quiet
    # (0) Arch Linux
    title  Arch Linux 
    root   (hd1,0)
    kernel /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    title Arch
    rootnoverify (hd0,1)
    chainloader +1

  • I have a godaddy website with a welcome page- I need help adding a few additional pages with a hyperlink to my welcome page.

    I need help attaching a few hyperlinks my godaddy welcome page. I have 2 more ipages articles, I also converted them to pdf. Godaddy only helped (last year) with the 1st article.  I do not know how to attach a hyperlink to the artlcles and add the hyperlinks to my welcome page.

    The program is called Pages not iPages. Just let us know if you do not speak English and what language you do speak so we can adjust for that.
    The issues are to do with your web page not with Pages.
    I think you are asking how to link from your web page to your pdf articles. You must first copy those pdfs to your web server, or some other web location, and then provide html links on your welcome page to those pdf files.
    The pdfs themselves may contain links to other locations but I can not see that that is what you are asking for.
    Nor to what those links would be to.
    From your heading I think you may have confused the name of Pages, the word processing program, with web pages which are two different things.
    Peter

  • ComboBox (dropdown) Need Help Adding URL links!!!

    I am somewhat of a newbie....Anybody know how to use URL
    links in a ComboBox dropdown menu? NEED HELP!!!!!!! I'm trying to
    make it so that after selecting an option, the user is directed to
    another URL within the same browser window. Using flash 8!
    Thanks,

    Im a bit a newbie myslef but i think you make flash
    commuincate to javascript wich will make the browser goto the URL.
    do a search on getURL and javascript together and i am sure
    you will find something.
    And when slecting to redirct i think its on?(onPress)
    something so maybe look throught the help section in flash 8 and
    look at componets. I think there is some actionscript help there.
    Sorry i could not be more helpful.

  • Need Help W/ Different Signatures & Accounts Using Mail Program

    Hi all!
    I have 2 questions:
    1) Say I send an email from [email protected], but I also have an account with [email protected] in this mail program with a separate mailbox. When I compose my new email address from the mailbox for [email protected] address, the account selected is [email protected], instead. I know there is a way to fix this, but I can't figure out how to do it.
    2) I have different signatures for each of my multiple email addresses in my Mail program. Is there a way to make each one the automatic signature for the account it is being sent from?
    I am using the 1.3.11 (v622/624) version of mail on my G4 Mac Mini.
    Thanks for any help anyone can give me!

    Hi,
    I'm back trying to get some much needed help. Now I'm getting this message when trying to open Premire Elements 3.0 from my C drive. I get the message "Sorry a serious error has occurred that requires Premier Elements to shut down. We will attempt to save your current project." When clicking on OK or the closing X it shuts down. I tried the advice that I received in this forum. I tried deleting "workingset.prsl" . Instead of deleting it I dragged it out of the "Styles folder and onto my desktop. I didn't delete it for fear that I would cause myself more problems. This way if it didn't work I could put it back into the "Styles folder which I did because it didn't work. I'm desperate now. I'm making a video of our 50th wedding anniversary that I have been working on for over a year and now I can't get it opened.
    Larry

  • Need help adding video to a site

    Hi Everyone:
    I really need some help please. The owner of a site I am
    working on sent me a DVD with video's he has taken and wants them
    put on his site.
    The files are VIDEO_TS and are MPEG files. How can I add the
    video's to the site so that when I user clicks on the link, they
    are able to either view the site or download the video to watch
    later. I have other video's added to the site but I was able to
    copy them and safe them the way there were added. The owner sells
    products from the site I copied them from.
    The site I am working on is www.buggyworld.net. Most of the
    individual pages for the vehilces have videos on them and I am
    trying to add these new ones the same way. I have never done this
    before so really not sure how to. The videos that are already added
    at Windows Media Audio/Video Files and that is how I would like to
    convert this video to.
    Any help would be so greatly appreciated.. thank you
    Linda

    Best bet would be to make Flash video so that everyone who
    wants to (and has
    the Flash Player plugin) can see them. Do you have Flash?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Frank Branker" <[email protected]> wrote in
    message
    news:f4ph73$rcd$[email protected]..
    > What?s the size of your MPG file?
    >
    > It?s better if you convert your file to a wmv file
    format because it?s
    > important to keep your file size under 6 Megs. Do you
    have the software to
    > do
    > this?
    > Windows Movie maker might be able to do this you can
    find it in your
    > program
    > files on your computer.
    >
    > If not we will have to work with what you have and do a
    quick and dirty
    > but I
    > don?t advise that.
    >
    > Below is a list of tools you may want to consider
    owning.
    >
    > Ripping Software
    > This software will rip from a dvd to just about any
    format including WMV
    >
    http://www.imtoo.com/dvd-ripper.html
    >
    > Compressing software
    > Sorenson Squeeze Suite 4.5 is the industry-leading video
    encoding tool
    >
    http://www.sorensonmedia.com/pages/?pageID=2
    >
    >
    >

  • I need help adding text!

    I need some help with PE 12 and adding text...

    this forum is for photoshop elements and photoshop elements doesn't support editing GIF.
    You might want to post to photoshop community Photoshop General Discussion

  • Need help adding a second page on reports builder, paper layout.

    Hi,
    I have a requirement where I need to create a paper layout using Reports Builder (10.1.2.0.2). This report will print out the following:
    1) Invoice
    2) VAT Slip (on a separate page)
    So far I have created the invoice part and it is printing properly. Now I want to add the Vat slip. When I use the "Trailer Section" on the rdf report, I create a frame and inserted some text. The report ran just fine. Then in the same frame, I added a repeating frame. And now the report is completing with the following error:
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    stat_low = 86
    stat_high = 0
    emsg:was terminated by signal 6
    Enter Password:
    MSG-00100: DEBUG: AfterPForm_Trigger +
    MSG-00100: DEBUG: Multi Org established.
    MSG-00100: DEBUG: AfterParam_Procs.Get_Country_Details
    MSG-00100: DEBUG: Get_Country_Description.
    MSG-00100: DEBUG: AfterParam_Procs.Switch_On_Debug
    MSG-00100: Running in debug mode
    MSG-00100: DEBUG: AfterParam_Procs.Get_Trx_Number_Low
    MSG-00100: DEBUG: AfterParam_Procs.Get_Trx_Number_High
    MSG-00100: DEBUG: AfterParam_Procs.Get_Tax_Option
    MSG-00100: DEBUG: AfterPForm_Trigger -
    *** glibc detected *** ora_rw20_run: munmap_chunk(): invalid pointer: 0x09067b10 ***
    Anyone have any idea why this is happening? Any help is much appreciated.
    Or is there any way I can add a page that has to be printed after the invoice?
    Thanks
    -Nelly

    If you have created your own template (but it sounds like you haven't) you will need to 'capture' that page so it repeats on following pages.
    The whole process is described here:
    "Letterhead and follower sets"
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=182&mforum=iworktips ntrick
    Peter

  • Need help adding field data from a table to a text box

    I have a form that has a table. Within the table is a description box. The user enters data into the box and can add/remove new items. When they are done I would like the text from these fields to be concatenated into a large text box. Essentially what they are doing is creating a list of descriptions that will be pushed into a report field.
    Thanks,

    Hi,
    Yes, you should be able to adapt the example to work for the main summary textfield.
    I would place the script in the exit event of the table textfields. You would still need to clear the summary textfield and then loop through the table and update.
    Inside the loop the text would be like:
    summary.rawValue = summary.rawValue + xfa.resolveNode("Table1.Row1[" + i + "]").textField.rawValue + " ";
    Hope that helps,
    Niall

  • Need help adding 2nd hard drive

     Hey guys whats up. I need some advice about adding a second hard drive. Right now i have a WD 320GB 7200 RPM IDE Ultra ATA100 Hard Drive running on the primary IDE. Everything is fine but i wanted to get a smaller and faster drive for the operating system and for some small video editing. I recently purchaced a Western Digital Raptor 36.7GB 10,000 RPM Serial ATA150 Hard Drive.
    Now the questions:
     1. How should i assing the drives? (which master/slave/cable select)
     2. Also am i going to have to do anything since im going to have one on the IDE and another on SATA?
     3. Any advice that you have...
     What i was thinking is this...i should disconect my current HD and hook up the new one to SATA port 2, and set it to master(or CS maybe). Format it and then install the operating system. Once OS installed and working, ill hook back up the IDE drive and make the setting to slave(or CS maybe). Then uninstall the operating system from the IDE.
    Thanks for any input

    Thanks NovJoe,
     What setting (master/slave/cable select) should i set the IDE drive to? And yes i do want my OS on the raptor.
    Thanks for your advice...didnt think that anyone was going to.

  • Need help adding image to datagrid column

    Hi,
    Can anyone tell me how to add an image to a datagrid column?
    I have created a flex library project which contains a mxml component with a datagrid, an item renderer mxml component which rendered the image within the datagrid column depending on the value coming back from the database for that column and a folder 'assets' which hold all the images. When I add the library to my main project and call the mxml component with the datagrid an image place holder is visible in the datagrid column but not the image. However, if I take the image out of the library project and added to an 'assets' folder in the main project the image is displayed in the datagrid column.
    It looks like, even though the images are in the flex library project and only the flex library project is trying to display the images in the datagrid, the library project is looking in the main application project folder for the image.
    Does anyone know why this is happening and how to fix it?
    Thanks in advance for an help,
    Xander.

    I have tried embedding the images in my library but it still didn't work. Also I can't embed the image as I'm using the value of the column to complete the image name, for example in my mxml item renderer component I have the added the following code
    <mx:Image source="@Embed(source='assets/' + data.mycolumnvalue + '.png')" tooltip="{data.mycolumnvalue}"/>
    but nothing is displayed.

  • I need help adding an additional button to a web template

    Hello,
    I am trying to add an aditional button to a web template I inherited.  I am not a web person just trying to fill a gap at the company.
    If you look at my test server www.pondviewtech.com I want to add another button above the request demo one.  I have tried a bunch of things:  making the button smaller, adding a similar line to my index file as the same button, deleting the "Welcome to" text.  The best I could get was this www.pondviewtech.com/buttontest.html .  I have attached my buttontest.html file.  I couldn't figure out how to paste a few lines of code in this page.
    I didn't create the template so if it is a mess don't worry about my feelings.
    Thanks for any help or suggestions.

    Change this -
            <p><u>Welcome to Automated Compliance Solutions</u></p>
            <p><a href="contactacs.htm"><img src="button.png" width="266" height="56" border="0" align="right" /></a></p>
    to this -
            <p><u>Welcome to Automated Compliance Solutions</u></p>
            <p><a href="yourlink.htm"><img src="yourbutton.png" width="266" height="56" border="0" align="right" /></a></p>
            <p><a href="contactacs.htm"><img src="button.png" width="266" height="56" border="0" align="right" /></a></p>
    Be aware that my suggestion here is NOT valid XHTML, but since you are not a web developer, and the 'invalid' markup that I have suggested will not affect the rendering or operation of the page, I decided to keep it simple for you.  In my suggestion, "yourlink.html" refers to the page to which you want this button to link, and "yourbutton.png" refers to the filename of the button image (obviously you'd want to change this to correspond to the filename and extension of the image you have created).

  • Need help adding a page to an existing website

    Hey guys....I'm, as the subject states, a newbie to Dreamweaver.  I am needing to add a page to an existing website.  Simple enough...or so it seems...anyway, I went to the site, copied the source coding, went back to Dreamweaver, pasted into the code box, and up pops the page I copied.  Great!  So then I make my changes so that the page states what I want it to say, link it to what I need to hyperlink it to, then try to upload the page back onto the server....and here's where I get lost...I go to the web to check the site, and the page that I copied and made my own is not there.  The link didn't work and the page is nowhere to be found.  I don't mind whatsoever telling any of the what the site is (not sure if I can do that here), but any help would be very grateful!!!  I'm not sure what I am doing wrong obviously.  Many, many thanks in advance for any help you can give me! 
    Jim

    At the moment the link you refer to goes to the file ashby.php
    http://www.superiorcareplus.com/ashby.php?s=1
    Do you have a page named ashby.php in your site folder?
    If you do copy that and make the changes you require. Save it as whisperer.php
    Now you need to change the link from ashby.php to whisperer.php
    <div class="leftMenu"><a class="menuLeft" href="ashby.php?s=1">Becoming an Alzheimer's Whisperer</a></div>
    So it looks like this:
    <div class="leftMenu"><a class="menuLeft" href="whisperer.php">Becoming an Alzheimer's Whisperer</a></div>
    I'm not sure if it will work because the link has a variable (?s=1) after it but as the links all go to different pages the information probably isn't being fetched from a database. In other words all the pages appear to exist as individual pages. I don't know what 's' the variable refers to.

Maybe you are looking for