199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Violet_82

Hi guys, I'm a little stuck with something here. Basically I have a a method which, given a List of Students will have to filter out those who are younger than 60yrs old and should return a List of Students who are over 60yrs old but I want this to …

Member Avatar for Violet_82
0
1K
Member Avatar for Nuel

I have table i wish to count how many times a value appears in all column the table structure id Subject1 Subject1score subject1grade Subject2 Subject2score subject2grade 1 English 100 A Mathematics 100 C HERES MY PREVIOUSLY TRIED CODE <?php $subject1grade='A'; $subject2grade='A'; $subject3grade='B'; $a=array("$subject1grade","$subject2grade","$subject3grade"); print_r(array_count_values($a)); ?> THE RESULT Array ( [A] …

Member Avatar for Bert Pitt
0
1K
Member Avatar for 威

Create a collection of these javascript files as an experiment to play with the language, or to solve problems for myself work.I also hope to give some help to those who need to use this script or save time searching the Internet and just starting to learn I would gladly …

0
188
Member Avatar for anton.yakushin

I am wondering if anyone could recommend the best CMS for an Airbnb-style marketplace that allows people to sublet their apartments, and other people to search, filter, and pay for the apartments listed. These are the main requirements: - Ability to sign up both buyers and sellers. - Accounts for …

Member Avatar for johnlee90
0
2K
Member Avatar for cambalinho

how can i print 3 values(without knowing their string\number size) in same column using cout? i'm using these code: cout <<"\n" << "show tokens\n"; for(unsigned int i=0;i<Tokens.size(); i++) { cout << "Token: " << Tokens[i].Token <<right<<setw(20-Tokens[i].Token.size())<< "Type: " << Tokens[i].Type <<setw(40) << fixed << "Position Line: " << i<<"\n"; } …

Member Avatar for rproffitt
0
1K
Member Avatar for joao_9

hello i am developing an application in c ++ and mysql and i am having a lot of difficulties in more specified login in the query where the query needs the user and the pass which are in variables. Can anyone help me? Thanks.

Member Avatar for rproffitt
0
2K
Member Avatar for reevenz

Hi All, I am going to write a small inventory tracking app for a small company. What they need is only to keep track goods in, goods out, supplier, customer, and purchase price and sell price so we are able to calculate purchase price, sales price, and stock value. [LIST=1] …

Member Avatar for Shuvadeep
0
2K
Member Avatar for HelenLF

I have a leaflet.js map on a Bootstrap web page. On first view of the page the map doesn't show, but on resize it shows. Can anyone suggest a fix for this? This is my code. html <div id="mapid"></div> css <link rel="stylesheet" href="https://unpkg.com/leaflet@1.5.1/dist/leaflet.css" integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" crossorigin=""/> #mapid{ height: 500px; width: 100%} …

Member Avatar for HelenLF
0
2K
Member Avatar for useruno1

Hi guys, its there any way to change the trigger of this button "add to cart" to run this link? I keep trying to figure out how to edit but it dosent work. :(. Buttton: `<button type="submit" name="add-to-cart" value="<?php echo esc_attr( $product->get_id() ); ?>" class="nm-simple-add-to-cart-button single_add_to_cart_button button alt">text1</button>` Link that …

Member Avatar for useruno1
0
978
Member Avatar for Sappie

Hi, I was learning 'Selection Sorting' in C and while writing my program I constantly get the error- >[Error] expected expression before '{' token Here's my program- #include<stdio.h> void main(int A[10]) { int i,j; A[10]={2,4,1,9,0,6,5,7,3,8}; for(i=0;i<9;++i) { int Min=i; for(j=i+1;j<10;++j) { if(A[j]<Min) { Min=j; } int temp=A[i]; A[i]=A[Min]; A[Min]=temp; } …

Programming
Member Avatar for JamesCherrill
0
5K
Member Avatar for cakeboy

Hi, I'm attemting to learn programming with Python and am currently trying to design an adventure game that sets up rooms and a player can move between them. I'm having problems working out a lop function that can move the player around the rooms. The current method has an error …

Programming python
Member Avatar for Reverend Jim
0
791
Member Avatar for Mike Askew

I am currently creating a product lookup system for a project of mine, however from reading around it has come to my attention that an OLEDB connection will not handle the SQL query below as it will not handle more than a simple "SELECT, FROM". Table: tbl_ProductInformation Field: Product_Name CurrentEntry …

Member Avatar for Carmelo_1
0
13K
Member Avatar for frnds2vivek

hi.. am unable to view objects of a form in a project, although am able to view its code.. Whenever i try to open the form to view its objects, i rcv an error mentioning **"Error Loading Form. Please check "<path>.log" for details."** In the log file it says **"Line …

Member Avatar for ma14
0
3K
Member Avatar for Rohan_12

Hello Everyone, I have an FPGA application that has some function (i.e: Matrix Multiplication) now I want to create the memory interface for FPGA communication based on the model pushed into the FPGA? For example, If we have the size of 1024 and the size of data is 10 bit …

Member Avatar for rproffitt
0
417
Member Avatar for J'nae Thomas

I want a calender to appear, making it so that the customer can chose the dates. #include <iostream> #include <string> #include <ctime> using namespace std; double SubTotal=0.00,Total=0.00, Dis=0.00, DisGCH=0.40, DisConf=0.15, DisSpec=0.05; int NoOfDays=0, TelNumber, CreditCN, GoldCN, RPriceSing=175.00, RPriceDoub=250.00, ConfN; string LName, FName, Address,Occupancy, DisType,GoldCardHolder,ConfDel, CheckInDate; int main(){ cout<< "WELCOME TO …

Programming c++
Member Avatar for rproffitt
0
555
Member Avatar for 雪嫣

I new in learning Object Oriented Programming... I face a problem that how to do this question for loop and if.... hopefully can get some help in this website...` this question is need to do from the previos question.. this is java need to do the question using NetBeans.IDE.. question:(at …

Member Avatar for John_165
0
565
Member Avatar for phase3studios

I do not have a clue as to what the problem is with this code. I am running php 7.0. This was an old form I used long ago, decided to upgrade it for random use. It works on php 5.0 but not in 7. I have run it through …

Member Avatar for daydah
0
436
Member Avatar for davy_yg

Hello, I would like to style my table. I have two different table that I would like to style differently. How to do so? This is what I try but it does not work: table, td { padding: 5px; } .order table, td{ width: 5px; } </style> <table class="order" border="1"> …

Member Avatar for Purvi_1
0
771
Member Avatar for Priyasanka

Please help me to creating code for my images from form to public folder and retrieve it on my view trough database This is my form: <form = method="post" action="/saveform1" > {{csrf_field()}} <input type="text" class="form-control" name="yourname" placeholder="Enter your Name"> </br> <label> Your Email </label> <input class="form-control" type="email" name="email" /> </br> …

Member Avatar for Alexander_18
0
403
Member Avatar for mehrantahir

Hi, i want to include images in email,i write the following script which unfortunatly not working,please any one help me resloved my issue `$to = "example@gmail.com"; $subject = "new account created"; $body = "New account has been created <img border=’0' src=’http://www.example.com/myimages/track.php?MID=1111&SID=2222' width=’1' height=’1'> " ; $headers = "MIME-Version: 1.0" . …

Member Avatar for Sovenga
0
15K
Member Avatar for franj776

I'm doing an assignment for a class and I can't figure out what I'm doing wrong to keep getting the "illegal start of expression" error. Any help would be appreciated. public class Overloading { public static void main(String[] args) { public static int max(int num1, int num2) { if (num1 …

Member Avatar for JamesCherrill
0
506
Member Avatar for millanskie

Anybody who knows how to change word or character in kanji to katakana or vice-versa. I'm using 2 textbox to do this, the first textbox is for katakana and the second textbox is for kanji. What i wanted to do is, whatever i typed in the kanji textbox it will …

Member Avatar for Valeria_3
0
2K
Member Avatar for Saboor880

H! I am writing a java proram in which I need to generate and read barcodes to and from .PNG images. I used barcode4j-2.jar library to generate barcodes and write them to PNG image. I did this successfully. But I faced an error during reading that generated barcode from the …

Member Avatar for orichisonic
0
690
Member Avatar for cambalinho

i'm creating a program using Code Blocks with GNU\GCC compiler. i'm using Windows 10 with Windows Defender. my program create a txt files(instead a text files, we can speak binary files too), but the Windows Defender can delete the file(and i have sure), for avoid these problem i must disable …

Member Avatar for cambalinho
0
4K
Member Avatar for cybertech09

Please I need your help, I am new to PHP and I need your help in inserting multiple select array into the database in the form of this. This is what I want to achieve. My table has 3 columns (id, examno, results). I want results column to be inform …

0
1K
Member Avatar for cybertech09

Please I need your help, I am new to PHP and I need your help in inserting multiple select array into the database in the form of this. This is what I want to achieve. My table has 3 columns (id, examno, results). I want results column to be inform …

0
253
Member Avatar for Pranu_1

I Write code to send e-mail from an ASP.NET application..Is this correct for that or need some changes..any changes in the code will be happilly acceptable.. MailMessage mailMess = new MailMessage (); mailMess.From = "abc@gmail.com"; mailMess.To = "xyz@gmail.com"; mailMess.Subject = "Test email"; mailMess.Body = "Hi This is a test mail."; …

Programming asp asp.net
Member Avatar for anand9796
0
557
Member Avatar for Jun_8

$strSPQuery = "SELECT * FROM `san_pham` where ma_san_pham=".$arrMa[$i]; $resultSp= mysqli_query($conn,$strSPQuery); $rowsp = mysqli_fetch_array($resultSp); $tong += $rowsp["gia"]*$arrSl[$i];

Member Avatar for Dani
0
2K
Member Avatar for Tân_3

The company sells the coffee in 2-lb bags only, and the price of a single 2-lb bag is $5.50. When a customer places an order, the company ships the order in boxes. The boxes come in three sizes: the large box holds 20 bags of 2 lb, the medium 10 …

Programming java
Member Avatar for Reverend Jim
0
306
Member Avatar for faizan_7

Hey everyone. I received this sql server error and I can't figure out where the trouble is: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: …

Member Avatar for Yrth
0
2K
Member Avatar for eddienguyen

Hi guys, this is my first question here What useful plug-ins / debuggers for Visual Studio do you use (for Windows)? P.S. I know Visual Studio has a good debugger. Thanks a lot

Member Avatar for Yrth
0
382
Member Avatar for rayne_lynch

hi everyone! I am wondering if anyone can point me in the right direction regarding cookies and sessions. What I need to know is this; I am developing a website that has mixed html and php pages. I am wanting to have "members" where certain web pages are accessible to …

Member Avatar for alan.davies
0
251
Member Avatar for Daniel11

Hello Coders, I am working on ASP.NET Web Forms. In my page there is a GridView which should have a feature to upload multiple files at the same time to the server. Can you help me in implementing this feature. I want: 1. The files should be uploaded from the …

0
396
Member Avatar for FarrisFahad

I have some simple scripts like blogs, forums, and so on. They are not of high quality but I want to sell them. The problem is that I cannot build a professonal website. But I want to sell my work. Where can I find a marketplace for such items? Note …

Member Avatar for Reverend Jim
0
5K
Member Avatar for darwin_nacional

Hi, I'm wondering if it's possible to have a desktop app with a database online? Can you give me an example? :P

Member Avatar for Elijah Alfredy
0
2K
Member Avatar for yobbko

I need help with reading data from web page. I wanted to do database of rates (forex). For example: whan price is (eur\usd) 1.4231 then 1.4230 then 1.4229 then 1.4230. I wnated to make text file and application (c\c++) write there those price. In tex file: 1.4231 1.4230 1.4229 1.4230 …

Member Avatar for baabroz1
0
429
Member Avatar for adisharma

Hello Everyone, I want to know about more binary search in C programming and their various variation and how its work? I am sharing sharing code. Can anyone tell me is it right? Requirements ask for using binary search on an unsorted array, then it needs to be sorted first …

Member Avatar for Vijay_32
0
363
Member Avatar for MosesKhan

Hi all, I am wondering what is the best way to setup Ninject, ASP.NET Identity and Entity Framework? Normally (without Ninject) I would create my solution by separating the MVC project from Data project and things would work just well, but I can't really figure out the best way to …

Member Avatar for Daniel11
0
450
Member Avatar for elamigosam

We currently have a website running, domain.com but we are going to change the website and we are working on the new website under dev.domain.com it is a wordpress system we are putting together, is there a way to setup dev.domain.com as domain.com but still not be out in the …

Member Avatar for Daniel11
0
386
Member Avatar for xenexmedia

I have used the breadcrumblist mentioned by the schema.org for my [[website](www.xenex-media.com.au)](https://xenex-media.com.au/) <script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://xenex-media.com.au/" },{ "@type": "ListItem", "position": 2, "name": "About Us", "item": "https://xenex-media.com.au/gold-coast-web-designers/" },{ "@type": "ListItem", "position": 3, "name": "Our Services", "item": "https://xenex-media.com.au/digital-marketing-agency-gold-coast/" },{ …

Member Avatar for Dani
0
1K
Member Avatar for Aleeza Smith

Hi everyone! i have a question that, if there are two radio buttons Male and Female, if some select male,this value will be store into database, but if he select again another value which is female,then how the first value(Male) will be replace by second value (Female) in the database …

Member Avatar for Dani
0
462
Member Avatar for Grant_7

# I need a project# Hi, I am brand new to programming and was wondering if anybody had any suggestions of where/ how I could learn more python, and or a good project that would help my learn new elements of code as i learn them.

Member Avatar for shivanidf
0
491
Member Avatar for Shehab_2

I have a problem. I want to show two different value in same button. Here is the image of the report---- https://ibb.co/wrrDSDX Try If Not String.IsNullOrEmpty(ComboBox1.Text + TextBox1.Text) Then Dim keyword As String = Me.ComboBox1.Text + TextBox1.Text.Trim() Me.LeaveInfoBindingSource.Filter = "(LeaveCategory LIKE '%" & keyword & "%')" & "OR Convert(PersonalNo,'System.String') LIKE …

Member Avatar for Shehab_2
0
518
Member Avatar for John_245

Any WRONG WITH THIS CODE? I AM BEGINNER TO THIS .>>> #!/use/bin/env python3 import os import tkinter import webbrowser from tkinter import * from tkinter.filedialog import asksaveasfilename from tkinter.scrolledtext import ScrolledText from PIL import Image, ImageTk from PIL import * window = tkinter.Tk() window.geometry("520x800") window.title("STARLABS BIOSCIENCE SDN BHD") window.resizable(False, False) …

0
348
Member Avatar for misstj555

Hi. I wanted to review the idea of "Link List" but using C++ and not Java. I borrowed a header file from a textbook to test how a link list works (I know that if I don't paste the whole code [its not my code anyway. It was from a …

Programming c c# c++ linked-list
0
185
Member Avatar for faizan_7

Hello to all. I am developing software in vb.net for sales invoices. Where i need to import invoice data from excel file to vb.net Grid Data View and then save into access db. I will use db data in future for creating customer invoices. I have code that import excel …

Member Avatar for Daniel11
0
3K
Member Avatar for angbatangprog

Programming Exercise ATM Machine In this assignment you will create a program that allows a user to do the following: 1) Create a bank account by supplying a user id and password. 2) Login using their id and password. 3) Quit the program. Now if login was successful the user …

Member Avatar for Apoorva_2
0
6K
Member Avatar for KushMishra

Hi All, Any suggestions on how could we attach the NLog.config to a docker-compose.yml file so that it generates an “NLog_Internal.txt” on the host machine and we can see all the application logs in that file? In other words, is there a way we could extract the logs of an …

Member Avatar for KushMishra
0
2K
Member Avatar for kvar

Hello, I'm a newbie in python. I've written a code for websocket for server and client communication. here im getting some data from server ( "sprintf(buffer,<STX,250,350,254,%d,858,STX>, i) and im saving this to RPI which is my client. now i've to display these readings on a window using tkinter. i've created …

Programming tkinter websocket
0
145
Member Avatar for JQB45

Does anyone here know MVC well enough to teach me or know of a great tutorial I can read? I'm a Senior C#, ASP.NET Web Developer at my core but since I've been under employed for a few years I have not had the chance to learn MVC. Also interested …

Member Avatar for Daniel11
0
552

The End.