199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
**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> … | |
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 … | |
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 | |
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); } // … | |
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 … | |
where we set FileCaching in weblogic server off | |
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 … | |
<a href="http://server/page.html#anchor-name">Link text</a> | |
#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!" … | |
![]() | 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 … |
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 … | |
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 ![]() | |
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 … | |
/* 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); } … | |
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) … | |
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... … | |
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. ![]() | |
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 … | |
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 ![]() | |
how we can add pagination in php .. ![]() | |
value is 150916124549 how to change the value to Y-m-d any body help me | |
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 … | |
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 … | |
#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 … | |
when naming the constant in C++ program, WHY DOES IT IMPORTANT TO NAME FOR EXAMPLE INCHES_PER_FOOT ? | |
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 | |
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 … | |
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, … | |
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, … | |
How to read input from a textbox and store the data as first element in 3D array? Please help!! | |
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. | |
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. … | |
how to develop a prog in cpp that asks the user to enter numbers and sort them ascendingly using arrays. | |
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 … ![]() | |
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? ![]() | |
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 … | |
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 = … | |
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 … ![]() | |
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 … | |
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 … | |
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 = … ![]() | |
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 … | |
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 | |
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 … | |
Will u plzz help me for displaying the content from the database in datagridview in vb with backend mongodb? | |
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 … | |
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 … | |
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 … |
The End.