199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Priyanka786
Member Avatar for tarugupta.92

Hi i have a page say test.jsp It has some href links which redirect to the same page with some unique attributes depending on the link Now depending on the link clicked the page will be reloaded(as it redirects to itself) with new data. Now i want to take an …

Member Avatar for subramanya.vl
0
825
Member Avatar for CALGACUS

Hi Everyone, I'm hoping that someone might be able to help me on the following: I would like to have a textarea type control on a webpage that would permit a user to highlight some text in the 'textarea', open a file dialog box, and insert a link behind the …

Member Avatar for subramanya.vl
0
149
Member Avatar for sunnykeerthi

I'm creating an app, that displayes a String from a database. This String is then displayed in a textbox that cannot be edited. I now require that varible (ID passed) in the text box to be compared with a column in a SQL database table which is an identical String. …

Member Avatar for subramanya.vl
0
786
Member Avatar for somjit{}

i was searching for a code to perform binary XOR addition. Exams coming up, and needed to a quick way to create and verify standard array tables. However, i didnt find anything substantial on the internet, so made my own version of it. can anyone take a look and tell …

0
174
Member Avatar for istrika

Hi all, I'm having some trouble inserting records into my MySQL db because of how I've set up my foreign keys. The problem is, I don't know how to fix it to make it do what I need it to. Here is my schema: http://imgur.com/t5bVt Here is my php code …

Member Avatar for istrika
0
1K
Member Avatar for mukulbimm

I am new to JSP. I am doing a course. where they require me to build a registration page. and when we submit entries must be into database. So that when we log in the username and password must match then only welcome page should come otherwise error page. and …

Member Avatar for subramanya.vl
0
199
Member Avatar for shark101

hello I have the following program in which i am tring to copy one strct array to another so that i can sort the second struct array without messing up the original one so i do the copy but when i run the program it give the following error : …

Member Avatar for shark101
0
266
Member Avatar for coder91

I have a page that allows the user to select various options from drop down lists. Below this is a gridview recording the details that have been submitted previously. So when the user hits submit their data is stored in a database and the gridview is rebinded to display this …

Member Avatar for coder91
0
164
Member Avatar for brentr678

Im trying to write a program that simply takes a string input and reverses it. I want the program to repeat itself by asking the user then starting over. The problem im having is that when the program first runs, the getline function works correctly but then after the program …

Member Avatar for NP-complete
0
518
Member Avatar for kikiey

can anybody help me how to make a LAN connection for messenger such as yahoo in a big connection like in hostel? i use microsoft visual basic 6 and microsoft access as a database. pls help me :(

Member Avatar for AndreRet
0
290
Member Avatar for theguitarist

My B+ tree looks like : rest of tree / 9 10 / \ \ 5 9 10 If I need to delete 5, I can't simply remove it because the page wouldn't contain any elements after that. So, I decide to merge with the right sibling. I don't understand …

Member Avatar for mike_2000_17
0
430
Member Avatar for UNDER-18 FG

Here's my assignment question: > **Develop a Payroll class that consists of two user-defined methods, namely calculateNetPay() and printOutput() methods. The calculateNetPay() method is used to calculate the employee's net pay, as the formula follows: > > Net pay = gross pay - state tax and federal tax > > …

Member Avatar for subramanya.vl
0
679
Member Avatar for amishraa

The idea is to check whether if phone number already exists(data table). If the number exists, then it will create a new row under another table(output table) with the customer ID for that customer. Table data is where pre-loaded phone numbers are stored. Table input is the table where feed …

Member Avatar for john.knapp
0
173
Member Avatar for tomz6

Hi all, I need to make a windows application nothing fancy - just simple menu etc. However, I also need to be able to draw pixel colors to the screen (perhaps load from a bitmap image). It must be as fast and efficient as possible - and if possible, easy …

Member Avatar for mike_2000_17
0
966
Member Avatar for jalpesh_007

i have written following code so far. But now i am stuck with one porblem. I have made a loop that exactly modify Numeric Quasi identifier by one by one. Now problem is: I hv made loop that modifies exactly once,twice and all four Q.I.(Quasi IDentifier) How can i make …

Member Avatar for Taywin
0
214
Member Avatar for vivosmith

Hello, I have a forum up an running at [mildaspergers.com](http://mildaspergers.com/phpbb3/index.php?sid=5fc84bc92d43cf37136682874ae1a45c), and everything is doing well, except for one thing. Myboard index button is redirecting to a photo. What should I edit in order for this to work properly?

Member Avatar for vivosmith
0
249
Member Avatar for hwoarang69

let say i create session in login page. here session is on id and username. $_SESSION["id"] = $id; $_SESSION["username"] = $username_p; now to see who loged in i can do this $user_name_s = $_SESSION['username']; //has the name of who is loged in now how do i do this with cookies? …

Member Avatar for LastMitch
0
108
Member Avatar for kikiey

i have one more question. how to make a connection using lan between two pc? they use a same ip address?

Member Avatar for john.knapp
0
468
Member Avatar for boltfarms

Hello, I am currently having an issue with a project I am working on. The rest of my project is fine, I am just having an issue with one logical portion of it, and I was hoping someone could help me. I also have to use 1D arrays to solve …

Member Avatar for tinstaafl
0
242
Member Avatar for Neversleepin

Hi, i have two buttons: Add button and Clear button one Jlist 1- when i click on Add button, it will add some data in the jlist. 2- when i click on Clear Button, it will clear perfectly the jlist. but when i re-click on Add button, here it add …

Member Avatar for Neversleepin
0
287
Member Avatar for apanimesh061

I want a button which when clicked opens a windows explorer window then the content of the file that I choose should get copied to the text area on that page... I have extensively searched but could not find anything ...

Member Avatar for LastMitch
0
181
Member Avatar for Djmann1013

Hi, I have no knowledge of preg_match(). I was wondering on how to detect if the text I send to the function, and only allow the text like this: sample1127 Like that, with no underscores or anything. Just text and numbers. I would be happy if you helped...

Member Avatar for Djmann1013
0
212
Member Avatar for Djmann1013

I have this code right here: if(isset($_SESSION['username'])) { header("location: home.php"); exit(); } This code works, but I want it to redirect to home.php with out having to visit a different page and then the page this code is on to trigger the code. I don't know how to do that. …

Member Avatar for Djmann1013
0
1K
Member Avatar for mohamedasif18

Hi Guyz, Am facing an issue that $_GET[] not working in my Mod_Rewrite, My Odd URL is : http://groupon.ig-demo.com/index.php?id=12&dealname=Oil%20Treatment My Friendly URL is : http://groupon.ig-demo.com/id/12/Oil%20Treatment.htm And My HTACCESS is : Options +FollowSymlinks DirectoryIndex index.php RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L] RewriteRule ^id/([^/]*)/([^/]*)\.htm$ …

Member Avatar for diafol
0
297
Member Avatar for <M/>

I am thinking about studying about mobile development... and I want to get an editor for the iPad. I thought about DietCoda, Koder, Gusto, or textastic... what is the most prefered choice out of all of them? Probably DietCoda since it is the updated version of coda 2? And if …

Member Avatar for <M/>
0
180
Member Avatar for galhajaj

hi :) i am new in C#, i am trying to make a little chess program and i need help in the chess board making. i make a new class "Square" that inherit from PictureBox (Square:PictureBox) and i made an array of 8x8 of Square in the Form1.cs and i …

Member Avatar for thousandbanks
0
1K
Member Avatar for Buggaya

[B]I have an application that saves some data in xml document.[/B] [B]The user can add a new data to xml document.[/B] [B]The problem is the old data will be overwritten by the new one,How could I solve that?? [/B] [B]Here is my code for that method which still needs "APPENDING":[/B] …

Member Avatar for Behrangbina
0
2K
Member Avatar for FALL3N

I could probably/def read a text file with javascript by embedding some ruby in there but I want to know how to do it with javascript. My code follows: [CODE] <HTML> <HEAD> <TITLE>"Text File"</TITLE> <SCRIPT LANGUAGE = JAVASCRIPT> function handleFile() { var myFile = document.getElementById('txtF') var fileContents = System.IO.File.ReadAllLines(myFile); document.form1.textfield.value=fileContents; …

Member Avatar for L0st
0
18K
Member Avatar for MissAuditore

*Hi, I am trying to plot a 3D surface plot. I have a list of x,y,z values. They are all of different dimensions. y1 y2 y3 y4... x1 z11 z12 z13 z14 x2 z21 z22 z23 .... x3 ................. x4 x5 . . . etc..* import csv from mpl_toolkits.mplot3d import …

Member Avatar for dashing.adamhughes
0
272
Member Avatar for Hey90

**What I would like to do:** - Read data from text file - Display data from text file - Add new data to text file - Save new data to text file **The file format used is as follows:** Number of items in text file (3) Name 1 Number 1 …

Member Avatar for Hey90
0
251
Member Avatar for rodrigo.l.salazar.14

Hello I need to read 50 intergers from a text file and put them into an array. and output or show the user the numbers. for example: 23 73 58 49 34..... I need them to go into my array. I tried this code but it just outputs -850993. Heres …

Member Avatar for rodrigo.l.salazar.14
0
161
Member Avatar for NordCoder

I'm writing a C library to export SDL_Surfaces to various image formats as an exercise. Now I'm working on the GIF format and I feel I'm very close to getting it working, but I've been at this for a while with no luck. I've already re-read all the specs, wiki …

Member Avatar for NordCoder
0
237
Member Avatar for theguitarist

I read [here](http://www.google.co.in/url?sa=t&rct=j&q=can%20have%20any%20(odd)%20b%20tree&source=web&cd=1&ved=0CDAQFjAA&url=http%3A%2F%2Fwww.cs.uga.edu%2F~eileen%2F2720%2FNotes%2FBtrees.ppt&ei=PcK3UPy4IcbYrQe7-oC4Cw&usg=AFQjCNFC0kjGfN16J-I0S5o3HEjBUxmpKg&cad=rja) that an m-way B-Tree can have m only odd. Is that really true? I've used 2,4 trees that allow a maximum of 4 child linkages for each node (and a minimum of 2). Isn't this a 4-way B-Tree?

Member Avatar for theguitarist
0
771
Member Avatar for aaron.jensen.923_1

Write a correct, well-structured, well-documented Python program to create a list of lists containing student information. You are to create one master list whose elements must be lists containing elements for the student’s first name, last name, major, credit hours completed, and quality points earned. (The organization of the master …

Member Avatar for aaron.jensen.923_1
0
239
Member Avatar for Vijaysurya

Hai everybody, i have following error. user click dialogbox ok button.the above error was comming. what is the problrm in my code var c,pCrop,crop_api,rotate = false; var temp,tempZIndex; var imgCount = 0,imgList = new Array(); var fileSizeOption = ""; $(document).ready(function() { // $('#btnUploadPlanPicture').bind("mouseup", function() $('#btnUploadPlanPicture').mouseup(function() { var id =$('#btnUploadPlanPicture').attr('id'); if(id=='btnUploadPlanPicture') …

Member Avatar for stbuchok
0
3K
Member Avatar for Dani

I'm trying to select rows from a table that meet a bunch of criteria, but one of the criteria is that a row doesn't already exist with two matching columns both being true at the same time. For example, suppose table t1 has columns: a, b, c and d Here's …

Member Avatar for BitBlt
0
293
Member Avatar for kiLLer.zoh

if have checked this query several times but it aint passing the data to database..in other way every thing seems fine in this query kindly please sort out ths problem. $qry="Insert into `postjob` (jobtitle,positions,category) VALUES('".$_POST['title']."','".$_POST['position']."','".$_POST['cate']."')"; printf mysql_query($qry) or die(mysql_error());

Member Avatar for GliderPilot
0
112
Member Avatar for cheelo007

Ok, I may be missing something very easy but when I submit and query the database the session doesn't set for some reason and I'm sent back to admin.php per instruction of my index.php file. Could someone please give this a look over, maybe it's a very simple fix, but …

Member Avatar for cheelo007
0
383
Member Avatar for sultankhan

i have image table with the follwing column `ano(my image id) aphote adteail exactar ` 6 image` and i have an comments table comeents `cid(comt id) user1(userid),ano(iamge id) comments` ` 1 10 here is problem hiiiiiiiii` i want if a user comments on picture then the picture id should add …

Member Avatar for broj1
0
170
Member Avatar for arishy

From the script below, the commented part of the script is to prevent the script from hanging. The script as is , is working once I uncomment the openning of the file to retieve the body of the email, the script hang. use Email::Send; use Email::Send::Gmail; use Email::Simple::Creator; # open …

Member Avatar for arishy
0
331
Member Avatar for Labdabeta

Hello, I am using Code::Blocks, and recently any time I try to compile any program I get the errors "stray '\302' in program" and "stray '\206' in program" about every 20-30 lines. I know how to fix these (by deleting the non printing character(s) in the line in question) but …

Member Avatar for Labdabeta
0
295
Member Avatar for webdev2012

Hello, So in my root directory sessions work fine. On every page I include an initialization page like so: <?php include "http://localhost/home/core/init.php";?> On this page I start the session: session_start(); Now when logged in to my site I can browse every page in the root directory and still be logged …

Member Avatar for veedeoo
0
469
Member Avatar for krystosan

I started learning PyQt from zetcode, as far as i know sys.argv reads in the parameter from coomandline and first being the name of file itself, so if sys.argv is a list then what being passed to QtGui.QApplication() in def main(): app = QtGui.QApplication(sys.argv) ex = Example() sys.exit(app.exec_())

Member Avatar for Gribouillis
0
2K
Member Avatar for joe.crook.9

In this code, I am prompting the user to pick a number from 1-1000 and having the user keep it in his/her head. Then, in 10 tries or less I am trying to have the computer guess the user's number. This is what I have so far... import java.util.*; public …

Member Avatar for subramanya.vl
0
481
Member Avatar for billionair

I've been trying to write this program and so far this is the best I could come up with. It doesn't work though. #include<stdio.h> #include<conio.h> void main() { FILE *fp,*fp1; int i=0; char str[80],fname[]="a1.txt",fname1[]="a2.txt"; clrscr(); fp=fopen(fname,"r"); fp1=fopen(fname1,"w"); if(fp==NULL) { printf("\n Cannot Open File : %s",fname); getch(); exit(1); } printf("\n File …

Member Avatar for deceptikon
0
1K
Member Avatar for AngelOfRock

Hi guys, I got a problem with my Programm after adding a new Class in my Tic_Tac_Toe version...I tryed to use a method of the clas KI_Test1 ( which is a very simple "AI"). The class before without static works. After changing everythin in static, because my main method is …

Member Avatar for AngelOfRock
0
535
Member Avatar for andrew_dvw_usr

Hi there, I'm trying to create a math quiz that reads a series of questions from a sequential access flat file. The file should contain a series of numbers, separated by commas. The first field(value) should be the first number for the problem, the second should be the second number …

Member Avatar for Reverend Jim
0
229
Member Avatar for Dee1004

Hello guys! I need some help... I'm new in Java programming and I'm dealing with in issue. I'm at a step of my project that keeps stoping me from going further. I have some xml files that contains diacritics and I need to read them and extract the tag's that …

Member Avatar for rubberman
0
443
Member Avatar for umesh_at_dani

The End.