334 Posted Topics
Re: We don't know what your code is and what exactly the message that you're getting. | |
Re: Maybe, you should try this website [URL="thenewboston.com"]Here.[/URL] Good luck with your learning. | |
Re: Maybe because you've got the attribute min-height(do you really need this?) Remove it and see what it looks like. cheers, | |
Re: Those "Christmas Pies" won't make themselves!! haha funny. ![]() | |
Re: You need to be more specific with the thing you need help with. | |
Re: I'd be amazed if there are programs that understand what the code does and makes flowcharts for programmers. There are some softwares you can use to create flowcharts for your program. I'm putting a link here to site that has free softwares. I did download the flowchart making software but … | |
Re: Aha. The problem is in your form. The attribute name in the input field is called nama. [CODE]Change this line. Name : <input type="text" name="nama" value="<?php echo $row[1] ?>"/><br/>[/CODE] To this line. [CODE]Name : <input type="text" name="name" value="<?php echo $row[1] ?>"/><br/>[/CODE] This should solve your problem. Tell us how you … | |
Re: Obviously, the thread is directed to our friend Priteas. Therefore, we aren't supposed to help ya in any way.. ROFL! ![]() | |
Hey everyone, I'm just wondering what level and type of maths are needed in solving programming problems. I was looking at maths courses the other day but I was unsure which one would suit my need as I'm an IT guy. Can anyone suggest something? I want to be able … | |
Re: Are you having a problem with the code? Any errors at all? | |
Re: Can't you just use a translator or something>? Copy and paste the sentence in google and look for its translation. | |
Re: Wow. I never thought that we actually can test our queries in the Database like phpMyAdmin. Thanks for the advice, buddy. Will you please enlighten us on how you'd use the DB to test queries or what part of the DB you use to do that? I know that missing … | |
Re: Start with [URL="http://w3schools.com"]w3schools[/URL]. Once you get the basics, then hit PHP academy (my favorite) [URL="http://phpacademy.org"] PHP academy[/URL] Good luck! | |
Re: Wow.. That's a big number.. I think You should have a look at PHP site that is posted up there.. . | |
Re: You're trying to access the MySql local server on your machine or something else? and I think you've changed the default password or you didn't specify that you're using a password.. OK. Can you tell us what it is you're trying to access? so we can help you with the … | |
![]() | Re: Being more specific about the code would save us lots of time and we can easily help you debug the code.. |
Hey everyone, I was doing an exercise from Java book and I didn't get how this code works.. I know how the switch statement works. However, I don't understand why they pass a number to the Random class and also to the .nextInt() method on rand. And also, I am … | |
Re: You may as well look at these options(drupal framework and wordpress) I think wordpress offers shopping cart. | |
Hi everyone, Could anyone please tell me why that line in the if-statement body is breaking the method? [CODE] static int [] doubleMe(int [] list){ int [] y= list; int c = 0; int [] w; for (int i= 0; i < list.length; i++){ c = list[i]; if (c % … | |
Re: As this thread has been answered, could you just mark it as solved. Cheers, | |
Re: Damn, That's only for Android users. I use Iphone only. I guess that wouldn't be useful for me!! | |
Re: Well, if you do copy the code you've just posted, it won't run and will give an error message because you missed giving the counter "i" a name in your loop. See below: [code] for ( int = 10; i > 0; i--) --> int i, not just int [/code] … | |
Re: Your query looks fine and should display dates (if they're selected as inputs in your form). Unless, you have fixed dates. For example, startDate begins from 1-12-2011 and endDate is only specified by your clients. So What's up with your piece of code? Is it doing what it is expected … | |
Re: You may also have a look at LINQ to SQL if you plan on making a big game. LINQ to SQL is a very elegant way of retrieving data from a database. You'd only need to interact with database objects rather than using SQL queries. Try these sites: 1- [URL="http://csharp.net-tutorials.com/basics/introduction/"]Intro … | |
Re: Cool. That's good to hear that you've tried fixing the problem/s with your code. That'd be great if you just mark the thread as solved. Cheers, | |
Re: You need to add all your code in between these tags [ code ] [/ code ] Just to give us an easy time to debug errors in your code. Cheers, | |
Re: I don't think I'll download the file.. .LOL.. Good luck! | |
Hi everyone, I'm doing a little experiment on Java loops.. I came across these infinite loops and they never wanted to stop .... Could anyone explain these loops to me, please. Thanks in advance. [CODE] for (int a=0;a <= 5; a++){ int c; int b= 6; for( c=0; c <= … | |
Re: That'll be easier for us to help you if you just do us a favor. Please try including the queries in the code tags.. Thanks.. | |
Re: a neater way of getting values from an array! Good work, buddy.[code] System.out.println ( "All the values in the array are: " ); for ( T x: array1 ) System.out.println ( x ); [/code] Thanks. | |
Hey everyone, I'm wondering why I can't print the values that are in the array. I'm passing an array to the method below and trying to print the result.. the compiler says that "ArrayIndexOutOfBoundsException" What's the problem really? [code] public static int[] treble(int[] nums){ for (int i=0; i <= nums.length; … | |
Hi everyone, I'd like to ask our Java experts a simple question about learning Java. I want to know how to learn a programming language in easy steps(if possible) especially Java. Would anyone suggest a good way of learning it and improving the way that from how a normal person … | |
Re: Once you have wamp server up and running, go to this URL "localhost/phpmyadmin" then Create a Database. Then inside the Database you created, You can create as many tables as you want. if you still have any problems, just post them and we will try helping you. I hope this … | |
Hi php geeks, I'm just looking for PHP exercise online. If anyone knows websites that offer hands-on PHP exercise, Please send me a link or something that redirects me to useful exercises. Your help will be appreciated. Cheers, | |
Re: Did you want just the MAXimum value out of that set of numbers you provided us?? | |
Re: Users are only allowed to select one option, Right? if so, then it's easy. [code] <form action= "" method="POST"> Your checkboxes go here. Users are allowed to choose one option of a few you have given them. </form> Inside your action, you put the page that does insertion into your … ![]() | |
Re: I have noticed something wrong with your form. [code] <td align="right" width="130px"> Username: </td> <td><input type="text" size="40" id="myusername" class="inputbox" /></td> </tr> <tr> <td align="right"> Password: </td> <td><input type="password" size="40" id="mypassword" class="inputbox" /></td> [/code] OK. Change the IDs for password to mypassword and for username to myusername. Try this and I'm … | |
Re: Try to use the default username = root and default password if you havent changed it. | |
![]() | Re: IF you want to find more info about those keywords such as ON DUPLICATE, CASCADE, AFTER INSERT , BEFORE INSERT. You always refer to Oracle web site. There is so much info. Good Luck. Please mark the thread as solved. Thanks. |
I have installed SQLPlus on my ubuntu 10.10 and now I want to install Oracle server.. I was following a tutorial on that and at the end of it, I got lost because I don't have access to certain files that were mentioned in the tutorial and I changed permissions … | |
[CODE]public static void main(String [] args){ ArrayList<String> list1 = new ArrayList<String>(); list1.add("ABC"); list1.add("123"); ArrayList<String> list2 = method(list1); list2.add("ABC"); list1.add("123"); System.out.println(list1); System.out.println(list2); } private static ArrayList<String> method(ArrayList<String> list) { ArrayList<String> result = list; result.remove("123"); return result; }[/CODE] Could anyone explain this code to me? why it gives me the same result … | |
Hey everyone, Is this the right way how to make a trigger in Oracle? [CODE] CREATE OR REPLACE TRIGGER "TRI_AMOUNT_REDUCTION" BEFORE INSERT ON "PURCHASE" FOR EACH ROW BEGIN IF (:NEW.CLIENTNO =SELECT C.CNAME, T.CLIENTNO, T.TOTAL FROM CLIENT C, ( SELECT A.* FROM (SELECT CLIENTNO, SUM(AMOUNT) AS TOTAL FROM PURCHASE GROUP BY … ![]() | |
Hey everyone, I'm trying to count all Purchases and find ReceiptNo the ones that start with '434'.. [CODE] Select count(p.purchaseNo) from purchase p (select INSTR(TO_CHAR(p.recceiptNo), "434") >= 10; [/CODE] But this line doesn't only select all receipt number starting with 434.. it selects all receipt no that has 434 in … ![]() | |
Can anyone see anything wrong with this statement? [CODE] CREATE OR REPLACE VIEW V_DEPT_AMOUNT AS SELECT DEPTNO AS DNO, DNAME AS DNAME, MAX(AMOUNT) AS MAX_AMOUNT, AVG(AMOUNT) AS AVG_AMOUNT, MIN(AMOUNT) AS MIN_AMOUNT, SUM(AMOUNT) AS TOTAL_AMOUNT FROM DEPT D, EMP E, PURCHASE P WHERE D.DEPTNO = E.DEPTNO GROUP BY DNAME, DEPTNO; [/CODE] … ![]() | |
Re: Good practice is to have something like this in mind.. If you're dealing with DB systems, connection_name.open at the top and once all queries and things are done with the DB then close it... connection_name.close please check the php manual site for more info on how to open/close connection.. php.net | |
Hey everyone, I have been looking for video tutorials on SWING class and pretty much of GUI side in Java .. I found tutorials on Oracle site but they require lots and lots of reading.. if anyone knows a good site that has videos on GUI, please share it.. Time … | |
hey everyone, I'm trying to get my head around this Question but it is not making that much sense .. Each receipt is issued from a receipt book whose number is encoded in the first three digits of the ReceiptNo field in the PURCHASE table. For example, the receipt numbered … ![]() | |
Hey, [CODE] CREATE OR REPLACE TRIGGER "TRI_AMOUNT_REDUCTION" AFTER INSERT ON "PURCHASE" FOR EACH ROW BEGIN IF (:NEW.CLIENTNO = 122336) THEN :NEW.AMOUNT := AMOUNT * 0.1; END IF; END; / [/CODE] I have a query that selects my top client then want to pass the clientNo to the trigger. Is it … | |
The End.