199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for curious_me

Please somebody help me how to get the values of Radio Button arrays. here are my codes [CODE]<?php include("conn.php"); $query = "SELECT * FROM pointsprof, subject WHERE pointsprof.Total >= subject.IM108"; $result = mysql_query($query) or die(mysql_error()); $row = mysql_fetch_array($result) or die(mysql_error()); do {echo '<form action="subjectload.php" method="POST" name="theForm" onsubmit="return validateFormOnSubmit(this)"> <form id="form1" …

Member Avatar for richieking
0
1K
Member Avatar for keanoppy

Hi all, I'm doing sentence scoring. Let say,i have a paragraph with several sentences.Each sentence has a score(type double). Hi,I'm programming java (this sentence score:1.2) It's nice to code (this sentence score:0.3) Not so nice when having problem (this sentence score:0.8) What kind of structure should i use to ease …

Member Avatar for ~s.o.s~
0
92
Member Avatar for enfamos

I am in my second week of java programing and after reading the chapters I seem to be a bit lost this weeks assingment is [I]• Create a non-GUI-based Java application that calculates the payroll for a department in an organization. The application should display text that requests the user …

Member Avatar for enfamos
0
124
Member Avatar for meepokman

Hi guys, I'm trying to link a Micro-controller board to my C++ program to control the relays on it. The vendor provided a test software in VB that involved entering the COM port number (4 in my case) and clicking a button to sync up with it, the full software …

Member Avatar for meepokman
0
287
Member Avatar for MeandJava

Hello everybody, This is my first time on this forum. I started this year with a study, where i learn Java. I'm from the Netherlands, so some names in the classes you may not know. I have a problem with printing out a few arrays of P in the class …

Member Avatar for JamesCherrill
0
442
Member Avatar for NewOrder

what is the function that allows to accept typed input usually i right import java.io.*; but eclipse has got its own function . what is it?

Member Avatar for ~s.o.s~
0
81
Member Avatar for geeta

can anyone tell me whether i can access databases using c++ i want to connect to ms sql in in c++ program. i hve to create tables in MSSQL using data available in c++ program. very urgent thanks geeta

Member Avatar for marekbar218
0
174
Member Avatar for arjen

hello guys i have a question bout my sql. I create a system in vb.net using my sql database but the problem when i create a report using microsoft report viewer it does not detect mysql database whether i create a new connection..what is the problem??..

Member Avatar for arjen
0
157
Member Avatar for juice33

I have been working on this code for a total of 6 days, I have be trying find ways to implement the user to enter an integer 5 times then reverese those number and determine wheter this is a palindrome or not. Also not the my public static boolean isPalindrome …

Member Avatar for JamesCherrill
0
121
Member Avatar for mahe4us

Hi everyone, I have set the email piping to script in cpanel. Also in script i send a acknowledge mail to me to confirm whether the script works or not. But the script works fine and i have received the mail to my inbox. I got one more mail which …

Member Avatar for kerryJames
0
338
Member Avatar for mickeyci

I have no problem connecting to database, and the form is okay i guess. ¿Do anybody see the problem in here? It keeps returning me ERROR! PHP code: [code=php] <?php mysql_connect("$host", "$mysql_user", "$mysql_pass")or die("Error connecting."); mysql_select_db(users)or die("Can't access to database."); if($id) { $sql = 'UPDATE members SET '; $sql .= …

Member Avatar for anojs
0
167
Member Avatar for frank754

I've written a C# app in Visual Studio 2008 C# Windows forms which fetches the text html from a webpage and it works fine in most cases. I needed the multipart/form data, as the main interest is sending text queries back and forth from a test server in Visual Studio. …

Member Avatar for gashtio
0
166
Member Avatar for madawa123

Hi guys, I hv the two coordinates of the map. Top left : 37 44 55.49S 144 52 30.73E bottom right: 37 47 54.43S 144 57 59.54E my map is a rectangle with 500width 800height. I want to get the mouse pointer in terms of lat long in degrees and …

Member Avatar for peter_budo
0
4K
Member Avatar for GDICommander

Hello, everyone! I'm not able to access a WSDL file on a remote machine. I am using DOSGI and I'm creating a service in a OSGI bundle. My container is Apache Felix. DOSGI takes care of exposing a OSGI service as Web services. DOSGI publishes a WSDL at [url]http://localhost:9595/prototype1Service?WSDL[/url] on …

Member Avatar for GDICommander
0
205
Member Avatar for nikc121

I know this is probable a easy one for most of you...But this is my first Javascript. I am trying to write a code that will add two numbers entered by a user and calculate the sum. When I wrote the code inside the HTML it worked fine. But I …

Member Avatar for kracko
0
932
Member Avatar for dschuett

Ok, so I will do my best at explaining this... I have set up a database of our company's Parts Ordered forms. I have created a php form that allows users to inject new POs into the database. Which works successfully. I am working on the search form to allow …

Member Avatar for richieking
0
3K
Member Avatar for sky_B

I have try to run a program of JApplet as JFrame, but it didn't works. Can someone help me?Thanks.[CODE] public class MyApplet extends JApplet{ //have some coding here class display extends JPanel{ //have some coding here } public static void main(String [] arg){ JFrame frame = new JFrame("MyApplet"); MyApplet applet …

Member Avatar for NormR1
0
161
Member Avatar for ozlem.a17

For an ER diagram, I have to: 1. Produce a set of relations. Indicate all primary and foreign keys. 2. For each relation give the minimal basis for all FDs on the relation, and state whether the relation is in 3NF or BCNF and why. I am fine with doing …

Member Avatar for Anonymous01
0
93
Member Avatar for RossCode

Hello, I need some help understanding how to display information from the following array and what this method of storage and array is called. The information held in the database looks like this [CODE]{"option1":"1234","option2":"ABCD"}[/CODE] How do I work with these values? I know how to get the array as a …

Member Avatar for Kieran Y5
0
124
Member Avatar for NewOrder

i have questions abou the algorithm that i have got here: [CODE] public class BTreeEx3 { public static void main(String[] args) { BTree tree=new BTree(); tree.add(5); tree.add(6); tree.add(1); tree.add(19); tree.add(3); tree.add(10); tree.add(2); tree.print(); } } class BTree{ private Node head; // why is the head private? public void add(int info){ …

Member Avatar for JamesCherrill
0
123
Member Avatar for bflack

Given the matrix representing a relation on a finite set, determine whether the relation is reflexive or irreflexive.. Need your help!

Member Avatar for bflack
0
493
Member Avatar for girlinwayside

I am taking an online java programming class this quarter and the book I have just does not do a good job of explaining anything! The more I read it, the more confused I become! Can someone refer me to an article or site that explains creating methods in terms …

Member Avatar for stultuske
0
2K
Member Avatar for SeanBlack0000

//Cursor.h [code=c] #ifndef CURSOR_H #define CURSOR_H #include <stdlib.h> #include <iostream> template <class Object> class Cursor; // Incomplete Declaration template <class Object> class CNode { public: CNode( const Object & theElement = Object( ), CNode * n = NULL ) : element( theElement ), next( n ) { } Object element; …

Member Avatar for SeanBlack0000
0
214
Member Avatar for shivaniaroraji

I was reading a program as follows [CODE]import java.util.StringTokenizer; class Tokentester { public static void main(String[] arguments) { StringTokenizer st1,st2; String quote1="Vdef 3 -1/16"; st1=new StringTokenizer(quote1); System.out.println("Token 1: "+st1.nextToken()); System.out.println("Token 2: "+st1.nextToken()); System.out.println("Token 3: "+st1.nextToken()); String quote2="NGNDFBgh 27/32@3/ewtg@tryh@eretgse"; st2=new StringTokenizer(quote2,"@"); System.out.println("Token 1: "+st2.nextToken()); System.out.println("Token 2: "+st2.nextToken()); System.out.println("Token 3: "+st2.nextToken()); } …

Member Avatar for JamesCherrill
0
151
Member Avatar for rowley4

I am pretty new to programming. I am trying to write a code that counts the occurrence of a word, lists it and also the number of times it appears in a given text. This is what I have, but I can not get it to print the word once …

Member Avatar for babloo 123
0
473
Member Avatar for tsotne1990

Hi guys! Can anyone help me? Im a new to this site and C++ environment. Im running a Microsoft Visual C++ express 2010 and I write a code in 3 separate files. 1 of them is a header file with an extention .h. and 2 of them are .cpp files. …

Member Avatar for chiwawa10
0
81
Member Avatar for abelingaw

SOFTWARE: If i install a Payroll System made from VB6, would this be enough for its requirements..? [COLOR="Red"]SOFTWARE: Windows XP (Any Service Pack) MS Access 2003 or Higher HARDWARE: Hardware Requirements * 200 Mhz Processor * 128 Mb RAM or Higher * 100GB SATA (Serial Advanced Technology Attachment) Hard Drive …

Member Avatar for PoisonedHeart
0
1K
Member Avatar for chan py

i wan to create a table to show my sales report in vb,but we are not allowed to use datagridview what type of form we can use to show our sales report without using datagridview...?

Member Avatar for chan py
0
231
Member Avatar for ivan3510

Hi! Sory for my bad english. I don't know the name of it. Can you write. Thanks. See the picture (attached). Let's say that the name of it is "little window". I want to make on my site that this disappear, and when I something type, I want that this …

Member Avatar for ivan3510
0
97
Member Avatar for Xufyan

In my program I've created two methods , one with integr type and other with float (line # 20 and 29) !! [CODE]class Stack{ int StackArrayI[] = new int[2]; //0,1,2,3,4,5,6,7,8,9 float StackArrayF[] = new float[2]; //0,1,2,3,4,5,6,7,8,9 int tos=-1; public void push(int value){ if (tos==1) System.out.print ("Stack already Full..!\n"); else StackArrayI[++tos] …

Member Avatar for Xufyan
0
114
Member Avatar for chudapati09

[CODE]result = number1 / number2;[/CODE] I am new to C++, but I have some knowledge in Java. What my program does is, the program asks the user two numbers. The user could only select, one, two, or zero. Then the user would select an arithmetic operator: plus, minus, times, divide. …

Member Avatar for Stefano Mtangoo
0
36K
Member Avatar for pburk

VB6Query20071120.doc Hi VB6 I am trying to have 2 ACCESS databases open at the same time in order to populate the 2nd one with data from the first one. The problem is that it appears that I can only have one connection to a database at a time. Is this …

Member Avatar for geethasethu
0
500
Member Avatar for akvlko
Member Avatar for akvlko
0
162
Member Avatar for empyrean

Hi.. i have imported a excel in to datatable which contains 5 columns and some thousand rows. I have to do two level validation. First i have to check whether the column belongs to specific datatype. If so, then i need to check each and every cell in that column …

Member Avatar for anoncodemonkey
0
972
Member Avatar for rahman86

Hi everyone. This is my first post. I have a project to develop an assembler for my studies. The problem is I don't really know how the assembler really works and how can I develop one. It is assembler for mc68000 assembly language. If possible please provide me with a …

0
80
Member Avatar for txmikey

My code generate a Hollow Square with user given width and Height but when the user is prompted to continue or stop it generates a Run-Time Check Failure #2 - Stack around the variable 'ans' was corrupted. Here is my code, any help much appreciated. [code] // SadaMiguel_RectangleFinal.cpp : Defines …

Member Avatar for txmikey
0
208
Member Avatar for burcin erek

wrong reading. wht I want is name and surname=burcin erek number=783389 but output name and surname=burcin number=erek it is so funny but no solution. #include <cstdlib> #include <iostream> #include <fstream> #include <conio.h> #include <string> using namespace std; void file_read() { string name1; string numb1; ifstream f("file1.txt"); f>>name1>>numb1; cout << "name …

Member Avatar for burcin erek
0
122
Member Avatar for 1989sam

I'm trying to put a 2 dimensional array in a queue... How could I do that? #include<iostream> #include<queue> using namespace std; struct state { int puzzle[2][2]; }; int main() { state p; p.puzzle[0][0]=1; p.puzzle[0][1]=2; p.puzzle[0][2]=3; p.puzzle[1][0]=8; p.puzzle[1][1]=0; p.puzzle[1][2]=4; p.puzzle[2][0]=7; p.puzzle[2][1]=6; p.puzzle[2][2]=5; queue<int> Queue; Queue[front] = p; while(!Queue.empty()) { cout<<" "<<Queue.front()<<endl; …

Member Avatar for mrnutty
0
5K
Member Avatar for pbcomput

Hi all, I m newbie in .htaccess i am using .htaccess to make url SEO friendly. I can access admin in localhost of my pc. but when i put all this files to my server i can't access admin. it shows me white blank page. without any message or error. …

Member Avatar for pbcomput
0
39K
Member Avatar for destruct0

Hi !!! I have one problem! I use StreamWriter to send (object) stream to server (not string). But how to read this object with StreamReader ??? The server who send stream (object): [CODE]private void SomeMethod(SqlDataReader reader) { string column = "ColumnName"; object stream = ReadFromDB(reader, column); SendStream(stream); } public object …

Member Avatar for destruct0
0
2K
Member Avatar for cogitoergosum18

hi there, i need to create a function that reads a series of numbers from a file and returns to the main function the mean of those numbers. I am having trouble with the syntax of array parameters and arguments (i don't know how to call the function if it …

Member Avatar for mrnutty
0
300
Member Avatar for jatt09

hi i really need help, i m trying to write a program that displays in a textbox a talbe of the binary, octal, and hexadecimal equivalents of the decimal numbers in range 1-222. Plz help i m new to vb....Thks you

Member Avatar for jatt09
0
188
Member Avatar for epicbeast9022

Hi everyone, I'm trying to program a game in C++ using SDL and i want to get peoples names. its not working though, and I'm really confused as to [B]why[/B]. :?: i'm using code like the following: [B]StringInput.h[/B] [CODE] class StringInput { private: std::string str; SDL_Surface *text; int x,y,r,g,b; SDL_Color …

Member Avatar for Stefano Mtangoo
0
575
Member Avatar for arctushar

Hi I have table consist of [B]ID,name,father & mother[/B]. Id is uniq. Now I want that when anyone enter id, it will give [B]name,father and mother[/B]. what is the easy and small way or script. please help me me

Member Avatar for jsmall26
0
97
Member Avatar for unnamed17

<?php $con = mysql_connect("localhost","peter","abc123"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("my_db", $con); $sql="INSERT INTO Persons (FirstName, LastName, Age) VALUES ('$_POST[firstname]','$_POST[lastname]','$_POST[age]')"; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "1 record added"; mysql_close($con) ?> This is my code in php..i want it in C..any help? what …

Member Avatar for N1GHTS
0
146
Member Avatar for slixtrix

[CODE]import java.util.Scanner; import java.io.*; public class infixtopostfix { String fname; String output = ""; public infixtopostfix(){ System.out.println("starting infixtopostfix() method..."); getFileName(); readFileContents(); } public int priority(Object x){ if(x.equals('+') || x.equals('-')){ return 1; }else if(x.equals('*') || x.equals('/')){ return 2; }else{ return 0; } } public void getFileName() { Scanner in = new …

Member Avatar for slixtrix
0
147
Member Avatar for jems5

Since starting this course and seeking to join this forum, I have learned a lot and want to thank everyone for their assistance on my own forum questions as well as those I have read during research in this forum. Having said that I have another array question. I now …

Member Avatar for jems5
0
135
Member Avatar for justme_nick

I need to make a program to illustrate the Random Class and loop sentinels. So far, I can ask for the input of the number. After that, there are countless logical issues that are coming up. Can anyone help me sort this out? [CODE]import java.util.Scanner; import java.util.Random; public class HiLo …

Member Avatar for coil
0
108
Member Avatar for sinZ

I'm trying to have my code display all pictures for a specific ID, this is the current code that is only showing a single picture to be displayed, how can I get it to display the others as well? thanks [CODE]<?php $id=$_REQUEST['id']; $result=mysql_query("SELECT * FROM gallery_work_thumbnail WHERE id=$id"); while($row=mysql_fetch_array($result)) { …

Member Avatar for Lsmjudoka
0
101
Member Avatar for usagi

Hi everyone at daniweb! First off I want to say thanks for starting this awesome homepage, though googleing ive found many clues and answers in here for my projects, things that were left undocumented or just poorly explained by those books that ive used. But now, onto the issue! What …

Member Avatar for usagi
0
203

The End.