2,040 Posted Topics
Re: Hmm... The image is very confusing and contradict to the definition... It doesn't seem right in the image... Which book is this? | |
Re: Are you sending the user to another URL or the same page? If not, you need to add the Javascript in your button "onclick" event and add Ajax part of Javascript. If you want to use the current script (which seems to show that you want to send data to … | |
Re: >1) When I add null value in hash map directly it will not allow at the same time when I assign a null value in to string and add that string in to hash map it allows once. how its working. There shouldn't be a problem adding `null` value directly … | |
Re: Enter your Email address:<input type="text" name="email" value="<?php echo $rowa['email'];} ?>" /> <br></br> Line 47, are you supposed to have `}` at the end of `;`? | |
Re: Hmm... I am quite sure you need to implement some of your code in `actionPerformed()` method somewhere but don't see it in your question... :P | |
Re: It is slow because you first select every record that have from number & to number. Then you iterates through each of the record to find the min and max. Then each iteration, you do insertion... I would suggest you to do it right at the query level where you … | |
Re: Also one more hint... Your code has no input from user. You need to add that and use the input to determine your results, not `i`. | |
Re: If you are talking about file content, then you may try to read in as binary. You could attempt to count for non-printable ASCII (anything less than 32 and greater than 127) characters. Compare the total number of non-printable ASCII with the total number of character read (using a ratio?). … | |
Re: Does OP needs to revalidate/repaint the textArea object because the OP builds the UI in `AuctionDialog` constructor but appends contents in `actionPerformed()`? | |
Re: My answer is yes, you can do it as long as you thoroughly know what and how it works. However, the bad news is that you have to port it because the code is device specific (for mobile). Certain hardware in mobile does not compatible with desktop computer. Also, certain … | |
Re: How about this [post](http://stackoverflow.com/questions/5304696/sql-average-of-a-dates)? Should be very similar... | |
Re: To clarify, "button_to" creates a "form" tag and submit its value (inside its form) to your server (POST). "link_to" is simply a redirect which is similar to an anchor tag in HTML (GET). If you ever deal with submitting a value to your server, use "button_to" and not "link_to" method. | |
Re: Well, your script does neither read anything from the HTML element nor return/write the result to anything. First, the script must read in the value of those 3 number. You have only 1 input field (name="num") which would not be enough with your current implementation. Next for simplisity, you should … | |
Re: Simply use replace() function with regex. The returned value from window.history.back() is a string. You simply look up for ASCII table and use the "Hex" number. Then add the percentage symbol in the front - i.e. white space is %20. Therefore, your current string "VehicleId%20eq%20%272415%27&" should be "VehicleId eq '2415'&"... … | |
Re: Before you can go further in exception, you need to check if the class methods you are using will throw any exception. If they throw, what are those exceptions, so that you can try to catch them. https://docs.oracle.com/javase/7/docs/api/ **hasNextInt()** returns a boolean and will throw *IllegalStateException* if an only if … | |
Re: Old thread... You should create a new thread because the technology might have changed. | |
Re: For mathematical part, your starting year is this year (2012). The year is 0, and there are people age from 0 (new born today) to 123 (turn 123 this year). The next year (2013), the year is 1, you aren't going to count anyone who is born in that year … | |
Re: If you want to try, you could mount the drive to your server. But then you will need to implement authentication to identify that it is your user (may use .htaccess) in order to be sure who they are. However, the way you want to do kind of defeating the … | |
Re: You could read the first file in and save the data in a hash (using the name as key and point as value). While you read the second file in, check if the key exists in the hash. If exists, compare the value which should be satisfied your #1. If … | |
Re: You should validate the input both from the client side (JavaScript) and server side (in your PHP script). On the client side (in JavaScript), you simply use `isNaN(testVar)` by replacing `testVar` with your variable. It returns `true` if the testing variable is NOT A NUMBER. I am still unclear about … | |
Re: Hmm.. What are your database names? What are your table name? For example, you have 2 database -- mydb1 and mydb2. Each database have the same table named mytab1. The query could be... SELECT * FROM mydb1.mytab1 INNER JOIN mydb2.mytab1 ON mydb1.mytab1.id = mydb2.mytab1.id; | |
Re: You have specified the width of each `li`. The "Contact Us" is much longer than "Home" and that would be wrapped into the specified with (20px). The "Site Map" is also a bit longer than your specified width (30px). Simply increase the width of both `.icons ul li.contact` and `.icons … | |
Re: Use CSS (display & visibility) to show and hide? z-index is fine, but it does not play well with 2 different size of elements. | |
Re: Hmm... How about start with [scapy](http://www.secdev.org/projects/scapy/)? | |
Re: But if you are talking about scripts that contact the server (i.e. AJAX), you will have to do text search for xmlhttp (or ActiveX for older version) string or ajax() in JQuery, which is usually used in Ajax call, inside your js file. The text search part is trivia by … | |
Re: Not sure what you mean by that... Do you mean you want to display the output? If so, you would need to add another for-loop right at the end. Iterate through that loop and display each element of your `x` array element... My question would be, 1)do you know what … | |
Re: I have no idea... What the error when you try to use command `sudo`? Would it be [not found](http://www.linuxforums.org/forum/debian-linux/160973-solved-sudo-command-not-found.html)? Or would it be [unable to resolve](http://ubuntuforums.org/showthread.php?t=799896)? | |
Re: Do you have any file inside the directory? You didn't try to access the directory at all. I have found only a weird case when the system runs out of inodes. Maybe you need to look into increasing the inodes number? | |
Re: As diafol said, you should strip all tags from the email content. It is for 2 major reasons 1)Remove unexpected display because you can't always predict what content users are using and 2)Much safer from XSS. In web development, you must always consider any input from any external source as … ![]() | |
Re: @Schol-R-LEA, just to let you know one thing when I see a girl pic/avatar (especially the one with OK to good looking) in newbie profile, it means that the person intends to put it there in order to get sympathy from others. This is, to me, a red flag for … | |
Re: The certificate revocation check is the security support for Java code (especially using an applet on the web). From a quick googling, I found this document on [oracle](http://docs.oracle.com/javase/tutorial/security/toolsign/) about signing your code, a [blog](https://casecurity.org/2013/03/11/the-importance-of-revocation-checking-part-2-a-real-world-example/) about how important it is, and how to [configure](http://www.java.com/en/download/help/revocation_options.xml) it. Hope this help. | |
Re: Hmm... I will put it in short then. To implement a compiler, simple things you need are... * 1)knowledge of the language you are writing, * 2)knowledge of the input language, * 3)knowledge of the output to be used (i.e. computer architecture, hardware, language, etc), and * 4)knowledge of how … | |
Re: A complete answer is in [Java Oracle](http://docs.oracle.com/javase/tutorial/java/IandI/subclasses.html)... | |
Re: Before going into any thing, have you checked that you are getting the result from DB? Also, please do NOT ever post real DB username & password online. If you ever did (or on this post), you should change the username and password used in the system. Next time, you … | |
Re: No one can help because you don't tell us what type of assembly you are using, what the purpose of this program, what is the input, what is the expected output, and what is the current output or errors... | |
Re: Your javascript, `addfields()` should NEVER keep going if the variable `indx` is 1)not a number, 2)equal to 0, and 3)less than 0! Line 21, you do not really create all input elements in the DOM but rather write it out to innerHTML! The `collector` variable is never be cleared after … | |
Re: Also, are you sure that the user has priviledge to do what you are doing to the server? | |
Re: Hmm.. I have no idea what you are trying to accomplish... What do your tables look like? Also, why there are so many `left join` in your query? If you are seeing this many join, something is wrong with your design... Doing join in query takes a lot of time … | |
Re: `("SELECT * FROM Quiz WHERE SrNo=counterr")` You can't force an undefined variable into the query (typo?). Also, the query will not understand that the `counter` is a variable but rather expects it to be an internal keyword in SQL. What you may want is `("SELECT * FROM Quiz WHERE SrNo="+counter)`... | |
Re: Please read [this](https://wikis.oracle.com/display/mysql/Converting+to+MySQLi)... | |
Re: From my understanding on your design, your table relation is many-to-many (from how you cascade deleting data from both foreign keys). If so, you SHOULD use foreign keys in order to tie 2 entities in that fashion. If you are doing one-to-many, the only table that has foreign key would … | |
Re: If you believe it is a memory leak problem, you need to look at how you remove nodes/elements from the DOM. From what I see so far, you remove nodes/elements by using `removeChild()` which is correct; however, you should also remove its function attribute before you remove the node/element as … | |
Re: To me, Software engineering requires vast knowledge but no need to be in depth; whereas, Computer scientist needs depth knowledge in the field they are in but may not need to know in different other fields. In other words, they both could be interchangable up to a certain level but … | |
Re: What you need to do is to group the first set of conditions (the age > 3) inside a pair of parenthesis, and then create and group the second set of conditions (the age > 2) inside another pair of parenthesis. After you have got both sets of conditions, conjunct … | |
Re: >but i want to display orderlist_id=12,19 sepatately because month is different I don't really get what this part mean... :( A graphical sample should be able to clearly explain it... | |
Re: You are on the right track. You already got the result of multiplication between the balance and interest rate. What you need to do are 2 things - 1) return the computed value, and 2) adjust the method to allow the same data type to be returned. [This](http://docs.oracle.com/javase/tutorial/java/javaOO/returnvalue.html) and [this](http://docs.oracle.com/javase/tutorial/java/javaOO/methods.html) … | |
Re: My guess would be the line where you reset/clear the current selected row but not set the new selected row again. As a result, the first click goes into Line 8. The next click on another row goes into Line 11 which in turn is returned to the caller in … | |
Re: Is your database server hosted on the same server where the PHP is running? If not, then "localhost" is not the right value to use in DB connection. You need to make sure where the DB is hosting (you could use the IP address of the DB server as well). | |
Re: Hmm.. Just a note... Are you trying to pass PHP variable into the call command -- `'CALL countCountry($countryname,@totalcount)'`? |
The End.