199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for AbstractEden

Hello, I was hoping to get some input from anyone in the Java section. My professor gave us a practice problem about two weeks ago and I have been running into an out of bounds error. The program seemed simple enough, take in two arrays of binary numbers from a …

Member Avatar for AbstractEden
0
281
Member Avatar for quangtuanphung

**First Page** <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Insert title here</title> </head> <body> <h1> Register </h1> <form method="post" action="welcome.jsp"> <table> <tr><td>Email</td><td><input type="text" name="email"></td></tr> <tr><td>Full name</td><td><input type="text" name="name"></td></tr> <tr><td>Password</td><td><input type="password" name="password"></td></tr> <tr><td rowspan="2">Gender</td><td><input type="radio" name="gender">Male</td></tr><tr><td><input type="radio" name="gender">Female</td></tr> …

Member Avatar for ihelpyou
0
269
Member Avatar for muralibobby2015

Hello, I am using phpwhois lookup to fetch details of an ip and i am very much successful in it. But i need to detect whether the ip belong to an individual or any organization. For example if i browse my tracking website from home it is my individual ip …

Member Avatar for muralibobby2015
0
772
Member Avatar for digiway

Hi, I select S.No, name and mark from sql database table. This table contain n number of rows. I want to add(+)/Plus the mark and display in the (n+1) row of datagridview how can i do this. Thank You

Member Avatar for ddanbe
0
228
Member Avatar for sciprog22

Hello, I have a question about ascending order sorting using the Comparabe interface: When I add the keys of my Hash Map to a TreeSet object and implement the compareTo as below, I get descending order of sorting of names: public int compareTo (Accounts a) { return a.name.compareTo(this.name); } // …

Member Avatar for sciprog22
0
166
Member Avatar for SimonIoa

Hello i have implemented a Facebook invite friends script to my website so that my users may invite their facebook friends to the website. The scripts show only one of the friends and there is no option (link or what ever) for the user to invite even the one friend …

0
127
Member Avatar for hari_10
Member Avatar for strRusty_gal

Can someone please help to advise below question? I need to do a SUM of the amount column based on the CreateDate date range From 10th of previous month to 10th of this month Below is the database table Amount CreateDate 151.00 5 July 2015 567.50 19 July 2015 558.00 …

Member Avatar for strRusty_gal
0
188
Member Avatar for Jiby_1
Member Avatar for directorabbey

#include <iostream> using namespace std; int main() { const int password=123; const string username = "abc"; int pass; string user; cout<< "Enter your username"<<endl; cin>>user; cout<< "Enter your Password"<<endl; cin>>pass; if (pass==password) && (user==username) { cout<< "Access Granted"<<endl; } else{ cout<< "username And Password Incorrect"<<endl; } cout << "Hello world!" …

Member Avatar for zelrick
0
126
Member Avatar for anmol.raghuvanshi1

I have user form which has hide/show toggle form it's the will of user to fill that part. when i click on button Tent gear which hides and shows form there is save button if user filled the form and click on" save" without refreshing page i want data to …

0
106
Member Avatar for Praise92

Hi Guys I am trying to select and display on the RadGrid. i am using sqlDataSource. i have 2 Tables (Users and DealerShip). User table i have attributes (UserID(pk),UserName,Email,Phoneand DealerShipID(fk)) on DealerShip table i have attributes (DealerShipID(pk),DealerShipName) and now here is what i want to do. on my grid i …

Member Avatar for Praise92
0
238
Member Avatar for AntonyRayan

For loop error problem Method: for($i =0;$i<count('$std_id);$i++) { for($j=0;$jcount('$sub_id;$j++) { mysql_query("INSERT INTO mmst_tbl(std_id,sub_id,mark)VALUES('$std_id[$i]','$sub_id[$j]','$mark[$j]')"); } } How to solve this? instead of 138 rows it goes 2000+ lines

Member Avatar for diafol
0
233
Member Avatar for Anthony_9

Hello everyone I am new to assembly and currently taking an online class over assembly. I am using x86 intel machine with AS. My project would like me to complete the following: - Show how decimal 65 would be stored in register EAX in 8, 16, and 32 bits using …

Member Avatar for Anthony_9
0
273
Member Avatar for surfingturtle

/* Am not able to understand the operation happening in function showbits(), please help*/ #include <stdio.h> void showbits (unsigned char); int main() { unsigned char num=225,j,k; printf(\nDecimal %d is same as binary", num); showbits (num); for(j=0; j<=4; j++) { k=num<<j; printf (\n%d left shift %d gives", num, j); showbits(k); } …

Member Avatar for surfingturtle
0
202
Member Avatar for mridul.ahuja

I have a website with the url to be entered in TextBox2 . I want to extract names, email ID and mobile numbers of people from the website. The url in TextBox2 contains the names and the email IDs, however the mobile numbers are present on another webpage (profile page) …

Member Avatar for mridul.ahuja
0
424
Member Avatar for Tcll

basically, I have some code defined to be executed in a restricted namespace: code = ''' def func(): print 'success' ''' NS = {} NS.update(__builtins__) exec code in NS try: f = NS['func'] print f # should print a function object f() except KeyError: print 'failure' as you can guess... …

Member Avatar for Tcll
0
544
Member Avatar for LibraryCode

Hi,could anyone tell me please what is the most common and good way to create HTML table from php array.And how to fill it with randomly generated numbers.? Regarding the table so many posts online,but which is the best approach?Thanks.

Member Avatar for diafol
0
7K
Member Avatar for JohnMcPherson

Hello, I am having a problem with a C cursor screen that I am developing. The screen compiles without a problem, but when I try to run the screen, it does not come up, and no error message is shown on the screen. Also, there is no file created with …

0
170
Member Avatar for amitpatel1849

Hello There, I would like to move my working website from php 5.2 to 5.5? Is any one kow that what should i take care for same. Thanks in Advance. Amit

Member Avatar for diafol
0
43
Member Avatar for Pramod_7
Member Avatar for ramsiva
Member Avatar for kathymac

Hi I have an html file with a complex table structure. I read in the html file in and then render the contents using WriteHTML.php It turns out quite differently. ex: width, font size, nested tables (don't seem to be working). I am stuck and don't know how to fix …

Member Avatar for Aeonix
0
792
Member Avatar for Liang_1

Dear all, I have created a website where I would like my users to register and upload profile images to my server and then store it under folder in my server known as "images" and then save the dataurl of the images into MySQL database. Then, I would display their …

Member Avatar for almostbob
0
381
Member Avatar for Affan Ahmed

#include <stdio.h> int main(){ int k=0; char q1[0],q2[0],q3[0],q4[0],q5[0],q6[0],q7[0],q8[0],q9[0],q10[0],q11[0]; char a[0]={"b"},b[0]={"a"},c[0]={"d"},d[0]={"c"},e[0]={"d"},f[0]={"c"},g[0]={"b"},h[0]={"d"},i[0]={"c"},j[0]={"a"}; printf(" MCQS TEST PAPER \n \n \n Total ten question each of 1 Marks \n \n \n1.What is your country name? \na)India \n b)Pakistan \nc)Srilanka \nd)America \nEnter your correct option : "); scanf("%s" , &q1); printf("\n \n2. What is your …

Member Avatar for Moschops
0
247
Member Avatar for Medusa Tomsin

when naming the constant in C++ program, WHY DOES IT IMPORTANT TO NAME FOR EXAMPLE INCHES_PER_FOOT ?

Member Avatar for 0x69
0
106
Member Avatar for Swathi_3

Project Decription: The user gives from and to destination from which he needs to get all the trains availabe at that route in all timings. I dont know where im wrong. Pls help me

Member Avatar for jwenting
0
187
Member Avatar for Rizi004

Hi There! I have a e-commerce website that is live and now i want to upload that live store in sub-directory for the purpose of development. Live sote is like www.abc.com now i want to copy this store to www.abc.com/dev/v2/ I copy all the files in this new directory and …

Member Avatar for scotv
0
314
Member Avatar for Cory_1

I am attempting to use generics that will sort an ArrayList in ascending order as extra practice for my upcoming mid-term exam. I am given the main method body, and the method header for the sorting method, and am asked to write the method body for the sort method. However, …

Member Avatar for JamesCherrill
0
4K
Member Avatar for Mace_1

I want an idea on how to make online chatting network in perl, just like a messenger where if there's an online people you can chat him/her. I know how to create a chat network in perl but everyone can chat in an single network like a public chat room, …

Member Avatar for mcglk
0
329
Member Avatar for Modini

How to read input from a textbox and store the data as first element in 3D array? Please help!!

Member Avatar for Mr.M
0
183
Member Avatar for Victor_10

hi guys, how do i create a simple server that ships alongside my windows app during installation which will be used as local server to host web pages that ships along with the Windows app.

Member Avatar for overwraith
0
152
Member Avatar for gtel

We're currently having a management system project, and i'm at a dilemma whether to use PHP or Java. My concerns are these: 1) What if the admin of the management system will do something foolish from his home (if the system is through php/web), since he can just access it. …

Member Avatar for gtel
0
132
Member Avatar for surayanbo

how to develop a prog in cpp that asks the user to enter numbers and sort them ascendingly using arrays.

Member Avatar for gusano79
0
116
Member Avatar for LibraryCode

How do i compute frequency of the numbers in the range,let's say 10-19,using rand number generator array with 50 int? I have this code so far: $arr = array_fill(0, 50, NULL); for ($i = 0; $i < 50; $i ++) { $arr[$i] = rand(10, 19); } but not sure if …

Member Avatar for diafol
0
173
Member Avatar for LibraryCode

Hi all,i tried to do some research regarding associated arrays in php,even manual on the php documentations,but can not find the answer,how do i print the smallest value and the associated key from the array?

Member Avatar for diafol
0
225
Member Avatar for Violet_82

Hi all, I wonder if you can help me at all, as I run into an annoying problem. I created an automated crossfade but when I click on the controller I want it to change into a manual one, but unfortunately the manual one doesn't work as expected. You can …

Member Avatar for Violet_82
0
277
Member Avatar for srider1969

How can I change the signature of my Action delegates to NOT use void methods in my Dictionary<bool, Action<UrlParts, List<UrlParts>>>? public static Func<UrlParts, List<UrlParts>, bool> LacksDomainPage = (up, lup) => !lup.Contains(up); public static Action<UrlParts, List<UrlParts>> LacksUrl = (up, lup) => dicAddDomainPage[LacksDomainPage(up, lup)](up, lup); public static Dictionary<bool, Action<UrlParts, List<UrlParts>>> dicAddDomainPage = …

Member Avatar for srider1969
0
306
Member Avatar for Cap'nKirk

Hi, I am trying to add a new xElement to an existing xDocument but it needs to be added to a specific place in the structure. Here is a snippet of the current structure, you can see that I have added ID xAttributes to the xElement td in order to …

Member Avatar for lithium112
0
4K
Member Avatar for alan_123

I am new to perl. In a string How do I replace a backward slash with a forward slash? when I call the following perl api $FindBin::Bin; I get the path as follows $myPath = c:/perl/test I would like to covert this to c:\perl\test I did try the following and …

Member Avatar for Taywin
0
6K
Member Avatar for Liang_1

Dear All, I have a form use for uploading photos to my website. But I would like users to fully filled in the selection only then the "Submit" or "Upload" button will be activated. How can I do this? Below is my code: <form name=Image enctype=multipart/form-data method=POST> <table cellspacing=2 cellpadding=2 …

Member Avatar for hericles
0
315
Member Avatar for Ali_51

using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; namespace Genesis_Solutions_CRMS { public partial class formNewAccount : Form { public formNewAccount() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { Information info = new Information(); info.Name = txtName.Text; info.Occupation = txtOccupation.Text; info.Dob = double.Parse(txtDob.Text.ToString()); info.Nic = …

Member Avatar for lithium112
0
301
Member Avatar for anisha.silva

Hi, i have a string that i want to match to a regular expression. The string is methodName(paraT1 para1, paraT2.name2 para2, paraT3.name3 para3) Inside the () there can be multiple of "aaa.bbb ccc" and "ddd eee" patterns The regular expression i wrote was : (\w*)(\s*)\((((\w*\.\w*)\s*(\w*))|((\w*)\s*(\w*)))(\s*\,\s*(((\w*\.\w*)\s*(\w*))|((\w*)\s*(\w*))))*\) and the I get the …

Member Avatar for srider1969
0
311
Member Avatar for w33n

Hi all, I am wondering if I need to make multiple copies of the same include xxx.php (navigation) file in order to highlight which page the user is on. Using an include seems almost unnecessary if I do. Can you please let me know. Thank you. B

Member Avatar for almostbob
0
270
Member Avatar for kathymac

Hi I am using html2pdf to convert php output to a pdf. When I run this code without injecting any other php code it works fine. However, prior to creating a pdf, I need to find the the current user and display variables based on that id. I wrote code …

Member Avatar for Taywin
0
147
Member Avatar for Anupam_4

Will u plzz help me for displaying the content from the database in datagridview in vb with backend mongodb?

Member Avatar for Rakhmat_1
0
898
Member Avatar for surayanbo
Member Avatar for NathanOliver
0
109
Member Avatar for professor123

Good Day, I wanted to ask that is it possible to develop a system which does image comparison or recognition, whereby you input or upload an image and then the system tries to match this image with the ones in the database until it finds an image which resemble the …

Member Avatar for professor123
0
279
Member Avatar for prgmmgbgnnr

someone should help me with thisss T-T okay the instruction is like this "let your prog picks a combination of vowels and consonants. User will then build as much words as possible from the chosen letters. your prog will check the correctness of the words. give points to each word …

Member Avatar for prgmmgbgnnr
0
247
Member Avatar for prgmmgbgnnr

i was given an assignment to create a word construction game where the program will randomly picks a combination of vowels and consonants and the user will build as much words as possible from the choosen letters. my prog will check for the correctness of the words and gives the …

Member Avatar for prgmmgbgnnr
0
238

The End.