2,040 Posted Topics

Member Avatar for Amr_Mohammad_R

Hmm... The image is very confusing and contradict to the definition... It doesn't seem right in the image... Which book is this?

Member Avatar for Taywin
0
147
Member Avatar for Azii

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 …

Member Avatar for Taywin
0
248
Member Avatar for anand01

>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 …

Member Avatar for Taywin
0
316
Member Avatar for zebnoon1

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 `;`?

Member Avatar for broj1
0
232
Member Avatar for kinbo

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

Member Avatar for bmwwbb54
0
224
Member Avatar for Amr_Mohammad_R

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 …

Member Avatar for Taywin
0
232
Member Avatar for divinity02

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`.

Member Avatar for Taywin
0
182
Member Avatar for chubbyy.putto

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?). …

Member Avatar for Taywin
0
120
Member Avatar for marvin.lerias

Does OP needs to revalidate/repaint the textArea object because the OP builds the UI in `AuctionDialog` constructor but appends contents in `actionPerformed()`?

Member Avatar for marvin.lerias
0
284
Member Avatar for Varunkrishna

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 …

Member Avatar for Varunkrishna
0
361
Member Avatar for 2.ez.4.mics

How about this [post](http://stackoverflow.com/questions/5304696/sql-average-of-a-dates)? Should be very similar...

Member Avatar for Taywin
0
57
Member Avatar for harry.suren

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.

Member Avatar for Taywin
0
275
Member Avatar for john jr

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 …

Member Avatar for Taywin
0
201
Member Avatar for Abraham_3

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'&"... …

Member Avatar for Taywin
0
230
Member Avatar for redtribal23

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 …

Member Avatar for Taywin
0
216
Member Avatar for ToucheAmore
Member Avatar for priyaspageo
0
550
Member Avatar for Kunai9292

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 …

Member Avatar for TylerD75
0
9K
Member Avatar for <M/>

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 …

Member Avatar for gabrielcastillo
0
280
Member Avatar for Anirudh_1

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 …

Member Avatar for raicabogdan
0
305
Member Avatar for kaprikorn07

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 …

Member Avatar for kaprikorn07
0
1K
Member Avatar for someoneelse

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;

Member Avatar for kgariando
0
234
Member Avatar for khurram123

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 …

Member Avatar for mattster
0
225
Member Avatar for Siberian

Use CSS (display & visibility) to show and hide? z-index is fine, but it does not play well with 2 different size of elements.

Member Avatar for Siberian
0
607
Member Avatar for QwertyFish

Hmm... How about start with [scapy](http://www.secdev.org/projects/scapy/)?

Member Avatar for QwertyFish
0
820
Member Avatar for Ritesh_4

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 …

Member Avatar for Airshow
0
159
Member Avatar for funnym3

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 …

Member Avatar for JamesCherrill
0
176
Member Avatar for asaidi

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)?

Member Avatar for Gribouillis
0
863
Member Avatar for cjohnweb

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?

Member Avatar for cjohnweb
0
342
Member Avatar for muralibobby2015

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 …

Member Avatar for diafol
0
317
Member Avatar for Ivzirnalsradeys

@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 …

Member Avatar for Taywin
0
236
Member Avatar for anand01

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.

Member Avatar for anand01
0
170
Member Avatar for m4mukulgarg

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 …

Member Avatar for Schol-R-LEA
0
558
Member Avatar for surya55

A complete answer is in [Java Oracle](http://docs.oracle.com/javase/tutorial/java/IandI/subclasses.html)...

Member Avatar for stultuske
0
180
Member Avatar for Samyx

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 …

Member Avatar for Samyx
0
372
Member Avatar for gil.nickson

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...

Member Avatar for Taywin
0
132
Member Avatar for RAPIDFIRE0311

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 …

Member Avatar for Taywin
0
222
Member Avatar for santunu23

Also, are you sure that the user has priviledge to do what you are doing to the server?

Member Avatar for almostbob
0
166
Member Avatar for malatamil

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 …

Member Avatar for almostbob
0
338
Member Avatar for soche123

`("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)`...

Member Avatar for stpatrck
0
109
Member Avatar for Acurapassion

Please read [this](https://wikis.oracle.com/display/mysql/Converting+to+MySQLi)...

Member Avatar for Taywin
0
175
Member Avatar for terryds

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 …

Member Avatar for Taywin
0
235
Member Avatar for secretply

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 …

Member Avatar for secretply
0
426
Member Avatar for Ghost0s

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 …

Member Avatar for Ghost0s
0
234
Member Avatar for saadi06

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 …

Member Avatar for Taywin
0
184
Member Avatar for malatamil

>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...

Member Avatar for Taywin
0
264
Member Avatar for niccid76

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) …

Member Avatar for Taywin
1
218
Member Avatar for johnson_2

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 …

Member Avatar for mKorbel
0
568
Member Avatar for Acurapassion

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).

Member Avatar for Acurapassion
0
782
Member Avatar for otengkwaku
Member Avatar for otengkwaku
0
221
Member Avatar for divyakrishnan

Hmm.. Just a note... Are you trying to pass PHP variable into the call command -- `'CALL countCountry($countryname,@totalcount)'`?

Member Avatar for divyakrishnan
0
4K

The End.