2,720 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for NALB

hello , i wanna do something as below but the problem that names and address out of the connection query are empty how can i assign them and the send them to the page? app.get('/reports', (req, res)=>{ let sql = "SELECT DISTINCT name from users_table ;"; let names; let query …

Member Avatar for jamesfilipson
1
1K
Member Avatar for wellho188

Hello I just want to ask for some help regarding with the undefined index error. The image are uploaded / stored in database but the image cant store in folder directory. Please can someone help me. This is for my project. Thank you guys in advance.

Member Avatar for rproffitt
1
48
Member Avatar for Kurosaki

Hi. I'm new to java programming and I need help with this assignment. [quote]Giving change. Implement a program that directs a cashier how to give change. The program has two inputs: the amount due and the amount received from the customer. Compute the difference, and compute the dollars, quarters, dimes, …

Member Avatar for JamesCherrill
0
7K
Member Avatar for AbstractEden

I've been having a tough time trying to figure this one out. Wrote a couple of notes on my phone and ended up with this as a result: import java.io.*; import java.util.Scanner; public class Assignment1 { //Returning if a character is a vowel or not. public static boolean isVowel(char c) …

Member Avatar for alex205
0
3K
Member Avatar for mcoliver88

Hi All I am creating a Visual Basic program for a Movie datbase, but i want to be able to play a youtube video Via the media player option. I would like the user to paste the link in from youtube into a text box, and click play and the …

Member Avatar for David_234
0
2K
Member Avatar for b1izzard

Hi friends, I am a newbie to Assembly Language programming, I don't know whats the equivalent Assembly code for NASM compiler and moreover is there any compiler available for ubuntu so that I can run my TASM code as it is? Here is my simple code that works fine in …

Member Avatar for deva_2
0
1K
Member Avatar for Shahrokh_1
Member Avatar for Trabelsi

Hi, I try to update a table through a list with checkboxes , but still this error message appear:"SQLSTATE[HY093]: Invalid parameter number: parameter was not defined" this my source code: the script checkbox.html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico"> <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0"> <!-- jQuery …

Member Avatar for chiu
0
263
Member Avatar for Nicole_17

I need help..Even after doing extensive research and youtube videos.. I can't seem to get this. This is just for a hypothetical situational based project i'm doing to demonstrate the functionality of storing fake credit card info in a mySQL database from a PHP file. The goal is: Once a …

Member Avatar for Dani
0
172
Member Avatar for LDSFSD

Hi can you help me to fix the error in Invoice class .h - " dt Unknown override specifier" Date .h #include "Stock.h" #include "Invoice.h" #include <ostream> #include <iostream> class Date { int month, day, year; public: Date(); Date(int _month, int _day, int _year); Date& setMonth(int _month); Date& setDay(int _day); …

Programming c++
0
135
Member Avatar for TimTheCoder

Am trying to implement face detection using the PCA algorithm in C#,I have a button on my windows forms that is supposed to intitiate the learning process once it is clicked. It should use the images in a folder called training to compute the eigen values and eigen vectors so …

Programming c# vb.net
Member Avatar for rproffitt
0
83
Member Avatar for Srinivas0

[CODE]#include <iostream> using namespace std; int main() { int a,b,c, ope; cout<<"enter a value" << endl; cin >> a; cout<<"enter b value" <<endl; cin >> b; cout<<"enter operation (+ - * / and %)"; cin>> ope; if (ope == +) { c=a+b; cout<< c; break; } if (ope == -) …

Member Avatar for Hamza_53
2
46K
Member Avatar for Phillip_8

Hi guys im trying to do a Login system in Wpf with Visual Studio I got the code and DB working fine with Windows Forms in Visual Studio I have changed the code 3 times and they all work on Windows forms but not with Wpf Forms. Below is the …

Member Avatar for Santanu.Das
0
135
Member Avatar for dimitrilc

## Introduction ## Junit is a popular framework to create tests for Java applications. Although individual unit tests are mostly straightforward, integration and functional tests are a little bit more involved because they usually require multiple components working together. For that reason, understanding the life cycle of Junit tests can …

2
229
Member Avatar for dimitrilc

## Introduction ## When localizing your application, `ResourceBundle` can be a great way to load Strings from different locales. The only concrete implementation of ResourceBundle is `PropertyResourceBundle`, which allows us to load static Strings from a text file. Because `.properties` is a common file extension used for ResourceBundles, creating ResourceBundle …

2
221
Member Avatar for Maylene_1

Hi, below is the code in my login button, yet I'm confused what code to put in logout button. I only know few knowledge about vb.net and I am trying to understand it as much as I can. Thank you for understanding! :) Public Class Form2 Private OPConStr As String …

Programming mysql vb.net
Member Avatar for Santanu.Das
0
308
Member Avatar for Adolfo_1

Hi ... how can i have url seo friendly from database ?? Example: localhost/myshop/product.php? id = 95 Or: https://www.myshop.it/product.php?id=95 I have done several tests with .htccess but it doesn't work. I would like to have as follows: https://www.myshop.it/product.php/shoes-armani Or: https://www.myshop.it/shoes-armani tbl_product +-------------+----------------+-----+----------------+ | p_id |p_name | p_name_friendly| +-------------+----------------------+----------------+ | 95| …

Member Avatar for Dani
0
203
Member Avatar for emmamark

Hi Proggit! I've decided to learn how to develop for the web, and I want to learn how to create websites from scratch. So far I've figured out that I need to learn HTML, CSS, and javascript for user-side development. However, I'm having more trouble figuring out what to do …

Member Avatar for emmamark
0
108
Member Avatar for misstj555

Hello. I am trying to check if a table definition (the default value on a constraint) is equal to UTC Time by using the following query: IF NOT EXISTS((SELECT object_definition(default_object_id) AS definition FROM sys.columns WHERE name = 'ModifiedDate' AND object_id = object_id('dbo.WorkflowAudit')) == GETUTCDATE()) However, you can not compare a …

Member Avatar for john_111
0
82
Member Avatar for Aslina

I have a problem assigning position (number) based on the total marks. Here is the code. TQvm for your assistance the calculation is done perfectly, the ranking is shown correctly but with no numbers, 1, 2 ,3..... how to set autoincrement for this field (ranking) which is based on the …

Member Avatar for john_111
0
54
Member Avatar for sasha12

can somone tell me why my output does not want to reverse and the solution to it #include <stdio.h> #include <string.h> #define QUIT_LETTER 'q' // Again, in a practical program, this is a ridiculously small size // for an array that is supposed to hold a line of text. But …

Programming c
Member Avatar for tinstaafl
0
49
Member Avatar for ChrisJ

This php has subcategory code on line 149 and 215 https://pastebin.com/zgbELKJf can you tell me if this file outputs a subcategory page?

Programming php
Member Avatar for Dani
0
46
Member Avatar for Mahinder_1

**i really need your help guys for data structure and algorithm task my assignment is menu-driven program for array operations in c++ Traversal, Insertion, Deletion, Searching, Sorting i have to perform this in menu to show how they work can you please provide mee code for this**

Programming c++
Member Avatar for rproffitt
0
415
Member Avatar for Quinton_1
Member Avatar for dimitrilc

## Introduction ## When collecting a stream, the `groupingBy()` Collector(`java.util.stream.Collector`) can be used to put data into different groups based on specified conditions. `groupingBy()` is a little bit more complicated to use than [partitioningBy()](https://www.daniweb.com/posts/jump/2280662) because the key can be of any type, whereas with `partitioningBy()`, the keys must be of …

2
122
Member Avatar for dimitrilc

## Introduction ## Whenever we want to modify numbers from multiple threads running concurrently, such as modifying a counter, one of the best options is to use the AtomicX classes. The most basic numeric atomic classes are AtomicInteger and AtomicLong. In this tutorial, we will learn how to use the …

2
98
Member Avatar for makmuhefe

Hello, I need to convert C codes to Java codes.this promram calculates surface areas of a 3D geometry which is read from datas from text file.thanks for help. text file: [CODE=text]12 0 0 0 0 0 1 4 0 1 4 0 3 5 0 3 5 0 0 0 …

Member Avatar for K3haled
0
9K
Member Avatar for fonzali

hi , I found this code on the internet , I changed and added some lines to it to make it the way I like . I am very weak in using functions and even worse in using classes , I appreciate it if some one can change this code …

Member Avatar for Thati
0
5K
Member Avatar for Thedoce

How to add score counter to rock paper scissors game? I can't get score counter work. (Player wins, Computerwins) I got it working without functions but now when I added them I don't just get it how to do it... #include <iostream> #include <math.h> #include <string> int numGen (); int …

Programming c++
Member Avatar for chuckgr
0
2K
Member Avatar for razstec

Hi, i have this script but cant seem to open the browserframe in the correct place ![Captura_de_ecrã_2021-10-25,_às_11_07_07.png](https://static.daniweb.com/attachments/4/6e99ec442a2fea1bedb081e65e6e1534.png) import ctypes import platform from cefpython3 import cefpython as cef from tkinter import * import tkinter as tk import sys # platforms WINDOWS = platform.system() == 'Windows' LINUX = platform.system() == 'Linux' MAC …

Member Avatar for razstec
0
180

The End.