199,114 Archived Topics
Remove Filter ![]() | |
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=='') … | |
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; … | |
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 />[ <a href="{U_MCP}">{L_MCP}</a> ]</p><!-- ELSEIF S_USER_LOGGED_IN --><p>{CURRENT_TIME}</p><!-- ENDIF --> <!-- IF S_DISPLAY_SEARCH or … | |
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 … | |
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!! | |
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 … | |
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 '< \;>') AS 'Image' FROM Thumbnails t INNER JOIN … | |
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 -> … | |
hi all, know PHP basics want to learn php frameworks...can u please guide me... | |
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 … | |
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 … | |
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; … | |
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 … | |
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; … | |
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 … | |
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 … | |
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) … | |
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 … | |
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 … | |
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 … | |
| |
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 … | |
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 … | |
[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' … | |
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 | |
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 | |
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 … | |
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 … | |
![]() | 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 … |
![]() | 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 … |
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**)’: … | |
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. | |
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 … | |
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 … | |
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 … | |
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..... | |
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 … | |
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 | |
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. | |
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 … | |
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: … | |
[LEFT]Looking for a code for editing XML[/LEFT] Thanks | |
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 :) | |
//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 … | |
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 … | |
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 … ![]() | |
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 | |
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 … | |
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 … |
The End.