-
Replied To a Post in Happy new year 2016
Same to you, and you might want to keep the cat off the keyboard. The hair gets into everything. -
Replied To a Post in Happy new year 2016
And the same to you. Just dropped one son off at the airport so Christmas is officially over. -
Replied To a Post in Memorable Quotations
"If nothing else works, a total pig-headed unwillingness to look facts in the face will see us through." - The Black Adder -
Replied To a Post in Random Facts
71 - number of Americans killed by terrorists in the last decade. 301,797 - number of Americans killed by guns in the last decade (as of Oct 1, 2015). [Source](http://www.politifact.com/truth-o-meter/statements/2015/oct/05/viral-image/fact-checking-comparison-gun-deaths-and-terrorism-/) -
Replied To a Post in PDO query is not inserting into dtabase?
I'm thinking thal last_insert_id() doesn't get set until you actually execute the query so how about trying $stmt = $this->db->prepare("INSERT INTO product_master(reg_id,category_id,sub_cat_id,product_name) VALUES(:reg_id,:category_id,:sub_cat_id,:product_name)"); $stmt->execute(array(':reg_id'=>$productDetails['registration_id'], ':category_id'=>$productDetails['catagory_id'], ':sub_cat_id'=>$productDetails['sub_cat_id'], ':product_name'=>$productDetails['product_name'])); $query=$this->db->prepare("INSERT INTO gy_product_detail(product_id,product_detail," … -
Replied To a Post in Random Facts
In 2007, Missouri repealed a number of gun control laws including one requiring universal background checks. Since then that state's gun homicide rate has increased by 16%. [Source]{http://www.nytimes.com/2015/12/22/health/in-missouri-fewer-gun-restrictions-and-more-gun-killings.html} -
Replied To a Post in Memorable Quotations
God, the superbeing who created a universe of some 200 billion galaxies - comprising approximately 200 billion stars per galaxy - the same God who created the atom, designed gravity … -
Replied To a Post in how to convert vb6 to vb.net ?
The vb.net equivalents are Dim s As String = "abcdefghijklmnopqrstuvwxyz" MsgBox(s.Substring(0, 5)) 'Left(s,5) MsgBox(s.Substring(15, 5)) 'Mid(s,15,5) MsgBox(s.Substring(Len(s) - 5)) 'Right(s,5) MsgBox(New String("a", 10)) 'String$("a",10) -
Replied To a Post in Random Facts
When Hugh Hefner wanted to start Playboy, his father refused to lend him the money. However, his mother was more open-minded and provided him with the seed money. [Source](http://ca.askmen.com/celebs/interview_300/399_marathon-man-hugh-hefner.html) -
Replied To a Post in Random Facts
There is a trilobite genus designated "Han". It contains only one species named "Han Solo". [Source](https://en.wikipedia.org/wiki/Han_(trilobite)) -
Replied To a Post in Windows 10
Two interesting articles on Windows, encryption and privacy rights. [Recently Bought A Windows Computer? Microsoft Probably Has Your Encryption Key](https://theintercept.com/2015/12/28/recently-bought-a-windows-computer-microsoft-probably-has-your-encryption-key/) [Microsoft Gives Details About Its Controversial Disk Encryption](https://theintercept.com/2015/06/04/microsoft-disk-encryption/) -
Replied To a Post in Why Is My New Laptop So Slow And CPU So High?
If you are still having problems when you get it back you might try downloading and burning (or creating a USB version of) a [Linux Live CD](http://www.knopper.net/knoppix/index-en.html) and booting from … -
Replied To a Post in Memorable Quotations
"Some luck lies in not getting what you thought you wanted but getting what you have, which once you have got it you may be smart enough to see is … -
Replied To a Post in Memorable Quotations
...and then it occurred to me that a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability … -
Replied To a Post in Recursion in a for and while loop
How about [here](http://codingbat.com/java/Recursion-1)? -
Replied To a Post in Memorable Quotations
Cogito Ergo Spud I yam what I yam ...(Popeye) -
Replied To a Post in Memorable Quotations
OK. Just one more: **Political Correctness:** a doctrine, fostered by a delusional, illogical minority, and rabidly promoted by an unscrupulous mainstream media, which holds forth the proposition that it is … -
Replied To a Post in Memorable Quotations
Last one. I promise. Bad things don't happen to you because you're unlucky. Bad things happen to you because you're a dumbass. Red Foreman -
Replied To a Post in Memorable Quotations
Far too many people are looking for the right person, instead of trying to be the right person. Gloria Steinem -
Replied To a Post in Memorable Quotations
Shouldn't "it works like a charm" be said about things that don't work? Jason Roy -
Replied To a Post in Memorable Quotations
Unix was not designed to stop its users from doing stupid things, as that would also stop them from doing clever things. Doug Gwyn -
Replied To a Post in Memorable Quotations
There’s a big difference between “impossible” and “hard to imagine.” The first is about it; the second is about you! -- Marvin Minsky -
Replied To a Post in Memorable Quotations
The market doesn't give a shit how hard you worked. Users just want your software to do what they need, and you get a zero otherwise. That is one of … -
Replied To a Post in Memorable Quotations
You know something is important when you're willing to let someone else take the credit if that's what it takes to get it done. Seth Godin -
Replied To a Post in Commands for Windows
There are things you can do with diskpart that you can't do from the GUI. You will need to run diskpart with administrator access. The first thing to remember is … -
Replied To a Post in adding scores worthy textboxes
I don't see this so much as a scoring problem as it is a problem with determining if a correct answer has been given. In the case of the first … -
Replied To a Post in Windows XP cannot find the local profile
Copy the old profile to another location then delete the old profile. When you log back in as that user, a new profile should be created. Copy the desktop back … -
Edited Windows XP cannot find the local profile
My computer was infected and the damage was almost completely removed. The only problem that persists is that my local profile on **Windows XP** is corrupted. When I try to … -
Replied To a Post in Jokes
Your dog doesn’t know you can make mistakes. So when you trip over him in the dark, he thinks you got up just to kick him in the head. -
Replied To a Post in adding scores worthy textboxes
I would have to see some of the questions and answers to be able to offer a more informed opinion. -
Replied To a Post in Jokes
A bed is just a place you put your body when you aren't using it. -
Replied To a Post in Jokes
"Go to bed, you’ll feel better in the morning" is the human version of "Did you turn it off and turn it back on again?" -
Replied To a Post in Identify the logic needed to apply a discount on all items in the shopping
It would help if you identified what language you are programming in. That being said, this is obviously homework and we will not do your homework for you. I don't … -
Replied To a Post in Windows Update Error 8007007F
Can't find anything? Thsts funny. When I google [update error 8007007F](https://www.google.ca/search?q=update+error+8007007F&oq=update+error+8007007F&aqs=chrome..69i57&sourceid=chrome&es_sm=93&ie=UTF-8) I get quite a few hits. -
Replied To a Post in adding scores worthy textboxes
I presume that each question can have one or more answers? In that case I would suggest only one textbox and the user would be expected to answer something like … -
Edited My Windows 10, Google Chrome are causing unresponsive errors continually.
Daniweb helped me straighten out my last computer with Malware bytes and Spyware when I was I was having trouble. When that computers had a problem with all its all … -
Replied To a Post in adding scores worthy textboxes
I'm going to use shorthand to save typing. If `box1` and `box2` are "39" and "45" in any order you increase `score` by 2. If they aren't an exact match … -
Marked Solved Status for Indexes in Databases
Can anyone give a clear,short and simple explanation about database indexes? -
Replied To a Post in adding scores worthy textboxes
Show us what you have tried so far. -
Replied To a Post in Jokes
If colleges really want to prepare high school students for today’s job market then they should only accept students who have “at least 2-3 years college experience.” -
Replied To a Post in Two questions about the DaniWeb root
>How difficult could be to recognize DaniWeb as an app that could have multiple UI's Keep in mind that, unlike Google and Facebook, Daniweb is the product of one person … -
Replied To a Post in Windows 10
8.1. You mean you prefer this?  -
Replied To a Post in partition recovery
Unfortunately, now thay you have expanded C into the deleted partition you are likely out of luck. For the future I suggest you do regular backups of your files, especilly … -
Edited Transparent panel
Hi, i am working on a little slot machine programme on c# and i need to create a totally transparent panel which is used to draw the winning payLines , … -
Replied To a Post in Windows 10
On Sunday, Microsoft started pushing this. Note the complete lack of a button tht sys "Not now, Thanks". Yes, you can click in the X box but it's just another … -
Replied To a Post in How to do connect to mysql Database
You can find just about any connection string at [connectionstrings.com](http://www.connectionstrings.com/mysql/). -
Edited compare datagridview column value with listbox items and get the result to
i made a form with datagridview which get its values from excel file and make some changes on its columns to prepare it to be saved in sql database so … -
Replied To a Post in Jokes
Paddy had been drinking at his local pub all day and most of the night, celebrating St Patrick’s Day. Mick, the bartender says, ‘You’ll not be drinking anymore tonight, Paddy’ … -
Replied To a Post in Anyone Else Seeing DaniWeb Activity Dropping?
"It's all about me". Reminds me of my wife's sister. Seriously though. I agree with Dani on this one. And you only have to click on it once to figure … -
Replied To a Post in query database
As I said in your previous post with the same question, you have to provide more details if you want a meaningful answer. What is it that you are having …
The End.