User Profile

Collapse

Profile Sidebar

Collapse
jimgym1989
jimgym1989
Last Activity: Mar 23 '11, 03:42 PM
Joined: Sep 9 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Why do ComboBox(Drop Down) values pass even with no selection or data?

    Hi there,
    I have 2 PHP files, memeber.php & view.php

    This is my member.php
    Code:
    while($row = mysql_fetch_array($strSQL)){
    		$data .= "<tr>";
    		$data .= "<td>";
        $data .= "<input type='checkbox' class='memberchk' name='membersID[]' value='".$row['member_id']."' />";
        $data .= "</td>";
    	$data .="<td>";
    ...
    See more | Go to post

  • jimgym1989
    started a topic How to pass values from my combo box?
    in PHP

    How to pass values from my combo box?

    Hi everyone,
    I'm having a problem on passing values from my combo box. Let me show you first my code. I have 2 files test.php and view.php.
    This is what's inside the test.php
    Code:
    while($row = mysql_fetch_array($strSQL)){
                    $data .= "<tr>";
                    $data .= "<td>";
        $data .= "<input type='checkbox' class='memberchk' name='membersID[]' value='".$row['member_id']."'
    ...
    See more | Go to post

  • jimgym1989
    started a topic Invalid use of group function

    Invalid use of group function

    Code:
    select ABS(ROUND((projectspecs.laborCost+projectspecs.contingencyCost +
    SUM(materialcost_details.qty*materialcost_details.unitCost))*
    (billing.accom/100) - (projectspecs.laborCost+projectspecs.contingencyCost +
    SUM(materialcost_details.qty*materialcost_details.unitCost))*
    (billing.accom/100) * project.downpayment/100,2))
    as billCost from project
    LEFT JOIN billing ON project.project_id = billing.project_id
    ...
    See more | Go to post

  • jimgym1989
    started a topic Jave Merge Sort
    in Java

    Jave Merge Sort

    can someone show me how to implement a merge sort algorithm, i've been trying to search the net and all i found are pseudocodes. I already tried to translate the pseudocodes to java program but I really don't get it..I know that this involves working on many methods but any algorithm will do as long as you'll show it to me..
    Please help...
    thank you very much!!
    See more | Go to post

  • jimgym1989
    started a topic InputMismatchException error...
    in Java

    InputMismatchException error...

    Why is it that it is InputMismatchEx ception?
    I keep on tracing my code but i find it Ok and runnable but every time I run it it says:
    Exception in thread "main" java.util.Input MismatchExcepti on
    at java.util.Scann er.throwFor(Sca nner.java:819)
    at java.util.Scann er.next(Scanner .java:1431)
    at java.util.Scann er.nextInt(Scan ner.java:2040)
    at java.util.Scann er.nextInt(Scan ner.java:2000)...
    See more | Go to post

  • error: Exception in thread "main" java.util.InputMismatchException

    I dont get it..why is the error: Exception in thread "main" java.util.Input MismatchExcepti on
    this is my code

    Code:
    /**
     * @(#)textFileRead.java
     *
     *
     * @author 
     * @version 1.00 2008/10/17
     */
    
    import java.io.*;
    import java.util.*;	
    public class Adamos {
    	
    static Scanner console = new Scanner(System.in);
    
        public static
    ...
    See more | Go to post

  • thanks my friend!! :-) keep it up!!...
    See more | Go to post

    Leave a comment:


  • confuse about protected and private members of a class...

    what is the difference between a protected and a private members of a class?
    can someone explain it to me..
    tnx..
    See more | Go to post

  • jimgym1989
    replied to arrays question
    in Java
    thank my friend..
    you made my day great!! :)...
    See more | Go to post

    Leave a comment:


  • jimgym1989
    started a topic arrays question
    in Java

    arrays question

    we have a question on our exam a couple of days ago..it is True or False.
    This is the question

    int[]list = new int[10];

    the statement

    list[5] = list[3] + list[2];

    updates the content of the fifth component of the array list.
    ------------------------------------------------------------------------------------------------------
    The correct answer here is False..the problem...
    See more | Go to post

  • jimgym1989
    replied to Graphical User Interface (GUI) Probelm
    in Java
    Thank you Jos..you made my day!!
    keep it up!! and for those who answer this forum..
    I thank you all!!...
    See more | Go to post

    Leave a comment:


  • jimgym1989
    started a topic Graphical User Interface (GUI) Probelm
    in Java

    Graphical User Interface (GUI) Probelm

    Code:
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Scanner;
    
    public class solano extends JFrame{
    
    private JLabel letterL ,countL, PercentageL;
    	private JTextArea display;
    	private JButton exitB;
    	private ExitButtonHandler ebHandler;
    	
    	private static final int WIDTH = 600;
    ...
    See more | Go to post

  • jimgym1989
    replied to NoSuchElementException Error sentinel Loop
    in Java
    by the way i already solved it..thank any way :D...
    See more | Go to post

    Leave a comment:


  • jimgym1989
    replied to NoSuchElementException Error sentinel Loop
    in Java
    I still received the same error..
    I don't get it..
    thank you for you immediate response!!...
    See more | Go to post

    Leave a comment:


  • jimgym1989
    started a topic NoSuchElementException Error sentinel Loop
    in Java

    NoSuchElementException Error sentinel Loop

    Code:
     import java.io.*;
    import java.util.*;
    public class tryCountLetter {
    
        public static void main(String[]args) throws FileNotFoundException{
        	
        	Scanner inFile = new Scanner(new FileReader("D:\\My Documents\\Java Saves\\try.txt"));
    	
    	int counter = 0;
    		
    	String str=inFile.next();
    		while(str!= "-999")
    		{
    		str = inFile.next();
    ...
    See more | Go to post

  • jimgym1989
    replied to cannot Access IntClass
    in Java
    i tried to check the Build Output and this is the error
    Code:
    G:\Course Technology\90135-5\Chapter 9 Source Code\CharacterCount.java:43: cannot access IntClass
    bad class file: G:\Course Technology\90135-5\Chapter 9 Source Code\IntClass.class
    class file has wrong version 50.0, should be 49.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
        IntClass next, int[] letterC)throws IOException
    ...
    See more | Go to post
    Last edited by Nepomuk; Sep 18 '08, 12:55 PM. Reason: Added [CODE] tags for the error, because it's easier to read

    Leave a comment:


  • jimgym1989
    started a topic cannot Access IntClass
    in Java

    cannot Access IntClass

    Code:
    import java.io.*;
    
    public class CharacterCount
    {
        public static void main(String[] args)throws FileNotFoundException, IOException
       {
            int lineCount = 0;
            int[] letterCount = new int[26];
    
            IntClass next = new IntClass();
    
            //...
        }
    
    
        static void copyText(FileReader infile, PrintWriter outfile,
    ...
    See more | Go to post
    Last edited by Nepomuk; Sep 18 '08, 10:32 AM. Reason: Reduced code to the relevant parts

  • jimgym1989
    replied to Questions about arrays
    in Java
    by the way..I already solved the problem!
    tnx for your effort..
    :)
    See more | Go to post

    Leave a comment:


  • jimgym1989
    replied to Questions about arrays
    in Java
    ok!! sorry!! it depends on what your thinking!!
    but no offense!!
    :-)
    When was the first warning master? i can't remember it.. sorry..
    please forgive me..all you say was not my intention..but ok! there is nothing I can't do about that because your the Administrator.. Sorry!!...
    See more | Go to post
    Last edited by jimgym1989; Sep 12 '08, 01:18 PM. Reason: i forgot something...

    Leave a comment:


  • jimgym1989
    replied to Questions about arrays
    in Java
    that was my question...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...