199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for manzoor.ilahi77

Please help on the multiple textbox as date in mysql [CODE] <input type="text" name="date" class="f_input input1" style="width:32px;" value="D" maxlength="1" onBlur="if(this.value=='') this.value='D'" onFocus="if(this.value =='D' ) this.value=''" > <input type="text" name="date" class="f_input input1" style="width:32px;" maxlength="1" value="D" onBlur="if(this.value=='') this.value='D'" onFocus="if(this.value =='D' ) this.value=''" > <input type="text" name="date" class="f_input input1" style="width:32px;" maxlength="1" value="M" onBlur="if(this.value=='') …

Member Avatar for urtrivedi
0
459
Member Avatar for newcoder310

Hi I'm trying to connect using oracle10g with eclipse but its not able to locate the driver at all . [CODE] <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" import="java.sql.*" %> <% String uname="system"; String pwd="*****"; String url = "jdbc:oracle:thin:@localhost:1521:XE"; Connection con = null; Statement stmt = null; ResultSet rst = null; …

Member Avatar for peter_budo
0
132
Member Avatar for elibyy

hey there i've opened the source code of PHPbb and i saw something real wired [CODE=php]<!-- INCLUDE overall_header.html --> <p class="{S_CONTENT_FLOW_END}<!-- IF S_USER_LOGGED_IN --> rightside<!-- ENDIF -->"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></p> <!-- IF U_MCP --><p>{CURRENT_TIME} <br />[&nbsp;<a href="{U_MCP}">{L_MCP}</a>&nbsp;]</p><!-- ELSEIF S_USER_LOGGED_IN --><p>{CURRENT_TIME}</p><!-- ENDIF --> <!-- IF S_DISPLAY_SEARCH or …

Member Avatar for elibyy
0
253
Member Avatar for bhagawatshinde

Hi, I am new in ASP.net. i have create a webform which contains 2 fields textbox1 and textbox2 and two button new and save. i have included the requirefied validator on textbox1. now when i am clicking on new button it will display message i.e enter id. but on new …

Member Avatar for bhagawatshinde
0
126
Member Avatar for malcsapi

Hey Im new with this website. I need to find a good web project for my thesis... can you please help? Obviously i dont need a very advanced level because i m new with this street. Thanks for your help!!

Member Avatar for malcsapi
0
107
Member Avatar for ben1996123

Hi, this is my first attempt at actually making a game that is actually playable, instead of something boring that is just the same thing over and over. The problem that I am having is that when the function startGame(); is called, the program closes. There are no errors, because …

Member Avatar for WaltP
0
236
Member Avatar for cobberas

Hi folks I have several JPEG thumbnail images in a database and need to select particular ones, stitch them together and post them into single cell in the table on a website. I've created the following query: [CODE]SELECT s.Set_Code, t.Mimetype, GROUP_CONCAT(t.Image SEPARATOR '<&nbsp\;>') AS 'Image' FROM Thumbnails t INNER JOIN …

Member Avatar for cobberas
0
1,000
Member Avatar for klemme

Hi all, I have this mail which works fine: But how can I pass the html tags, as html tags so it shows bold in my inbox? As it is now, i recieve the tags as normal letters.. This is what I have: [CODE] if(empty($error_msg)) { // If validated -> …

Member Avatar for leakbali
0
147
Member Avatar for Madhuphp

hi all, know PHP basics want to learn php frameworks...can u please guide me...

Member Avatar for vaultdweller123
0
136
Member Avatar for chaychie

Hi guys, I have the following code which works well. The code is to display all the data from the database in input text field format. User is able to edit and update the details by clicking the update button at the end of each row to update the specific …

Member Avatar for vaultdweller123
0
122
Member Avatar for LevyDee

I haven't really found anything on the topic other than its bad to cast, but I would assume there is a "proper" way to accomplish this. To illustrate: Class B and Class C both inherit from Class A. I have a function MyFunction(A obj); In MyFunction() I would check if …

Member Avatar for LevyDee
0
120
Member Avatar for fsefsef23

I have a homework question that instantiates 4 node pointers, *p, *q, *r, *t, and the first three have a number, 1, 2, and 3 respectively. I have to draw out (using 'blocks' and arrows) what the memory would look like when these lines of code occur: p->next = q; …

Member Avatar for LevyDee
0
179
Member Avatar for thecoolman5

Hi, I am using DEV-C++ and i am wondering how to declare variables in a windows project. I am trying to make a calculator and i need it to declare a variable a certain number when you press a button. I also need it to declare a char after you …

Member Avatar for thecoolman5
0
183
Member Avatar for nora-s

hi : ) I wrote this code for count a specific word selected by user in an array but it have a logic error .. and also is there another way to write it without using pointer ? [ICODE] #include<iostream> using namespace std; int j,i=0; const int size=500; char array1[size],search[100],*cnt; …

Member Avatar for NathanOliver
0
232
Member Avatar for mithunp

The conditions for the question 1. you dont have any head ptr 2. you cant traverse as you dont have head ptr 3. its a singly link list 4. each node is dynamically allocated You only have a pointer to the node which you have to delete, and that is …

Member Avatar for WaltP
0
309
Member Avatar for sahil1991

hello frndz, i was doing this program and then i encountered this strange problem... it is a program in which i want to open two text files and then compare it.. It is giving me two errors: 1)variable f1 might not be initialised. 2)variable f2 might not be initialised. and …

Member Avatar for NormR1
0
138
Member Avatar for rEhSi_123

Guys I have a created a test windows form to try few of the HAP functionalities..... I have the following code as shown below: The function below deals with HTML Parsing whereby removing unwanted HTML metadata. [CODE] Function SanitizeHtml(ByVal html As String) As String Dim doc As New HtmlDocument() doc.LoadHtml(html) …

Member Avatar for rEhSi_123
0
897
Member Avatar for toneranger

Hi, I have a csv datafile with stock price data that I've read into a vector of structures that looks like this: 09/11/2009 9.30 open, high, low, close, volume 09/11/2009 9.31 o, h, l, c, volume and so on to 09/11/2009 16.14 o, h, l, c, volume //next day starts …

Member Avatar for Ancient Dragon
0
242
Member Avatar for mhirschb

Hi all, I am currently extending a large C project with an own extension and I am stuck in a pointer/array/struct problem: The project offers a struct of this structure [CODE]struct ip_addr{ unsigned int af; /* address family: AF_INET6 or AF_INET */ unsigned int len; /* address len, 16 or …

Member Avatar for nezachem
0
183
Member Avatar for aiwasen

I'm having a problem on try again program.I checked the syntax and yet is still not working.am trying to make a program that will output the student's grade and when the program is finished it will ask whether to try again or not.If the input is y or Y, the …

Member Avatar for WaltP
0
3K
Member Avatar for DJSAN10
Member Avatar for Muhammadlodhi

Hi I am making a banking system in c++ but getting a problem I am not sharp in programmin if you can help then thanks [CODE]//*************************************************************** // HEADER FILE USED IN PROJECT //**************************************************************** #include<iostream> #include<conio.h> #include<stdio.h> #include<process.h> #include<fstream> #include<ctype.h> //*************************************************************** // CLASS USED IN PROJECT //**************************************************************** using namespace std; class …

Member Avatar for Salem
0
970
Member Avatar for vishal1949

I am trying to make a program in which the user is prompted to input a number(max length of 4 digits), and then the program shall produce the number of outcomes of a two dice roll meaning that 1 roll includes two die. The outcomes could be 2-12 and I …

Member Avatar for ddanbe
0
1K
Member Avatar for the_kitoper

[CODE] #include <time.h> time_t whatTime(const char* month, const char* day, const char* year) { time_t rawTime; time(&rawTime); struct tm* convTime = localtime(&rawTime); std::cout << "Today is: " << ((convTime->tm_mon)+1) << "/" << convTime->tm_mday << "/" << convTime->tm_year << std::endl; } [/CODE] When using this code I get the output '7/27/111' …

Member Avatar for pseudorandom21
0
179
Member Avatar for liran

Hello I need to rename a folder within / inside a ZIP file, preferably without extract it and compress it off-course. How can I do this (only with free help stuff if needed) ? Thanks

Member Avatar for liran
0
163
Member Avatar for tiredoy

These days ,I am learning inheritance and dynamic binding. I could figure out what the code means. However, I can't see much point in setting such base classes So,I want to know why should we set up base classes and derived classes

Member Avatar for mike_2000_17
0
233
Member Avatar for thesimplestnick

So I was trying to add elements into my list. But for some reason the words inside the list are very very small.... is there anyway to increase the font? I tried setFont, doesn't work. :( [CODE] import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; import javax.swing.event.DocumentListener; public class sub …

Member Avatar for JamesCherrill
0
164
Member Avatar for c#dummie

hi, can anyone tell me what's wrong with my code or show me a working code to add in to my program so that i can study and understand how the code actually works.. after i type in textbox, i want to be able to hit "enter" key instead of …

Member Avatar for nmaillet
0
139
Member Avatar for megachip04

I have a form in account.php that is prefilled with the user's current info but can be changed and then when you submit, it updates the database. However, when returned to the page after the update, the prefilled text is not updated. It only updates if you re-log in. At …

Member Avatar for ddymacek
0
8K
Member Avatar for Raim

Basically, I made a small calculator. It does the PEMDAS and factorials. Part of my code is here:[ICODE]#include "stdafx.h" #include "iostream" #include "stdio.h" #include "math.h" using namespace std; short MENU (void); void raiz (void); void suma (void); etc..... [/ICODE] [CODE]int main () { short OPC; OPC=MENU (); do { switch …

Member Avatar for mrnutty
0
119
Member Avatar for ogopa100

Hi, I am trying to change this program to compile in g++ compiler in terminal in linux. I have reached a point where I am stuck. I would really appreciate some help. I am getting the following errors: test@linux:~/signalgenerator> g++ -o audio audio_backup.cpp -lasound audio_backup.cpp: In function ‘int main(int, char**)’: …

Member Avatar for Salem
0
269
Member Avatar for yousafc#

I have a Textbox named txtage.text.Now I want When Insert in txtage.text as 30/12/1980. disable tabindex.and messagebox show "You can not give admission".If Insert in txtage.text as 30/12/2005. Enable Tab index .its mean student 's age must be 6 year not greater nor less.

Member Avatar for yousafc#
0
190
Member Avatar for androidz

hello!! i want to learn how to make games like web browser games..for example like evony or other online games..what do i need to learn?..please give me some guide so that i can study with it and practice. what is the first step should i take? i have backgrounds in …

Member Avatar for androidz
0
125
Member Avatar for tiverton

I have run into a unsolvable runtime error, I always get the message invalid floating point error, with the following C++ program. This program reads floats from a file(float.txt) 1.56 .98 5.78 Then sorts to put the largest float on top. But when I try to read this I get …

Member Avatar for tiverton
0
206
Member Avatar for riseguim

Ok so I want people to fill in a form and when they press submit it gets sent to my email address... Everything is working fine I just need to know how to make the checkbox appear in my email, the free script I used didn't have any checkbox and …

Member Avatar for riseguim
0
206
Member Avatar for rksh

hello friends... i have done it using FileUpload1.PostedFile.FileName .... but the problem is everything is working fine in IE ....but not in mozilla...safari.... actually i want to get the full path of the selected file...not the file name only.......... thank you.....

Member Avatar for Shilpakmthn
0
226
Member Avatar for riseguim

Ok so here's the deal... I have mostly French-speaking customers and they'll type-in their name with accents (such as é, à, è, etc.) in the following script [CODE]$string_exp = "/^[A-Za-z .'-]+$/"; if(!preg_match($string_exp,$prenom)) { $error_message .= 'Invalid name<br />';[/CODE] It will say "invalid name". I know that to fix this I …

Member Avatar for riseguim
0
151
Member Avatar for bharanidharanit

Hello, How to get the full path from fileupload control browsing the path to it? I want to get as this. c:\Images\mine.jpg

Member Avatar for Shilpakmthn
0
205
Member Avatar for cocoll

hello please i nead help with response.redirect to an absolute path,i tried everything i can but with no result so for example: Response.Redirect("file:\\C:\Users\Toshiba\Desktop\4.jpg") so ctrl and click in "file:\\C:\Users\Toshiba\Desktop\4.jpg" it display the image in visuel studio but it doesn't work in the browser. so thank you for help.

Member Avatar for Shilpakmthn
0
2K
Member Avatar for aot

I'm frustrated by the nature of time.sleep(), which prevents the script from doing anything else during the allotted time period. For example, I have: [CODE]while True: checkSomething() time.sleep(0.1) print 'hello'[/CODE] In this case, "hello" is never printed. I really want to check something every few milliseconds, but I also need …

Member Avatar for txfoo
0
1K
Member Avatar for king03

Good day friends, so we have a homework about areas of a circle, rectangle, and cylinder. Now I know how to code this entire program in c++, but in c sharp, not that much because I am only starting to learn c sharp this term. Anyway here is my question: …

Member Avatar for ddanbe
0
162
Member Avatar for michael!
Member Avatar for metalix

View the full tutorial at [URL="http://www.effectivewebdesign.co.nz/tutorial.php"]http://www.effectivewebdesign.co.nz/tutorial.php[/URL] I have tested this many times and it works fine. Please don't complain unless you really can't get it working, Just PM me and I'll fill in the blanks Happy Coding :)

Member Avatar for Rogueit
0
885
Member Avatar for danieldane

//include files #include<stdio.h> #include<conio.h> #include<stdlib.h> #include"c:/includes.h" //stores the structures of master and index file #include"c:/function.cpp" //stores all the functions for the file primitive /* The main function input: none output:none calleed by: OS. calls: ADD_RECORD,DELETE_RECORD,MODIFY_RECORD,SEARCH_RECORD,DISPLAY_RECORD */ void main(void) { int choice; int status; int roll_no; char ch; clrscr(); printf("Enter the …

Member Avatar for danieldane
0
181
Member Avatar for Rogueit

I found this code [url]http://www.daniweb.com/web-development/php/code/301902[/url] but when I run it I get several \n followed by Count item Name max(ts) then several a href="/testing.php?sort=max(ts)>"2011-07-08 00:00:00 can you tell me what I am doing wrong? [CODE]<?PHP //connect info $hostname = "localhost"; $database = "db"; $username = "user"; $password = "password"; $conn …

Member Avatar for Rogueit
0
168
Member Avatar for Slotes

Hi im fairly new to developing (started making some basic small programs yesterday) and today I was working on a program which is essentially a updater/update checker and what the program does is it checks the version of the checker and compares it to the current version.txt and if they …

Member Avatar for Huntondoom
0
2K
Member Avatar for webguru07

is there a way that i can check to see if a mysql table exists and if not add the table to the database with a session_id as a table name

Member Avatar for Vonzarovitzch
0
3K
Member Avatar for harrisonbs1
Member Avatar for ericwalter

i) Create a class called Complex for performing arithmetic with complex numbers. ii) Write a driver program to test your class. Complex numbers have the form realPart+imaginaryPart *i Where i is: √-1 Use floating point variables to represent the private data of the class. Provide a constructor method that enables …

Member Avatar for peter_budo
0
6K
Member Avatar for chellemits

Hello guys. I'm doing a project now. I'm having a problem on getting specific file type from my computer using the .getfiles function. Here's my codes. [CODE]Private Sub dlgOpen_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles dlgOpen.FileOk Dim filepath as String = "C:\" dlgOpen.CheckFileExists = True txtOpen.Text = dlgOpen.FileName …

Member Avatar for Mitja Bonca
0
393

The End.