Posts
 
Reputation
Joined
Last Seen
Ranked #137
Strength to Increase Rep
+15
Strength to Decrease Rep
-3
95% Quality Score
Upvotes Received
417
Posts with Upvotes
367
Upvoting Members
207
Downvotes Received
21
Posts with Downvotes
19
Downvoting Members
14
69 Commented Posts
23 Endorsements
Ranked #54
Ranked #41
~1.25M People Reached
Favorite Tags

2,040 Posted Topics

Member Avatar for Vishurey

I don't think this forum would suite what you need. What database management software are you using? What web frame work are you using? It is not all about web page but there are other hardware & architecture involved...

Member Avatar for Dani
1
963
Member Avatar for nikk8a
Member Avatar for Sachin_41
0
10K
Member Avatar for imhim45

Are you using Turbo C++ format??? The `#include<iostream>` should not have `.h` in there. The same applies to the next line. PS: Next time, please include the exact ERROR MESSAGE you saw from your compiling process...

Member Avatar for Deathstr0k3
0
3K
Member Avatar for Q8iEnG

@Ahmad_10, please create a new post instead of pull a very old post up. If you want to disable view source from a browser menu, you will have to force open a new window with menubar/toolbar disabled. However, it is still defeated easily if the person really knows how to …

Member Avatar for π™ΉπšŠπšœπš–πš’πš—πšŽοΌˆγƒ€γƒΌγƒͺン)
1
14K
Member Avatar for brodeur
Member Avatar for murali2489

@murali, have you tried hard-refresh your page? Sometimes, browsers cache the CSS and will not apply new changes from the CSS. Hard refresh (Shift+F5) would force them to rerender again.

Member Avatar for Dani
0
2K
Member Avatar for rchawdhari

You may need [a loop](http://dev.mysql.com/doc/refman/5.0/en/loop.html) in order to accomplish what you are trying to do...

Member Avatar for M_41
0
267
Member Avatar for Troggs

I don't know what "look good" to you and what not? Also, it is odd to me that people like to use "#" and assign ID to elements. That's not what style is intended to be in my opinion. It should be "class" instead of "id" for styling even though …

Member Avatar for Purvi_1
0
343
Member Avatar for Fasola

What you don't understand about the code? The method names explain themselves about what they are doing. Could you pinpoint more about which part of the code you don't understand?

Member Avatar for weiwei_1
0
8K
Member Avatar for rajesanthu

You can do it via Servlet in the 'doGet()' or 'doPost()' method depending on how you implement your Servlet. If you implements 'doPost()' to call 'doGet()' (which is usually the way it is), then you just need to do it in 'doGet()' by obtaining the value of the parameter from …

Member Avatar for Sakshi@123
0
3K
Member Avatar for richard.haines.39
Member Avatar for Demonix
0
6K
Member Avatar for wuzere.crewzz

Look at line 51, copy that line and insert it right below the line 51. Then change the value from 'txt'+suf to 'txtt'+suf. Assumming that you have created the expected input field in your HTML. I hope you learn how to do it from his/her script (JavaScript is not a …

Member Avatar for Phoenix_2
0
8K
Member Avatar for mirapsm

Hmm... Your database tables don't look like or at least the column name doesn't look like. What is `resinvent` table for? Is it a reservation or is it a room available table???

Member Avatar for Jun_7
0
4K
Member Avatar for qqwushi12345

@moseshenry That's not what this forum for... You should read the forum rules before you post the code like that...

Member Avatar for mohanned_2
0
4K
Member Avatar for wilsonz91

OK, you have not shown what you have in your class's variable. From what I look at your code, I am assuming that you have your class declared as followed: [CODE] class YourClassName { private Node head; private Node tail; public YourClassName() { head=null; tail=null; } public YourClassName(Node newNode) { …

Member Avatar for JamesCherrill
0
2K
Member Avatar for rupali

4+ months old thread from the previous reply post (above mine)... By the way, non-sorted 2D array with nxm will have O(nxm) because you have no uniform rule to search, so you would try to look through the whole array. Average case to me is still O(nxm)... For a sorted …

Member Avatar for jamie_13
2
50K
Member Avatar for Violet_82

What did you use to retrieve texts from PDF files? And what is the format of the results? Did you read PDF file using JavaScript or something else?

Member Avatar for Mohamed_84
0
2K
Member Avatar for Lukas_2

How about forgetting the code for a second. Let's talk about how to achieve the requirement first. How do you deal with checking for the same character in a word? Well, there are steps to solve the problem. 1. You need to be able to iterate through each character in …

Member Avatar for tinstaafl
0
477
Member Avatar for Maria_21
Member Avatar for Taywin
0
452
Member Avatar for emmstarr

Your second loop is not correct. [CODE] for (int dig= 1; dig <= 2*row-1; dig++) {} [/CODE] You may need to break this loop into 2 loops instead. Once is to print from the 'col' value down to 1, and the other print up from 2 up to 'col' value …

Member Avatar for Jorge_12
0
5K
Member Avatar for newbee_jv

Quick questions... MyDataBaseManager dbManager = null; JdbcTemplate jt = null; public DAOBook (MyDataBaseManager dbManager) { jt = dbManager.getJdbcTemplate(); } Do you intend to accept `MyDataBaseManager` in your constructor? How did you implement the method `getJdbcTemplate()` and how the method deals with exception? Why do you need another member variable for …

Member Avatar for newbee_jv
0
2K
Member Avatar for PulsarScript

An `Invoice` object? It has to match the argument type in your method declaration -- `public bool ProcessInvoice (Invoice anInvoice) {...}`.

Member Avatar for PulsarScript
0
2K
Member Avatar for Saboor880

Just a quick suggestion to you if you really want to use Excel as your database (and also input & report). 1. You should create a sheet containing all items and their extra/meta info instead of have them all in a column inside transaction sheet. This sheet would become your …

Member Avatar for Taywin
0
323
Member Avatar for Start4me

You need to set `z-index` in CSS to be higher than the image you want to overlay. IIRC, the default z-index value for all HTML objects is 0. Add something like `z-index: 99` to your CSS and see what happen.

Member Avatar for Taywin
0
931
Member Avatar for Aeonix

There are 2 dependent events in your fading -- decreasing/increasing value of opacity and the time interval. In this case, it looks like your time interval of animation is not smooth enough. What is inside `requestAnimationFrame()` function? If you are using `setTimeout()` or `setTimeinterval()`, then make sure that the sleep …

Member Avatar for ryantroop
0
496
Member Avatar for rchawdhari

One easy way is to use [sqoop](https://docs.datastax.com/en/datastax_enterprise/4.5/datastax_enterprise/ana/anaSqpExport.html).

Member Avatar for Taywin
0
186
Member Avatar for Syed Azadar

Check your line 73, you are assigning value (using `=` instead of `==`) for 2 conditions checking. Fix that and see how it is going to be.

Member Avatar for Taywin
0
1K
Member Avatar for rchawdhari

I'm not sure what you really want here. Would an employee can have multiple fabric bundles and a fabric bundle can belong to multiple employees (many to many)? If so, what you need is `has_and_belongs_to_many :employees` keywords in `fabric_bundle` model and `has_and_belongs_to_many :fabric_bundles` in `employee` models. Then do a db …

Member Avatar for Taywin
0
464
Member Avatar for Sujan_1

Because the value of radio button is not set (index), the PHP throws an exception. You may need to check whether the value is set first using [isset()](http://php.net/manual/en/function.isset.php). That way, you would be able to properly set a default value or display error message. e.g. $gender = "Unknown"; if (isset($_POST["gender"]) …

Member Avatar for Taywin
0
342
Member Avatar for Roger_2

OK, Scheme language is a bit similar to Lisp but not quite. Thus, you SHOULD think of a solution in recursive. You should never try to solve a problem using iterative function. The language deals best with list type data, so you should convert your integer to a list. It …

Member Avatar for Taywin
0
461
Member Avatar for WpExplorerr

> when i move the code from one blog to another That's the problem. The javascript is checking if your domain starts with `http://...labs5.imvges.xyz` or `https://...labs5.imvges.xyz`. If your new blog doesn't start the domain like that, it will reject. If that is the case, update the `regex_found` variable value to …

Member Avatar for Taywin
0
355
Member Avatar for 華星

If you look at https://docs.python.org/2/library/csv.html then you would see that your command argument`unicodecsv.writer()` is odd... Also, next time when you ask this kind of question, please include what the ERROR you are getting. Saying "it failed" doesn't mean anything to any one. It sounds like you are an end user …

Member Avatar for 華星
1
332
Member Avatar for ibpet11

Here is my take... First, you need to be able to read the data from a file or DB, and either store them in your program or display them right away. Assuming that you already know how to read data from file, so I will skip it. Second, you need …

Member Avatar for Taywin
0
316
Member Avatar for hrushi9

Looks like you are trying to do something much harder than you can chew. A 1-to-1 chat implementation isn't trivia. Also, you seem to lack simple knowledges on session... You can't take other people's code without clearly understanding your own purpose first. If you are using PHP as your backend …

Member Avatar for jkon
0
3K
Member Avatar for AssertNull

I know that this thread has been marked as solved. I just want to throw in one thing. You may try regex as `"\\-?\\d*\\.\\d*|\\-?\\d+"` to capture all numbers in your list instead of going through the way you are doing. What the regex is doing can be explained in 2 …

Member Avatar for AssertNull
0
379
Member Avatar for Amaina

I am not sure you want to concatenate either certain element values in the array OR all element values in the array? If the latter, you could use `implode()` function. If the former, why don't you simply construct a string as value for sql from each element atrribute you want …

Member Avatar for Amaina
0
624
Member Avatar for Sylvia_3

Also, are you running it on HTM5? If not, you may need to update `<script>` to `<script type="text/javascript">` just in case.

Member Avatar for Sylvia_3
0
276
Member Avatar for dstaner

You need to declare totalDeposit, totalWithdraw, and totalInterest outside the loop and initiated them to 0. Then inside the loop, each time you do a deposit, add the amount to totalDeposit. Do the same with totalWithdraw. Now, the totalInterest is added with the currentInterestAmount. After that, you can display these …

Member Avatar for hichamhicham
0
2K
Member Avatar for Acurapassion

You may also need to check with your web host that they host the database on the same server your script is located. Normally, a web host will NOT have their database server on the same IP. You need to get the correct IP instead of "localhost" as you are …

Member Avatar for cereal
0
529
Member Avatar for Centorpe

Java in Android is the same as Java except it is on different platform. I agree with JamesCherrill that " " is not equal to string length 0. `isEmpty()` tests whether the String object contains no character at all, not testing character with white spaces. If the OP really wants …

Member Avatar for Centorpe
0
283
Member Avatar for rose_2

I guess you should read on `cin` and `cout` stuff. It is a basic input-output way of C++...

Member Avatar for rose_2
0
177
Member Avatar for bLuEmEzzy

The question is vauge. Which field(s) do you want to be distinct? What do you mean by "duplicated"? Even though you may use JOIN to get rid of duplicated, it is still unclear what you really want to do in your question...

Member Avatar for daniellemacey
0
372
Member Avatar for ZombieKnight93

How do you combine subtotal? Is it by item ID? order ID? In other words, what are you grouping in order to calculate subtotal???

Member Avatar for daniellemacey
0
423
Member Avatar for TObannion

You may need to look and compare how you declare your function pointer [here](http://www.cprogramming.com/tutorial/function-pointers.html) (at the end of the page -- Function Pointers Summary). Quick question, what happen if a predator & a mate present? Which state would it present that event?

Member Avatar for David W
0
304
Member Avatar for AntonyRayan

How about save your questions in an array, so that you can shuffle it by swapping 2 questions at a time for a number of times (i.e. 1000 times)?

Member Avatar for parvez alam
0
1K
Member Avatar for plus65Naomi

Of course, they are different. To me, Lansa is a tool, not a language. C++, on the other hand, is a language.

Member Avatar for plus65Naomi
0
267
Member Avatar for salbic

Why are you talking about "ternary operator"? You are NOT using ternary operator at all. You use ternary operator when you want to replace `if-else` statement with in-line statement. //i.e. $somevalue = 10; if ($value==1) { $somvalue-=1; } else { $somevalue-=10; } // then you could change it to $somevalue …

Member Avatar for salbic
0
202
Member Avatar for janicemurby

[Syntax](http://php.net/manual/en/mysqli.query.php) for `mysqli_query()`. PS: Again, it seems that you don't listen to someone's suggestion about SQL injection. You don't prepare query but rather directly use it in database query...

Member Avatar for diafol
0
231
Member Avatar for divinity02

Your code is a big mess. You have multiple nested `for-loop`. Then you keep using the SAME loop index variable (`i`) in every single loop. Even worse, you manually increase the loop index variable (`i`) even though it is automatically increased by the `for-loop`! What I can tell you now …

Member Avatar for Taywin
0
353
Member Avatar for AntonyRayan

You will NEED date when you calculate time. The reason is that if the time is NOT on the same day, how would you know that? Anyway, you could simply use `Date` object and manipulate by giving the same date to it. However, you cannot compare times with 2 different …

Member Avatar for Taywin
0
293

The End.