-
Replied To a Post in How to sum a sub element of array [numberOfPay]?
`echo array_sum(array_column($items, 'numberOfPay'));` Here's a nice description of several options: https://www.designcise.com/web/tutorial/how-to-sum-values-of-an-array-with-the-same-key-in-php -
Replied To a Post in Website ASP NET & C# , sql DB problem
Show at least the link you found describing your problem and the explanation of the 2100 records. -
Replied To a Post in How to create a table in sql
So... what do you have so far? -
Replied To a Post in read deserialise json data in Dictionary with value as Dictionary in c#
Show an example of a more complete JSON file. -
Replied To a Post in read deserialise json data in Dictionary with value as Dictionary in c#
Ok, here' an example: using System; using System.Collections.Generic; using Newtonsoft.Json; namespace JsonDictionaryTest { internal class Program { private static void Main() { TestNested(); } private static void TestNested() { Nested … -
Replied To a Post in read deserialise json data in Dictionary with value as Dictionary in c#
`Dictionary <string,Dictionary<string,string>>` should work correctly. In the case that it doesn't, you can try to create a wrapper class for it, like so: `public class DictionaryStringString : Dictionary<string, string> { … -
Replied To a Post in Need help regarding prog
What do you have so far? -
Replied To a Post in Recover delete message
Can you be more specific? -
Replied To a Post in your_messages.html Size: 28.35KB (29031B) MD5:
What's the issue? -
Replied To a Post in Hi everyone, I'm Makomborero Magaya
Welcome to DaniWeb. -
Replied To a Post in Crypto class cipher text varies too often
I'm no cryptography expert either, but I've refactored your code. If you create all your objects once, the output is what you expect. So it has to do something with … -
Replied To a Post in Visual basic .net
Is this all your code? From the looks of this I'd say that `Cmd1` is uninitialized. -
Replied To a Post in programming in vb.net
What do you have so far? -
Replied To a Post in Another Way to load multiple queries on multiple textboxes
Use a UNION to combine all queries into one, then process each returned record. -
Replied To a Post in Hello Daniweb !!!
Welcome. -
Replied To a Post in VB.Net and MySQL Database Simple Application Issue with Updating
> I will attach the error and code. Please do so. -
Replied To a Post in Hi everyone, I'm foumzeur
Welcome. -
Replied To a Post in Hi everyone, i'm Dpdz
Hi -
Replied To a Post in Hi I am Saeed , from Iraq
Welcome. -
Replied To a Post in how to change buttontext in vbnet using code
You should use the form's OnShown event to initialize such things. -
Replied To a Post in Calculate number of days between two dates minus weekends and holidays
What do you have so far? -
Replied To a Post in Calculate number of days between two dates minus weekends
Yes, it's possible, but then you'll need a lookup table containing those dates -
Replied To a Post in student registration system
You want what? -
Replied To a Post in Programing Language
Choice of language depends heavily on the area you want to develop in. What are your interests? -
Replied To a Post in php save json to csv
Since you are using objects, you can turn them into an array with [get_object_vars](https://www.php.net/get_object_vars) -
Replied To a Post in Notice: Undefined index ( PHP & API Plugin )
You should use the same construct you are using in the other code blocks. `isset($responseCA['key']) ? $responseCA['key'] : ''` -
Replied To a Post in DBI->connect using 'old-style' syntax is deprecated
Long time since I've done any perl, but according to [the docs](https://metacpan.org/pod/DBI#connect) you don't need the fourth parameter. Fixed that, and the warning message should be gone. -
Replied To a Post in PHP Fatal error: Uncaught Error: Call to undefined function mysql_pconnect(
> PHP Fatal error: Uncaught Error: Call to undefined function mysql_se Please post your new code, and the full error message. -
Replied To a Post in Create labels dynamically, display them on form1 and then have them move
Show your new code. -
Replied To a Post in Create labels dynamically, display them on form1 and then have them move
Your method `allamerican()` is never called. -
Replied To a Post in Hi everyone, I'm aymaneltantawi
Welcome to DaniWeb. -
Replied To a Post in Hi everyone, I'm samvb2021
Welcome to DaniWeb. -
Replied To a Post in When to use PHP interfaces?
> "How do I recognize whether I should use interface or not?" The most common usage of interfaces is when you find you need to create different (unrelated) classes to … -
Replied To a Post in Trying to get all input fields
All your inputs have the same ID. `getElementByID()` cannot distinguish between them. I am not sure what you are trying to accomplish, pleas explain. You might need to use a … -
Replied To a Post in Warning: Cannot modify header information - headers already sent in C:\xamp
Try putting the `header()` before the `flush()` -
Replied To a Post in PHP Fatal error: Uncaught Error: Call to undefined function mysql_pconnect(
You error message tells you that you appear to be using the function `mysql_pconnect` somewhere. This function was removed in PHP 7. If you had an upgrade recently, this may … -
Replied To a Post in VB.Net ListView bug and Other Things
Check `ProductListView.SelectedItems.Count`. If it's zero, exit your procedure. -
Replied To a Post in .NET tool like mermaid
Found a nice quick intro on the subject here: http://melp.nl/2013/08/flow-charts-in-code-enter-graphviz-and-the-dot-language/ -
Replied To a Post in .NET tool like mermaid
At first glance PlantUML looks like the simplest option, supports activity diagrams and can be run via command-line. Downside is that it needs Java installed. I might be better off … -
Gave Reputation to rproffitt in .NET tool like mermaid
I'll take a swing here with https://alternativeto.net/software/mermaid/ which you can dig through and see if any come close. -
Created .NET tool like mermaid
I'm looking for a .NET tool/component I can use in WinForms that works like [mermaid](https://mermaid-js.github.io/mermaid/#/) but does not require a browser component. Something that generates an image is preferred. -
Edited How should I design Algorithm?
Hi, I have created a two player board game url deleted - rule 2.7 Thes problem is that AI is easily beatable. I used heuristics to find best move for … -
Replied To a Post in Hi everyone, I'm saiyoni Sayan
Welcome to DaniWeb. -
Replied To a Post in How to open an Excel Document in VB.NET
Perhaps the double double quotes are causing this, try: Process.Start("EXCEL.EXE", "R:\Design\Parts\PNG.xlsx") Or, `excel.exe` is not in your path, try specifying the full path. -
Replied To a Post in How to open an Excel Document in VB.NET
You can do this: Process.Start("EXCEL.EXE", """R:\Design\Parts\PNG.xlsx""") Documentation: [MSDN](https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.process.start?redirectedfrom=MSDN&view=net-5.0#System_Diagnostics_Process_Start_System_String_System_String_) -
Replied To a Post in The response from the API comes after the code is processed
A request is asynchronous by default. I am not sure you can switch that off by using a setting in the `post`. The other option would be to use `await` … -
Replied To a Post in error mysqli_num_rows
On line 11 and 12 single quotes are missing to surround `$u` and `$pass`. -
Replied To a Post in vb.net how to send email without authentication ( without username, pass)
> Any ideas how to send email via vb.net ? without using user's password and email. by using smtp maybe https://docs.microsoft.com/en-us/dotnet/api/system.net.mail.smtpclient.usedefaultcredentials?view=net-5.0 Default credentials uses Windows authentication, which is the user … -
Replied To a Post in Do you participate in any other communities?
Not recently, unless you count SO. -
Replied To a Post in PHP unlink(); No such file or directory
Does the file you are trying to delete actually exist?
The End.