199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for anita_86

Hi all.I found this code on forum.But dont know how to alter this to show the records datewise.I want to display sales and purchase for given period of time and show the balance quantity by deducting total sales from the total purchase. Here is my code: [php] <?PHP if(isset($_POST['Submit'])) { …

Member Avatar for anita_86
0
128
Member Avatar for R32@

Hello, I'm new in Java and this is my first post here. I was doing my homework but faced the following error: [QUOTE]c:\java\my box\Login.java:25: variable p might not have been initialized if (p == pass) { ^ 1 error[/QUOTE] You can see the main code bellow: [CODE]import java.util.Scanner; public class …

Member Avatar for R32@
0
112
Member Avatar for martin11ph

I have a form that has a ton of work ongoing for around 10secs such as moving controls, resizing them, hiding some, making others visible and more importantly, mouse moving and clicking. I don't want the user to see these ongoing stuff so I thought of making a splash screen. …

Member Avatar for jumba_4u
0
163
Member Avatar for gourav1

i m doing jdbc in sql server. when i have installed it then it is asking for connection. in server column what i need to write ? by default "(local)" is there and when i press connect button, it says "error reporting!!" and some description about that. what is this …

Member Avatar for gourav1
0
113
Member Avatar for m1n1m3

Hi! I have problem that i fail to find solution for and im looking for some help from you as im hopelessly struggling for answers. So i have a HTML table and some cells are filled with id-d div-s. The problem is only the first id-d cell is filled with …

Member Avatar for m1n1m3
0
186
Member Avatar for gurmatchanan

Can any one let me know what script is this? Just want to get the same script or similar one for live video TV website. [url]http://www.baani.net/[/url]

Member Avatar for Cronless
0
174
Member Avatar for nikita.chandra

Hi, I am using php mail for sending an email for contact us form. Given below is the code for contact us form. Please let me know how to send these information in table format. [ICODE] <!-- Document : contactus Created on : Aug 26, 2011, 2:15:27 PM Author : …

Member Avatar for Cronless
0
227
Member Avatar for labise

the admin page goes nowhere before it works very well [CODE] <?php session_start(); if (isset($_SESSION["manager"])) { header("location: index.php"); exit(); } ?> <?php // Parse the log in form if the user has filled it out and pressed "Log In" if (isset($_POST["username"]) && isset($_POST["password"])) { $manager = preg_replace('#[^A-Za-z0-9]#i', '', $_POST["username"]); // …

Member Avatar for labise
0
140
Member Avatar for archelle

Hello people... I got a problem here.. I am using a vb 2005 and mySql as my database. I already created my project but it seems like when i edit my program.. it doesnt apply. What might be the problem? Is the vb.net application, MySql or the OS? Thanks in …

Member Avatar for Pgmer
0
219
Member Avatar for Buffalo101

Hello and Merry Christmas to all! Can anyone explain the correct behavior of a web application: what PHP is used for, what JavaScript is used for? For now, I want to make a simple page with radio buttons, drop down lists and text areas. Some will have data from the …

Member Avatar for diafol
0
247
Member Avatar for mishabi

Can someone give me a pointer on how to solve this scenario: 1) I have an image of a chessboard (8x8) with black and white squares. I need to analyze the image and create a 8x8 matrix corresponding to the chessboard. 2) Store 0 if the corresponding chessboard cell is …

Member Avatar for TrustyTony
0
117
Member Avatar for baladeveloper

Hai friends. How to set grid view header and footer fixed, when scrolling vertically and horizontally ? Please help me... Thanks in Advance .....Balas......

Member Avatar for baladeveloper
0
95
Member Avatar for axim0

Good Evening i hope i will be clear and fully details. i have created a web service project on netbeans using soap technology. i am using xampp mysql to create 5 different simple hotel databases. from my project i am connecting with jdbc connector succesfully only to 1 database. that …

Member Avatar for ~s.o.s~
0
705
Member Avatar for baig772

how string comparison is done in php? i wan to copmpare two strings and result i want is the same letters in both strings? any help plz

Member Avatar for baig772
0
106
Member Avatar for fusionking

I'm creating a C# program that has a sizable textbox that prints out data every 5 seconds. Whatever data that is displayed is (supposed to be) cleared and replaced with new data every 5 seconds. I've created a thread so that the window opens (main thread) and the data is …

Member Avatar for fusionking
0
697
Member Avatar for ThomsonGB

//////////////////////////////////////////////////////////////////////////////////////// // In this little project I am trying to learn to get and manipulate data from // a file input using fstream strings I also wanted to use the formating available // with the printf and related string handling methods. I have a question in regards // to the …

Member Avatar for ThomsonGB
0
267
Member Avatar for rahulroshan

Hi I want to display the data from database, in graphical manner, Can anyone suggest an idea. for eg: Piechart for productivity of a company. Name Productivity rahul 200 ramesh 345 raj 429 Thanks

Member Avatar for Webmastergrace
0
94
Member Avatar for Tigerwatch

guys i think there is a mistake in my code but i dont know where. Can anybody tell me ?? here's my code. [CODE]#include "DarkGDK.h" #include "Inventor.h" void DarkGDK ( void ) { dbSyncOn ( ); dbSyncRate ( 60 ); dbMaximizeWindow (); float fCameraAngleX = 0.0; float fCameraAngleY = 0.0; …

Member Avatar for Tigerwatch
0
127
Member Avatar for jain1.anuj

hello, i have a device with proximity sensor. how can i use it with the help of c#? how can i get the distance of object with the help of the device??

Member Avatar for jain1.anuj
0
171
Member Avatar for zoro20002

what is the error in the bleow: 'Public Event OnFilterAdded()' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event. [CODE]Imports System Imports System.Collections Imports System.Configuration Imports System.Data Imports System.Web Imports System.Web.Security Imports System.Web.UI Imports System.Web.UI.HtmlControls Imports System.Web.UI.WebControls Imports System.Web.UI.WebControls.WebParts Imports Tawammar.CustomControls Partial Class …

Member Avatar for GeekByChoiCe
0
239
Member Avatar for fishsticks1907

I trying to get the hang of link list, but very time a write one i fail miserably... [CODE]struct node { int data; node *next; }; int main() { node *head = new node; head = NULL; node *temp = head; //node 1 temp->data = 1; temp->next = NULL; temp …

Member Avatar for fishsticks1907
0
115
Member Avatar for twek

title is self explanatory how do i convert it to a std::string? all this LP stuff makes my brain hurt...

Member Avatar for easysir
0
3K
Member Avatar for sachinmaster

I have a slight situation in my app in my jsfiddle. What I want to do which I can't achieve is that I want the functionality of the Option Type, Number of Answers and Answer buttons within each row to match the functionality on top. The problem is that under …

Member Avatar for sachinmaster
0
138
Member Avatar for Martin C++

Hello, I want to validate this form and display error right next to the input field. [code=html] <div id="regForm"> <form action="register.php" method="POST" onsubmit="return validate(this);"id=registration" name="registration"><p> Username: <input type="text" name="username" id="username_reg" /><br /> Password: <input type="password" name="password" id="password_reg" /><br /> Repeat password: <input type="password" name="repeatPassword" id="repeat_reg" /><br /> Email: <input type="text" …

Member Avatar for Airshow
0
133
Member Avatar for noorf

Hi everyone :) This is one of my first programs using C, so I am facing some issues. our professer asked us to develop a TCP socket (client/server) where the client sends lets say an ID,Name or Major and the server searches into a txt file and returns the line(s) …

Member Avatar for Trentacle
0
263
Member Avatar for astala27

Hi, I have some problems with the code below. Also below the code I have two pictures one from IE one from Chrome. [CODE] <object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows® Media Player components..." type="application/x-oleobject" width="280" height="256"> <param name="fileName" value="<?php echo $check ?>"> <param name="animationatStart" value="false"> <param name="transparentatStart" value="false"> <param …

Member Avatar for astala27
0
218
Member Avatar for JerryRong

i created a loop and it doesn't run: [CODE] for ( int i = 0; i < 100; i++) { for( int j = 0; j < 100; j++); { int total = i + j; } System.out.println( total ); }[/CODE]

Member Avatar for DavidKroukamp
0
122
Member Avatar for jabeen123

table name:student enroll id name date_of_admission 1 kiran 2008-11-11 how to minus date of admission column in current date in phpmysql? i want year difference and month difference separately

Member Avatar for diafol
0
127
Member Avatar for gourav1

hello! i m doing advance java now. and i m not getting any solid book for reference to read. actually, what i want in book is that it must have sample problem given with each concept! means it should be too explained. please refer a book from which i can …

Member Avatar for Trentacle
0
113
Member Avatar for Natsu

I have a file with bunch of lines and I want add html tag for in every line in file Example: [ICODE] 1. [url]www.google.com[/url] 2. [url]www.facebook.com[/url] .... 107. [url]www.daniweb.com[/url] [/ICODE] and the result I want in the end: [ICODE] <p>1: <a href="www.google.com" target="blank">www.google.com</a></p> [/ICODE] ..so I have 180 lines in …

Member Avatar for TrustyTony
0
171
Member Avatar for Stefano Mtangoo

I want to write a wrapper around MySQL but I will in future extend it to support other databases. I will cover only nasic useful features (commons) but it should be extensible in future with minimal change. I want to write an interface but I cannot get good tutorial to …

Member Avatar for Stefano Mtangoo
0
332
Member Avatar for burcinerek

I write letter, it checks vowel or not but could not achieve for the capital letter without using if loop help me [CODE]#include <cstdlib> #include <iostream> #include "stdio.h" #include "conio.h" #include "string.h" using namespace std; int main(int argc, char *argv[]) { int a,b; char ch; printf("Enter Letter="); scanf("%c",&ch); if (ch==a) …

Member Avatar for rubberman
0
108
Member Avatar for rahul_galgali

Hi,/ I want to start with Java Application for Data Hiding in which image is kept as watermark.I want to start with this app but I have no idea how to start with it..I am vc++ programmer but i m not familiar with java so plz If u could help …

Member Avatar for rahul_galgali
0
181
Member Avatar for serdas

hi, i finally learned how to install mysql and phpmyadmin but now i need to find out the ip adress for the specific datebese i can login IP/phpMyAdmin but i need an ip adress instead of "IP/phpMyAdmin" can you please help me? $dbH = "ip"; $dbU = "user"; $dbP = …

Member Avatar for manojsamtani
0
197
Member Avatar for serdas

hi, i can connect thru ssh or phpMyAdmin but when my website or the application is trying to access to my database i get the below error (part of the error) i googled but i could not really understand how i need to fix this. (i dont know much about …

Member Avatar for manojsamtani
0
228
Member Avatar for natehome

can someone help me make my code more simple. i uploaded the source to my website in a zip file with all the images because i used pygame and if you want to test it you will need the images. you can download everything here [url]http://2nh.co/Tk[/url] or here is the …

Member Avatar for natehome
0
293
Member Avatar for aithabuddy

How to clear the mysql query cache? RESET QUERY CACHE; is not working. Thanks in advance

Member Avatar for manojsamtani
0
79
Member Avatar for yinyue

i have a prob with my code.. [CODE]#include "ml.h" #include "highgui.h" #include "cv.h" #include <iostream.h> //IplImage* img = new IplImage(mat); //IplImage iplimg = mat; and just use &iplimg wherever you need an IplImage. There is no need for dynamic allocation #define TRAIN_SAMPLE_COUNT 150 #define SIGMA 60 void main( int argc, …

Member Avatar for thines01
0
516
Member Avatar for maxxxx

I have this alert box that I would like to add a sound after you click ok. Can this be done to the script I have here? Thanks [CODE] //<![CDATA[ var alertmessage="Well this the last and finale Assignment for the JavaScript Level One Course" //Alert only once per browser session …

0
74
Member Avatar for sania khan

This is not giving right output :((( [CODE]#include<iostream.h> #include<conio.h> using namespace std; int main() { char c[80],d[80]; cout<<"Enter a string = "; cin.get(c,80); strcpy(c,d); strrev(d); cout<<"String = "<<c; cout<<"Reverse word "<<d; getch(); return 0; }[/CODE]

Member Avatar for vijayan121
0
371
Member Avatar for nic3500

Greetings, I am building a new site, HTML, PHP, MYSQL. I am having a discussion with a coworker regarding how I should handle my PHP functions that handle my SQL. In my HTML page I call my PHP function, which accesses my MYSQL. Should my PHP function: - extract the …

Member Avatar for Weliaz
0
507
Member Avatar for BlueClaw

Hello! First of all I want so say that I really like this is forum and hope that you can help. I want to install php on my computer, but for some reason can't. I read that the easiest way to install it all in one go is with wamp, …

Member Avatar for BlueClaw
0
105
Member Avatar for sidra 100

hi m trying to make a registeration form. i have made it and trying to validate it. m new comer so dont have much knowlege so having problems in validating form. i have three files one is registeration form. other is geting value from form and storing it in database …

Member Avatar for Zagal
0
170
Member Avatar for unk45

need some help with an odd magic square assignment please 1)is there a limit my code should have as to the odd integer the user can input? 2)as far as declearing my array i think i need numbers inside those braces right, i just cant put in the user's odd …

Member Avatar for Rabia_Akhlaq
0
304
Member Avatar for jackbauer24

What is wrong with this code? [CODE]import time import sys print """Welcome to the age finder. This program takes some input (they will be the years) and then adds it to 4 ages. For example, if you give the ages 10, 11, 12 and 13 it will return the age …

Member Avatar for Gribouillis
0
338
Member Avatar for programing

hi i was writte program that implement one-d array user enter 10 element without any duplication it is give me all element its already exist [CODE]import java.util.Scanner; public class Duplicates { public static void main(String[] args) { Scanner input = new Scanner(System.in); int[] array = new int[10]; int[] copyarray = …

Member Avatar for stultuske
0
639
Member Avatar for programing

i made code that calculate fibonaci number (n) but how i can determine the largest fibonaci number [CODE] import java .util.Scanner; public class Fibo { public static long fib(int n) { if (n <= 1) return n; else return fib(n-1) + fib(n-2); } public static void main(String[] args) { Scanner …

Member Avatar for stultuske
0
601
Member Avatar for skips

I'm just learning PERL. I'm working on a short practice data set. All I want to do is to see if A) all values from a list exist in a hash i've made from a separate data file, and B) are the values that do exist defined--i.e. have a value …

Member Avatar for skips
0
137
Member Avatar for YASHASHYA

hey expert, I m working on a project where i have to genrate pdf from given data using php give me your expert suggestion.... how its happend......?

Member Avatar for YASHASHYA
0
117
Member Avatar for BilalAKhan

Hi, I am trying to develop a blog and stuck up in managing the blogs. The logic with which I am working is that the user who has logged in should be able to see his or her own blog to manage it of course. Now for this I have …

Member Avatar for BilalAKhan
0
125

The End.