199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jsa005

Hello! On my website I'm looking to create a dynamic HTML table from the contents of a MySQL database. I have no idea how many rows there will be, and I need it to look a bit like an iPhone home screen. Here is some code: v1: // Make a …

Member Avatar for diafol
0
1K
Member Avatar for jakubee

Hello everyone, This is my first post in here :) Need a help with v. simple exercise. I need to ask user to input 10 objects of type Product (String name, Double price). I manage to done this. What i need to do now is to validate this inputs! I …

Member Avatar for DavidKroukamp
0
5K
Member Avatar for TIM_M_91

Hi guys I have successfully set up my database which through my GUI I am able to create my tables that i wish and insert data into the table. My problem is through that I can only insert one row of data into a table so what would I need …

Member Avatar for richieking
0
104
Member Avatar for abdullahmusani

Hi, How can i call a stored procedure for fetching records & use records fetch by procedure in crystal report. can anybody help me. Awating for Reply. Thanks for favour.

Member Avatar for thines01
0
168
Member Avatar for Contagious98

Can someone point me here any tutorials or ideas how can I start an event log in my Program? Vb.net am using msaccess as Database. Detailed info: Writes or records who was the last account that logged in the system.

Member Avatar for thines01
0
154
Member Avatar for jdh1231

I have a problem to solve, and I came so close with algorithm, but I am having hard time organizing them so they work. I will post the question and the codes I have. Can someone help me organizing them? The program is expected to read input information from a …

Member Avatar for thines01
0
170
Member Avatar for birdlover2010

Hello, I am doing a simple calculator program. I have a combo box and assigned numerical values to a string variable under each case number using the same variable name. My problem is I don't know how to assign that value. When I use the current code, it pulls the …

Member Avatar for codeorder
0
929
Member Avatar for simplypixie

I have finally got around to utilising jQuery form validation on a new site I am doing the coding for and even though everything is working exactly as it should I need to move one of the error messages to display below rather than to the right as the other …

Member Avatar for Airshow
0
221
Member Avatar for Ahmed2

Hi there I've got a problem with functions, where it seems that function call return zero instead of the actual variable value, I will appreciate any help from you guys. I will post the major code parts because the program is big. I get the totallength variable value right but …

Member Avatar for Ahmed2
0
239
Member Avatar for engineerchica

Hey everyone, I am working on a function that reads a text file (portion below) of data points arranged in two columns and stores the numbers only in an array of signal[2500][2]. The problem is, I need to do some search and replace on [I]some[/I] of the data points. Some …

Member Avatar for WaltP
0
229
Member Avatar for gowans07

Hey, totally new to Java. How would i go about compiling .class or .jad files into .jar? What software do i require too? Thanks in advance

Member Avatar for DavidKroukamp
0
99
Member Avatar for tqmd1

Dear Sir, Please see attachemt and help me to solveout iframe problem. Problem detail is in attachment. Thanks

Member Avatar for AleMonteiro
0
107
Member Avatar for Sanna.1

hello how do you get three strings in to a boolean. Number 1 is greater than the number 2, which in turn is greater than third Number 1 is greater than one of the numbers 2 and 3, but not greater than both Number 1 is greater than at least …

Member Avatar for Ezzaral
0
125
Member Avatar for coderando

Hello, I keep getting no matter what I do the same error from file index.php [B]Parse error[/B]: parse error, unexpected T_STRING in [B]/home/httpd/vhosts/carpediemmexico.com/httpdocs/index.php[/B] on line [B]12[/B] This is my error file, I am sure your eyes will find the solution. Thanks... You are the best :) [code=php]<?PHPinclude('carpediemlib.php');If(!Isset($_GET['Xlenguaje'])){$Xlenguaje="en";}Else{$Xlenguaje=$_GET['Xlenguaje'];}?> <html> <head> <meta …

Member Avatar for thriftgirl62
0
266
Member Avatar for yongj

As some of you may know already, I've been trying to re-teach myself through the data structures component of C++. I'm currently in the chapter of 'Pointers' and eventually want to make my way through finish learning hash-tables/trees/sort algorithms. Could someone give me a sort of "First learn this, then …

Member Avatar for Kanoisa
0
121
Member Avatar for KazenoZ

Hello guys, Well, here's a simple one for you, which I just could not find the answer to due to lack of finding a good way to put it in words for Google. I'm pretty much a newcomer to Java, first project I used Java for, actually, and it was …

Member Avatar for Zhoot
0
247
Member Avatar for facarroll

I was browsing a MySql database using phpMyAdmin and I have probably inadverdently changed a setting. I have a field which contains quite large text entries. Before this problem arose the display showed just a few words of the text entry followed by a "...". Now the display shows the …

Member Avatar for simplypixie
0
130
Member Avatar for -==Zero==-

Hello I Need Something In My Text Area Field When Someone Click On {{ Enter }} It Put A Break Line Between Rows Like Any Editors i Was Using Ckeditor But All I Need Is Break-line Between Rows Example When I Write I Love Daniweb I Respect Daniweb Members I …

Member Avatar for diafol
0
116
Member Avatar for cigoL..:)

Hi, I'm currently working on a school project ..i was wondering if someone can help, i'm creating a system which get's data from a database and creates a CSV file ..i Google a lot none of it helps, i want to get several rows from a table and write it …

Member Avatar for cigoL..:)
0
673
Member Avatar for r3su3l0

GOOD DAY. Is there any application that would convert my MS Access database to MySQL? It takes time for me to reconstruct my tables in Access to MySQL. If there is/are application that would make my work easier, please let me know. Thanks

Member Avatar for ali_atif014
0
215
Member Avatar for DaveyMoyes

Hi Everyone, I have been trying to understand mysql a little further - with some small steps in the right direction. but I have come across a problem I am unable to fix / get working. I have a form, that has a variable $country - I am trying to …

Member Avatar for DaveyMoyes
0
266
Member Avatar for Ahmed2

Hi there I'm trying to ofstream (output) data to an excel file (csv), and I keep getting this error "file was not declared in this scope". Can you guys help me on this? where is the error? This is the output function, [CODE]void FileOutput() { int t; static float totallength=0; …

Member Avatar for Ahmed2
0
423
Member Avatar for klemme

Hi all, I came to think of something in my code, which might cause a problem, but I am not sure. After a user of the site has succesfully put a product in the shopping cart - I set a session['cart_succes'] = 'something'; - to display to the customer (after …

Member Avatar for klemme
0
220
Member Avatar for Syrne

Hello all, I've been fooling around with some code trying to teach myself somewhat about Linked Lists. I wrote this quick program that creates a random number in each node of a list and asks the user to guess the number. I have a quit choice that, when executed alone …

Member Avatar for DavidKroukamp
0
219
Member Avatar for rzufelt

Hi All, If i copy/paste line for line the below code into IDLE (v2.5 or v2.6) it works perfectly and sends me the email message. [CODE]import smtplib fromadd = "arcazy@foo.com" toadd = "meufelt@wfoo.com" msg = "Insert message body here" server = smtplib.SMTP('exchange01.foo.com') server.sendmail(fromadd, toadd, msg) server.quit()[/CODE] However, If I try …

Member Avatar for Gribouillis
0
214
Member Avatar for fawadkhalil

Hi Its in fact easy to handle special characters like "%" in query, with just a bit of research one can found solution for this. Today when i checked events for my server i found that one error message and that was because a user searched for " l'atelier " …

Member Avatar for adam_k
0
145
Member Avatar for swissknife007

Given an array A of length N, my task is to find the element which repeats in A maximum number of times as well as the corresponding count. In case of ties,I choose the smaller element first. Input First line of input contains an integer T, denoting the number of …

Member Avatar for VernonDozier
0
891
Member Avatar for infantheartlyje

Hi folks, I did a program to find a number at a lower bound position and upper bound position. For example, this is my array values 1 1 2 3 5 5 5 5 7 8 9 10 if i search lower position for 5 , it will return 4 …

Member Avatar for histrungalot
0
4K
Member Avatar for TIM_M_91

Hi there well title says it all really. Is it possible instead of creating tables within my database to create the tables within a form in java? . If it is possible how would I go about doing this?. Before you ask yes my database is fully connected to my …

Member Avatar for TIM_M_91
0
165
Member Avatar for Sundown G

I post this thread in shell scripting too I want to search the user input in file (by lines) but not all then with this line search on another file ( with the specific line) and show to the user. Example: file1.txt ======= a aa aaa aab aac file2.txt (corresponding …

0
87
Member Avatar for Panathinaikos22

Hello, i have made this question again, but is something i really want to learn :/ and never i get an complet answer I know enought good C#/Java Windows programming, i also know C/C++ Console programming but i think is time to learn/play with C/C++ Windows Appis ... How i …

Member Avatar for jbennet
0
352
Member Avatar for harishpenumudi

[CODE]import java.awt.Component; import java.awt.Container; import java.awt.Dimension; import java.awt.Font; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.PrintStream; import java.net.Socket; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JPasswordField; import javax.swing.JTextField; import javax.swing.UIManager; public class PeerLogin extends JFrame { private JLabel …

Member Avatar for Ezzaral
0
177
Member Avatar for subrata_ushasi

Hi all , I am trying to develope an autocad like application in C++ using code::block 10.05 and directx but code::block 10.05 is not supporting graphics . Any one can suggest ? Thanks in advance

Member Avatar for jbennet
0
263
Member Avatar for Aser Gado

I have all passwords stored in my database in md5 form. when people log in it always says Email or Password wrong, well thats the error i added when something's wrong, I am pretty sure the email and password are right. here is my login code: [CODE] $emailin=$_POST['emailin']; $passwordin= md5($_POST['passwordin']); …

Member Avatar for diafol
0
143
Member Avatar for razes_0230

Please help me to create an output like this Enter a number: 1 Number you entered : 1 Enter a number: 2 Number you entered: 1 2 3 Enter a number: 3 Number you entered: 1 2 3 sample program please?

Member Avatar for Lerner
0
346
Member Avatar for LdaXy

i'm extremely new to java, so i'm probably making a mistake somewhere. anywyas, my program works, however whn the user repeats the data entry, it does not get replaced with new data. [CODE]package convhms; /*HOW THIS WORKS: * * the main function captures the user input as a float * …

Member Avatar for JamesCherrill
0
139
Member Avatar for floatingshed

I cannot understand why this doesn't do as I expect... [CODE] if (os.path.exists(ofile)): os.unlink(ofile) print "it existed, but I've deleted it!" print "It didn't exist so I'm creating it" ---Here we have a subprocess command--- [/CODE] The print statements print as you'd expect but the command only runs if "ofile" …

Member Avatar for snippsat
0
163
Member Avatar for mhd_arif123

I dont have any code to show you here . i would like to know that how a java application enabled to read information from an electronic id card (via a device which reads it)or to read information from a barcoded id card. Please show me a way to do …

Member Avatar for mhd_arif123
0
148
Member Avatar for chaoz014

So this is my second project in C++, but I'm having some trouble understanding Recursive functions. We are supposed to write a program that has a recursive function. And the program should ask the user for a number. And then display the number of even digits that the number had. …

Member Avatar for Fortran IV
0
456
Member Avatar for QuaminaIT

[CODE] if ($_POST) { echo "You chose ", $_POST; } else { $families = array ("Peter Griffin","Lois Griffin","Chris Griffin","Meg Griffin","Stewie Griffin") ; echo '<form name="families" method="post" action="index.php"><select name="family">'; foreach ($families as $family) { echo '<option value="' . $family . '">' . $family . '</option>'; } echo '<input type="submit">' ; echo …

Member Avatar for QuaminaIT
0
125
Member Avatar for javaprog200

Hello, The following program has three JPanels - one to hold the image, one for the JComboBox and the last one for holding the JLabel, JTextArea and JButton. Once a selection is made in the JComboBox, the user will enter text in the textarea and press the button. The button …

Member Avatar for javaprog200
0
248
Member Avatar for xuweisen

Hi, I have stuck on text animation for web design.. [url]www.byouinternational.com[/url] I want the text on the main page (enter site) can animate when I hover to the text, the animation is like the entersite text slide to the right, and then dissapear, and then appear from left side, back …

Member Avatar for xuweisen
0
104
Member Avatar for suavedesign

I am a web designer, with no experience in programming. I want to learn how to program a submit form, since that something that many clients want on thier websites. Can someone please give me a link to an easy to understand tutorial on how to do this? Thanks!

Member Avatar for reganstar
0
89
Member Avatar for Stickie

So I've got this piece of code: [CODE=php] /* BEGIN ZENDINGEN */ $zendingheader = mysql_query("SELECT z.ID, z.Bestemming, z.Datum, m.Aantal_Duiven, s.Aantal_Manden FROM Shipments AS s JOIN Zendingen AS z ON s.Zending_ID = z.ID JOIN Manden AS m ON s.Mand_ID = m.ID WHERE z.Actief = 1 order by s.Aantal_Manden, m.Aantal_Duiven ASC LIMIT …

Member Avatar for Stickie
0
94
Member Avatar for oiwah
Member Avatar for TrustyTony
0
190
Member Avatar for kalcio

hello, I need help for my code, I created an interface that contains a button and a JProgressBar with the netbeans interface, but I do not know how to change the color of the JProgressBar, I tried the method setBackground (Color.color), click right on the JProgressBar proprties Does not change …

Member Avatar for kalcio
0
2K
Member Avatar for nova37
Member Avatar for pritaeas
0
94
Member Avatar for connoisseur2010

Hey guys, I wish to do a project in Java Language but dont know what to do. I need ideas. Help!

Member Avatar for stultuske
0
93
Member Avatar for zachattack05

Quick question. A few of the commercial/closed source applications I use contain an external exception handler or crash catcher and I am wondering if anyone has ever implemented something like this and would be willing to discuss the use of such a method of exception handling? Basically the way it …

Member Avatar for Philippe.Lahaie
0
247
Member Avatar for kiddo39

Hi, I'm trying to run code that asks a yes or no question. If a yes or no isn't entered, then the question will continue to re-ask say every 3 seconds until a yes or no is entered. Here's the basics of it: [code] while True: response = raw_input(" Are …

Member Avatar for jeugtsy
0
669

The End.