Need Help with my School Assignment - Error Message

Hey guys,
I'm doing a school assignment for my Object Oriented Java programing class. Here's the assignment requirements:
"There are five kinds of flowers, and their associated costs. Create an array of strings that holds the names of these flowers. Create another array that holds the cost of each corresponding flower. Your program should read the name of a flower and the quantity desired by a customer. Locate the flower in the name array and use that index to find the cost per stem in the cost array. Compute and print the total cost of the sale. Write your solution in one class: FlowerCounterArray.
The solution should implement the following two methods:
- addOrder(String flowerName, int quantity) to add to the order. This is in addition to reading from the terminal.
- printTotal() to print out the total cost to the terminal."
I wrote up some code so far and I want to test it, but I am getting this error: "']' expected" on the newFlower[0] = new FlowerCounterArrays("petunia", 0.50]; line near the end of the code.
Here's my code:
public class FlowerCounterArrays {
    private String flowerName;
    private double price;
    public void addOrder(String flowerName, int quantity) {
        for (FlowerCounterArrays flower : newFlower) {
            if (flower.equals(flowerName)) {
                total = price * quantity;
                System.out.println("The price for " + quantity + " " + flower + "(s) is " + total);
            else {
                System.out.println("Unfortunately we do not carry that type of flower here.");
    public void printTotal() {
        System.out.println(total);
    FlowerCounterArrays[] newFlower = new FlowerCounterArrays[5];
    newFlower[0] = new FlowerCounterArrays("petunia", 0.50];
    newFlower[1] = new FlowerCounterArrays("pansy", 0.75);
    newFlower[2] = new FlowerCounterArrays("rose", 1.50);
    newFlower[3] = new FlowerCounterArrays("violet", 0.50);
    newFlower[4] = new FlowerCounterArrays("carnation", 0.80);
}Thanks for the help guys! Much appreciated!
Edited by: he4dhuntr on Oct 14, 2008 1:33 PM

Ok. I'm kind of new to all this, so some stuff I'm not 100% clear on.
I get what you're saying though. I put the array into the method.
Although now I get a new errod: "cannot find symbol - constructor FlowerCounterArrays(java.lang.String,double)"
I get this error on my newFlower[0] = new FlowerCounterArrays("petunia", 0.50); line
Here's my new code:
public class FlowerCounterArrays {
    private String flowerName;
    private double price;
    public void addOrder(String flowerName, int quantity) {
        FlowerCounterArrays[] newFlower = new FlowerCounterArrays[5];
        newFlower[0] = new FlowerCounterArrays("petunia", 0.50);
        newFlower[1] = new FlowerCounterArrays("pansy", 0.75);
        newFlower[2] = new FlowerCounterArrays("rose", 1.50);
        newFlower[3] = new FlowerCounterArrays("violet", 0.50);
        newFlower[4] = new FlowerCounterArrays("carnation", 0.80);
        for (FlowerCounterArrays flower : newFlower) {
            if (flower.equals(flowerName)) {
                total = price * quantity;
                System.out.println("The price for " + quantity + " " + flower + "(s) is " + total);
            else {
                System.out.println("Unfortunately we do not carry that type of flower here.");
    public void printTotal() {
        System.out.println(total);
}Thanks for the help so far!

Similar Messages

  • I need help with a print spooler error message

    Out of the blue I lost my printer connection.  When I look at my printer menu there is no printer listed.  When I try to add or install a printer, I get some odd message about a printer spooler is not running.  Restart the machine.  I've tried unhooking the printer, rebooting, unhooking from the power source.  I even went into some area as an administrator and found the print spool task and when I clicked on the start button there was no action.

    This is a MS Windows issue. Try this:
    Right click on My Computer
    Select Manage
    Double click on Services and Application
    Double click on Services
    Scroll down to Print Spooler and double click on it
    Click on Dependencies tab
    Check what dependencies the print spooler has, if any you may need to click on + on those dependencies to more dependencies
    Go back to the Services list
    On each of the spooler dependencies, double click on it
    Make sure it is set to Automatic in the Startup Type drop down menu
    Now click on Start to start the service
    Click OK
    Now try and print.

  • I need help with Mavericks Server: an error occurred while configuring your server.  I

    I need help with Mavricks Server, I get the following: an error occurred while configuring your server.  I have deleted the Server.app several times along with the associated com.apple and Server folder.  Any more help would be appreciated.

    There are usually some log files around, related to the installation.  See if Console.app (Applications > Utilities) shows anything relevant to the error, when you've done a fresh install of Server.app and tried the configuration.

  • Need help with Acrobat Xi installation error

    Here is the error I am getting...
    Exit Code: 7 Please see specific errors below for troubleshooting. For example,  ERROR:   -------------------------------------- Summary --------------------------------------  - 0 fatal error(s), 3 error(s)    ----------- Payload: Acrobat Professional 11.0.0.0 {23D3F585-AE29-4670-8E3E-64A0EFB29240} -----------  ERROR: Error 1311.Source file not found: C:\Windows\Installer\Data1.cab.  Verify that the file exists and that you can access it.  ERROR: Install MSI payload failed with error: 1603 - Fatal error during installation. MSI Error message: Error 1311.Source file not found: C:\Windows\Installer\Data1.cab.  Verify that the file exists and that you can access it.  ERROR: Third party payload installer AcroPro.msi failed with exit code: 1603  ------------------------------------------------------------------------------------- "Windows 7.  Have tried installation several times.  Need help now, considering I am paying for this service!

    Thank you for the replies. 
    Jeff, I will check that link and try what is suggests.
    Bill, to answer your questions...
    1. This is a CC installation.
    2. Yes, I am logged in as the admin and I have no anti-virus other than Microsoft Essentials enabled.
    3. This is a download installation.
    To give even more info that might help, I am using a Windows 7 machine with more than enough capability to run CC.  I had installed Photoshop, Illustrator, among other apps successfully.  I then tried the Acrobat XI installation.  Acrobat XI downloaded and extracted, but when it started installing it froze around 50% and then I received the installation failed error from Windows.  Once that was confirmed the CC install progress finishes but shows failure.  The More Info reveals the error I pasted in above.  Afterward, none of the CC apps worked properly and had to be uninstalled.  So, next I installed the CC downloader and tried to start installing Acrobat XI first but the same error occurred.  That's when I got frustrated and posted my original message.  My limited knowledge leads me to think the error issue lies in the AcroPro.msi file but I have no idea what that is or how to find, correct, or install it.
    Thanks again for any help you can provide.  I'm really frustrated that I'm paying for something that I can't use.

  • Newbie needs help sorting out a publishing error message!

    I'm just learning this stuff, and I got the following message when I tried to publish my website.
    Can’t create the file “shapeimage1_link0.png.” The disk may be damaged, full, or you may not have sufficient access privileges.
    I previously published with no problems, after re-editing my sight, I ran into this problem. I'm rather incompetent at this stuff. Help much appreciated!

    Two points that may help some one help me...
    Does this part of the error message
    'shapeimage1_link0.png.' mean that some specific
    image on my site is causing the problem. If I could
    find and delete that would it help? How would I find
    which image has that tag?
    Hello Pete,
    i have been having the same difficulties. I was able to publish last week, but not this week. I followed many of the same procedures that people have been recommending (thanks for all the helpful suggestions), but I still get the same error message. I have a feeling that it is related to an issue with the new OS update and/or with the new iWeb update. I even deleted the new blog entry and went back to iWeb 1.1.1 and I could not get it to publish (thus, I had the same exact conditions that I had last week when I could get it to publish except for now I have OS 10.4.8 instead of 10.4.7).
    I am at a loss on what to try. i get the same exact error message as you do, no matter whether I publish to a folder or to .mac. I can see that almost everything gets published except it gets hung up at creating that 'shapeimage1_link0.png' file. I wish I could find a way to figure out how to have iWeb not create that file.
    I also tried to create a whole new site with the old content and still got the same error message.
    I hope that we can get this problem solved soon (I really think Apple needs to provide a fix). I am starting to look at other programs, just so I can update my existing page. Macromedia Contribute allows me to fix parts of my existing (on the server) website. They have a free 30 day demo. I may have to purchase the program if Apple doesn't fix the problem soon.
    Good luck and I will let you know whether I find a fix.

  • Help with Coding and Warning/Error Messages

    Can someone help me with Java Language to get SAP to enter through soft warnings and errors?
    I am working to record/write a script to change orders but am hitting a road block when error messages pop up. I need to get it to enter through if the message pops up or move to the next step if not... there can be 1 error or multiples depending on the number line items.
    THANKS!

    I'm guessing that your computer is too slow to record
    real-time audio.
    Of itself it should be fine - I still use a G3 desktop to record stereo with no problems at all - though GB may add an overhead. Still, this shouldn't be happening.
    If you have other tracks playing
    while you are recording this could be an issue,
    especially if there are a lot playing.
    Yes...
    If this is the
    case then you can lock the tracks playing by pressing
    the lock icon.
    This won't make any difference to audio tracks, only to MIDI tracks, and in that case it reduces demands on the processor but increases demands on the disk - which appears to be the trouble in the first place.
    I agree that you should consider
    getting an external hard drive. You can set the
    record path to the external hard drive
    Since laptop disks are usually slower than external ones this might help - particularly if your internal drive is very full.
    which will
    free up working memory to your computer.
    No it won't, but it will take the strain off the internal disk, if that's what you mean. The memory might be an issue, which would be resolved by installing more RAM if possible.

  • Help with Oracle AS Portal Error Messages

    Hi
    Our Application basically consists of a number of Reports which display data from a database, and Forms which will allow the insert of data in the table that the form is based on...
    The application is used by business users.
    I need assistance with the error messages that appear on Oracle Portal if something goes wrong - wrong data entered on a form for the database table, some error with a trigger that is called on the table where data is being inserted/ updated etc...
    Currently, when an error occurs on the form (when you are trying to insert data into the database), the following errors can appear (this is an example of the actual format.)
    Error: Internal error (WWC-00006)
    An unexpected error occurred: ORA-20001: aft person ins
    ORA-06512: at "RFS.RFS_AFT_INS", line 41
    ORA-12899: value too large for column "RFS"."RFS_PERSON"."USER_ID" (actual: 22, maximum: 20)
    ORA-04088: error during execution of trigger 'RFS.RFS_AFT_INS' (WWV-16016)
    While this error will tell a developer what to do, it will not really tell an end user what the problem is...
    I have started to edit the functions/ procedures that are used/ triggered from the forms to display a message in more or less the following format.
    RAISE_APPLICATION_ERROR(-20001,'PLEASE NOTE: There is no XXX data for the XXX used. Please contact your administrator to assist.',TRUE);
    What I want to know is, by changing the functions on the database etc, will I be catering for the errors, and will the message that I create be displayed to the user, or will they still see the original error message above?
    Are there ways to display a more user-friendly error, even if just to say "Contact your administrator..." or something?
    Any help will be greatly appreciated.
    Thanks

    By editing the default error messages, there is a risk the next patch or patch set to overwrite your customizations. A better approach would be to create custom error page(s) for Portal forms/reports.
    Please refer to Metalink Note: 157132.1 How to Create a Custom Error Page for Portal Form.
    Thanks.

  • Help with php/cookies login error message

    Hi
    I'm working in DreamWeaver CS4, On a Mac 10.04 OSX system. I am using php and a cookies if (isset) function
    Im  trying to create and error message for users who try to login to the site. but can't because there is no connection to the database as of yet.
    I have a connect srcript and a login script as well as the login and registration page.
         when the user tries to login in I get a syntax error mesage instead of getting the phrase," A problem connecting to the data base. Please try again later."
    How can I resolve this issue, Thanks your help it is greatly appreciated. To view the php code/connect script used in the login registration follow this link the script will available there. http://http://www.camtamkalaboration.com/products.php

    jarmelo wrote:
    how would I go about upgrading from tiger to  leopard?
    Buy Leopard, insert disk, follow instructions.
    You can instal php (which is built into Leopard) by renaming a file and uncommenting a line then enabling web sharing in System Preferences but I use entropy because it has the GD enabled for CAPTCHA and other features. There's a 10.4 version on their website but it mentions it's an older, unsupported and probably insecure version. You should use entropy Leopard version 5.2.9-7 for Leopard/ADDT development.
    After you get php installed you need to install MySQL which is easy to find through searching and straight-forward to instal. Then instal phpMyAdmin and you'll be good to go!
    As mentioned earlier I can walk you through the steps more thoroughly if you decide to upgrade to Leopard. There's some other steps involved: You need to configure virtual hosts so that it points to your Sites folder on your Mac and each folder in Sites folder are for each site you have so that entering site1 goes to ~/Sites/site1 on local testing server and entering site2 goes to ~/Sites/site2 in local testing server, etc. very, very easy to setup. Just edit hidden hosts file in etc folder and username.config file in apache2 hidden folder.
    There's other tutorials out there that show how to do it but most don't have all the info. I'm working on a step-by-step tutorial on my website but it's not finished yet. Maybe it'll be ready by the time you decide to upgrade to Leopard.

  • Need help with Java always get error

    hey guys need help
    this the problem i get :
    I go to certain websites and I get this error with firefox.
    This Site requires that JavaScript be enabled.
    It is enabled.
    This is the one of the errors in java script console with firefox.
    Error: [Exception... "'Component does not have requested interface' when calling method: [nsIInterfaceRequestor::getInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "<unknown>" data: no]
    I have installed the java script from there home site and did a test and says everything is fine. Any ideas?
    please help

    Hi 49ers,
    Sorry not to have any real idea of how to help you out here, but this is a Java forum, not JavaScript.
    Some Firefox expert may stumble across your post and be able to offer some advice (I hope they do) but this isn't really the best place to post such questions.
    Try here: http://www.webdeveloper.com/forum/forumdisplay.php?s=&forumid=3
    Good luck!
    Chris.

  • Need your help with the following 3 error messages that now appear on my PDF document.

    Hi all,
    I have been working on a PDF document for university for the last 4 months. Its a PDF document which I have been filling in as I go along and saving without any problems.
    Today however I try to open it for work and this is what I get in succession...
    "This document enabled extended features in Adobe Reader. The document has been changed since it was created and use of extended features is no longer available. Please contact the author for the original version of this document"
    "An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem"
    "The font 'GTAJBY +Bliss-Regular' contains a bad /BBbox."
    This has never done this before and even when I tried to open my backup file it did the same.
    Can someone please help me? I have so much work thats potentially lost on this....
    (Also, I am not much of a computer head, so please keep it in layman's terms)
    Thanks in advance everyone...

    I am having same problem with a 2011 year tax PDF fill in form I JUST got from IRS website.
    The actual form is the 2011 8829.
    I am running Windows 7 64 bit,   Adobe Reader X version 10.1.4.
    After trying to open the doc (nothing displays) I go to properties, and it says ...
    Title:  2011 Form 8829
    Author:  SE:W:CAR:MP
    Created: 12/23/2008
    PDF Producer:  Adobe LiveCycle DSesigner ES 8.2.
    PDF Version:  1.7 (Acrobat 8.x)
    Tagged PDF: No
    Fast Web View:  No
    Yikes ... was hospitalized last year ... now I have 9 days to file.

  • Need help with coding: getting an error

    Hi there everyone, this would be my first post here, and my first post on any forum related to programming. Im taking a highschool computer science course, in which we are learning J2SE. I have read ahead a bit, and am having trouble with the following program:
    //=============================================================================
    //Converts US Dollars To Euros
    //=============================================================================
    public class currencyconverter1
         private Double dollarRate = 1.00000;
         private Double conversionRate = 1.22990;
         private Double dollarAmount = 0.0;
         private Double euroAmount = 0.0;
              public static void main convert Double(euroAmount)
                   dollarAmount = euroAmount*conversionRate;
                   System.out.println(dollarAmount);
                   return euroAmount
                   }JCreator is telling me I need a '(' on the "main" line. I simply cannot find where this is needed. Can anyone help, or recommend another forum where I may find some help? Thanks in advance!

    Thanks for the reply... I tested out your code, and it didn't compile, so after playing with it, heres what I got to compile (please read past the code):
    public class currencyconverter1
         private Double dollarRate = 1.00000;
         private Double conversionRate = 1.22990;
         private Double dollarAmount = 0.0;
         private Double euroAmount = 0.0;
         public Double convert (Double euroAmount)
              dollarAmount = euroAmount * conversionRate;
              System.out.println(dollarAmount);
              return euroAmount;
    }It gives me the following message when I execute the .exe: "Exception in thread "main" Java.Lang.NoSuchMethodError: Main" ....
    Does anyone know what the deal is and can explain wnat my source code error is? Thanks again in advance.

  • Need help with Data Model for Private Messaging

    Sad to say, but it looks like I just really screwed up the design of my Private Messaging (PM) module...  *sigh*
    What looked good on paper doesn't seem to be practical in application.
    I am hoping some of you Oracle gurus can help me come up with a better design!!
    Here is my current design...
    member -||-----0<- private_msg_recipient ->0------||- private_msg
    MEMBER table
    - id
    - email
    - username
    - first_name
    PRIVATE_MSG_RECIPIENT table
    - id
    - member_id_to
    - message_id
    - flag
    - created_on
    - updated_on
    - read_on
    - deleted_on
    - purged_on
    PRIVATE_MSG table
    - id
    - member_id_from
    - subject
    - body
    - flag
    - sent_on
    - updated_on
    - sender_deleted_on
    - sender_purged_on
    ***Short explanation of how the application currently works...
    - Sender creates a PM and sends it to a Recipient.
    - The PM appears in the Sender's "Sent" folder in my website
    - The PM also appears in the Recipient's "Incoming" folder.
    - If the Recipient deletes the PM, I set "deleted_on" and my code moves the PM from Recipient's "Inbox" to the "Trash" folder.  (Record doesn't actually move!)
    - If the Recipient "permanently deletes" the PM from his/her "Trash", I set "purged_on" and my code removes the PM from the Recipient's Message Center.  (Record still in database!)
    - If the Sender deletes the PM, I set "sender_deleted_on" and my code moves the PM from the Sender's "Sent" folder to the "Trash" folder.  (Record doesn't actually move!)
    - If the Recipient "permanently deletes" the PM from his/her "Trash", I set "sender_purged_on" and my code removes the PM from the Sender's Message Center.  (Record still in database!)
    Here are my problems...
    1.) I can't store PM's forever.
    2.) Because of my design, the Sender really owns the PM, and if I add code to REMOVE the PM from the database once it has a "sender_purged_on" value, then that would in essence remove the PM from the Recipient's Inbox as well!!
    In order to remove a PM from the database, I would have to make sure that *both* the Recipient has "purged_on" value and the Sender has a "sender_purged_on" value.  (Lot's of Application Logic for something which should be simple?!)
    I am wondering if I need to change my Data Model to something that allows my autonomy when it comes to the Sender and/or the Recipient deleting the PM for good...
    One the other hand, I believe I did a good job or normalizing the data.  And my current Data Model is the most efficient when it comes to saving storage space and not having dups.
    Maybe I do indeed just need need to write application logic - or a cron job - which checks to make sure that *both* the Sender an Recipient have deleted the PM before it actually flushes it out of my database to free up space?!
    Of course, if one party sits on their PM's forever, then I can never clear things out of my database to free up space...
    What should I do??
    Some expert advice would be welcome!!
    Sincerely,
    Debbie

    rp0428,
    I think I am starting to see my evil ways and where I went wrong... 
    > Unfortunately his design is just as denormalized as yours
    I see that now.  My bad!!
    > the last two columns have NOTHING to do with the message itself so do NOT belong in a normalized table.
    > And his design:
    >
    > Same comment - those last two columns also have NOTHING to do with the message itself.
    Right.
    > The message table should just have columns directly related to the message. It is a list of unique messages: no more, no less.
    Right.
    > Mark gave you hints to the proper normalized design using an INTERSECT table.
    > that table might list: sender, recipient, sender_delete_flag, recipient_delete_flag.
    > As mark suggested you could also have one or two DATEs related to when the delete flags were set. I would just make the columns DATE fields.
    >
    > Once both date columns have a value you can delete the message (or delete all messages older than 30+ days).
    >
    > When both flags are set you can delete the message itself that references the sender and the message sent.
    Okay, how does this revised design look...
    MEMBER --||-----0<-- PM_DISTRIBUTION -->0-------||-- PRIVATE_MSG
    MEMBER table
    - id
    - email
    - username
    - first_name
    and so on...
    PM_DISTRIBUTION table (Maybe you can think of a better name??)
    - id
    - private_msg_id
    - sender_id
    - recipient_id
    - sender_flag
    - sender_deleted_on
    - sender_purged_on
    - recipient_flag
    - recipient_read_on
    - recipient_deleted_on
    - recipient_purged_on
    PRIVATE_MSG
    - id
    - subject
    - body
    - sent_on
    Is that what you were describing to me?
    Quickly reflecting on this new design...
    1.) It should now be in 3rd Normal Form, right?
    2.) It should allow the Sender and Recipient to freely and independently "delete" or "purge" a PM with no impact on the other party, right?
    Here are a few Potential Issues that I see, though...
    a.) What is to stop there from being TWO SENDERS of a PM?
    In retrospect, that is why I originally stuck "member_id_from" in the PRIVATE_MSG table!!  The logic being, that a PM only ever has *one* Sender.
    I guess I would have to add either Application Logic, or Database Logic, or both to ensure that a given PM never has more than one Sender, right?
    b.) If the design above is what you were hinting at, and if it is thus "correct", then is there any conflict with my Business Rule: "Any given User shall only be allowed 100 Messages between his/her Incoming, Sent and Trash folders."
    Because the Sender is no longer "tightly bound" to the PRIVATE_MSG, in my scenario above...
    Debbie could send 100 PM's, hit her quota, then turn around and delete and purge all 100 Sent PM's and that should in no way impact the 100 PM's sitting in other Users' Inboxes, right??
    I think this works like I want...
    Sincerely,
    Debbie

  • Need Help with "Not Enough Memory Error" when running executable (is my VI reworkable?)

    When I started making this VI, I had no clue about proper VI flow, sub-VI usuage, and much more I'm sure.
    The VI is a program that outputs a 0-5V digiatl signal to a relay board (to actuate an air cylinder) and monitors 4 input voltages (lets say from a pressure transducer) . The program would then shut down the corresponding output channel if a pressure threshold is not met.
    Surprissingly for my first LV program, The VI functions "fine" (the quotes are because I know my programming flow is a mess and probably not efficient) unitl I reach a given cycle count or time elasped, at which time my VI blows up and I receive an error for "not enough memory to complete operatoin".
    I am wondering if there is a simple DAQmx (or something else) command misplaced or missing that would solve this issue. When I started making this VI I had a poor top down design layout, or lack of one. I would like to believe I have learned a lot from making this program with no LV training and if I were to do it again I would utilize state machines and sub VI's more. However, with time not on my side and LV not a priority in my job I would like to know if this VI is reworkable..?
    I should also mention that this program is being run as an executable on a laptop without the full LV development software. I dont know if the executable creation process could have left to this problem either...
    Attached is LV version 10 and 11
    Thanks for the help
    Attachments:
    LCT_DAQmx v11.0.vi ‏173 KB
    LCT_DAQmx.vi ‏135 KB

    There are some things you can probabaly do fairly easily.  Four of the inner while loops appear to be very similar.  You could probably make a subVI from one of them and reuse the code.  Some of the shift registers are initialized and some are not.  I suspect that this is an error, although I did not look closely enough to determine which way is intended.  Read up on reentrancy.  You may need that for the subVI.
    The outer loop, if it is needed at all should be stopped by a front panel boolean, not by the Abort button.  Someone on the Forums has suggested that using the Abort button to stop a VI is like using a tree to stop a car - it works but may have undesirable consequences!
    Re-initializing the DAQ tasks and clearing them on each iteration is not very effficient, is slow, and may lead to problems.
    The inner inner while loops (inside On Cycle and Off Cycle) are very similar, differing mostly in the data written. Perhaps you only need Idle and Run (with Data as a parameter).  The inner inner loops might be combined with the outer loops with some change in the way the timing is handled.
    You Dequeue in two places in each loop.  There is no data dependency bewteen the two Dequeue functions, meaning that you cannot be sure which will execute first.  Also, none of the Dequeues has a timeout set. They will wait forever if no data is available.  Queues should not usually be read in more than one location to avoid loss of data or confusion about which data came first.
    Lynn

  • I need help with a java assignment

    I am being taught java but dont really understand what i have to do. If you send me an email to [email protected] ill send you a copy and so help me with the assignement.
    I am currently working on free web page so you can download the assignment.
    Thank You All

    hey, there's something wrong with my internet, i clicked on your email adress and nothing happened :(
    too bad. maybe i can't do your assignment.
    go see somee tutorials, maybe these will help you, also try to understand how API will elp you (to both you may find links from left column of this page) and also, see if there area some samples of how to do what you need to be done.
    http://www.javaalmanac.com -- my favorited place for code samples.
    also whan you have some saaignment or other task, then see if google finds you apropriate solution. and there's a search function in these forums as well.
    i hope you get your homework doen in time...

  • Need help with Muse PHP (JavaScript error...email)

    Hey all....
    I searched and did not see an answer for this:
    I am exporting my Muse file to HTML and keep getting this error for my Contact Us page (email issue):
    "JavaScript Error:Form PHP Script is missing from web server, or PHP is not configured correctly or your web host provider.  Check if the form PHP script as been uploaded correctly, then contact your hosting provider about PHP configuration."
    What PHP version does MUSE support....5.1?  I contacted HostGator and they just updated my PHP to 5.5 and asked me what PHP MUSE needs. HostGator says 5.1 is old and they do not support 5.1. Can anyone help me?
    Also, when I try to check PHP with: http://my-site.com/scripts/form_check.php I just get an "oops" screen, but does not verify my PHP.????
    Thanks

    Difficult to debug without the URL for the form page on your site...
    Are you using the built-in File > Upload to FTP Host in Muse? Or did you use File > Export as HTML and uploaded with some other tool?
    Does http://<insert your domain name here>/scripts/museutils.js load anything? Or does it also give an "oops" screen? If it gives an "oops" screen, that would imply not all the exported files were uploaded to your server, they weren't uploaded to the correct location, or the permissions aren't set correctly.
    For forms Muse only requires PHP 4.1 or later. PHP version is not the issue.

Maybe you are looking for

  • IPHONE 5 RUNNING IOS 6.1.4 WON'T LET ME UPDATE TO IOS.7

    Hi, I have an iPhone 5 running IOS 6.1.4 and was wanting to update to IOS.7 wirelessly but when I go into Software Update it tells me this software is up to date and doesn't give me any option to update to IOS 7. I know the software has been released

  • I dont see the point of using Ant Build compared to executable Jars?

    I always think that to complete a project you successfully build it. And i thought that building is done automatically if you create an executable JAR? So what is ANT for? Arent Executables is the same as building your project?

  • Vendors Unable to Check-In Contract Documents (e-Sourcing 5.1 Patch 06)

    Vendors Unable to Check-In Contract Documents (e-Sourcing 5.1 Patch 06) When moving to patch 06 for e-Sourcing we found that Vendors were no longer able to check-in contract documents, even though they checked them out successfully. On Patch 05 this

  • Setup E-Mail notification in Oracle 10g Enterprise Manager

    Hello, my problem is to setup a proper mail configuration unter Oracle 10g EM. The testmail is working but after I have insert rules for sending it doesn't work. E.g. to mail information when DB starts or going to shutdown... I think I missed one ste

  • Balance sheet in XBRL format.

    Hi,    I want to present balance sheet in XBRL format is it possble to do in ECC 5.0  ?? If yes then please  suggest the steps for it. Plesase help me !! ASAP Thanks in advance !! Moderator message: relation to ABAP development unclear, please do mor