199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nlanka

[code]<html> <body> Enter your firstname <input type="text" fname="submit"> Enter your lastname <input type="text" lname="submit"> <html> <head> <script type="text/javascript"> if(submit(lname==null)) { alert(" be careful"); } </script> </head> <input type="submit" onclick="submit()" value="Submit" style="color:white; background-color:red;"> [/code] i need help with writing if loop for submit button an alert message that show we forgot …

Member Avatar for Taywin
0
104
Member Avatar for laghaterohan

Hello, I have many controls on my form ( textboxes, radiobuttons, dropdownlist, checkboxes inside gridview) i want to clear them all once the form is submitted. Please any one tell me how to do it? I am looking for somegeneric method which will help me to solve it... Awating response. …

Member Avatar for dnanetwork
0
259
Member Avatar for Krefie

Ola! This is my first post so i hope its not a stupid one ^_^ ok, I have large quantities text i want to read into my jTextArea, to keep it all nice and clean i use tabs(6 chars long), the problem is that sometimes the words or strings get …

Member Avatar for Krefie
0
176
Member Avatar for augie0216

I'm trying create a system flowchart which shows ms access as the database. I'm going to create a patient database and a invenroty database and a few others. I believea system flowchart does not show individual programs but rather the computer devices that make up the system and the basic …

Member Avatar for riz17
0
183
Member Avatar for whattever

[CODE]/* < newton.c > */ #include "smp.h" main() { void USERF(double *,double *,double); double x0,e; int n,NMAX; /*** ステップ1 データの入力 ***/ printf("\n初期値 x0 = "); scanf("%1f",&x0); printf("\n収束判別定数 p = "); scanf("%1f",&e); printf("\n最大反復回数 NMAX = "); scanf("%d",&NMAX); /*** ステップ2 ニュートン・ラプソン法の計算 ***/ S_NEWT(&n,&x0,e,NMAX,USERF); /*** ステップ3 計算結果の出力 ***/ printf("\n反復回数:N=%d 解:X(N)=%10.71e",n,x0); } /* < …

Member Avatar for nbaztec
0
503
Member Avatar for sastudent

Below is my textarea class. I want to make it sticky..help please. I have the same problem with my drop down boxes (that post is still unanswered) [CODE]class Textarea extends TextBox { private $rows; private $cols; private $sub_head; function __construct($n,$d=NULL) { $this->name=$n; $this->default=$d; } function setHeight($h) { $this->rows=$h; } function …

Member Avatar for vaultdweller123
0
443
Member Avatar for SCoder1

Hi I don't really know where to put this but how does one use WxWidgets with c++. I just need to know the syntax or structure of it. For example: What would wxwidgets equivalent be for the native code... [CODE] #include <iostream> int main() { int num1, num2, total; std::cout<<"Enter …

Member Avatar for daviddoria
0
89
Member Avatar for DerKleineDude

Hello, I'm a Python/SPSS (DANIWEB) beginner and I'm having a hard time getting classes, functions and methods into the right order. I want to write a script for SPSS where I can read text out of an text object from the SPSS-output file. My code looks like this: [CODE=Python] import …

Member Avatar for DerKleineDude
0
465
Member Avatar for maney
Member Avatar for nbaztec
0
107
Member Avatar for ykel

Hello all, I have for two days now been trying to debug what appears to be a serious logical error in my code, now I think I need to make it public. I am working on a dynamically loaded user control, this usercontrol has two dropdownlists, followed by textboxes.The second …

Member Avatar for ykel
0
172
Member Avatar for zeroge

Hi... Any idea on how to embed this flash so it will stay behind other content, e.g. a lightbox? [CODE]<td align="left" id="container" valign="middle" z-index="0"><!-- see notes for files included --> <a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player to see this rotator.</a> <script type="text/javascript" src="my/path/to/file.js"></script> <object><script type="text/javascript"> var s1 = new SWFObject("my/path/to/flash.swf","rotator","415","120","7"); s1.addParam("allowfullscreen","false"); …

Member Avatar for rajarajan2017
0
78
Member Avatar for azhar27

In the below code i m trying to send my request attribute from req.jsp page to retr.jsp. i would like to know if we can pass request attributes from one jsp page to other jsp page the below is my req.jsp [CODE] <html> <head> hey i m page 1 </head> …

Member Avatar for javaAddict
0
297
Member Avatar for MARKAND911

I want to give different colors to alternate rows of listview Control in asp.net(c#). How can i do this?

Member Avatar for finito
0
96
Member Avatar for red_evolve

Hi. I have just been introduced to string tokenizer in one of the java lessons. It can remove characters from an array of strings. So, I am wondering if it could remove a string from an array of string. For example: "the fish was eaten by the cat". I'd like …

Member Avatar for skylover87
0
563
Member Avatar for jtaylor-bye

[code=php] <?php if($_POST){ $password=$_POST["password"]; $confirm=$_POST["confirm"]; if($password != $confirm){ ?> <span style="color:red">Error: Passwords do not match!</span> <?php } else { $dbhost ="localhost"; $dbuser ="root"; $dbpass =""; $dbname ="users"; require_once"/wamp/scripts/config.inc.php"; $conn =mysql_connect($dbhost,$dbuser,$dbpass) or die ("Error connecting to mysql"); echo mysql_error (); mysql_select_db($dbname); $query=sprintf("SELECT *FROM users WHERE username ='%s'", mysql_real_escape_string($_POST['username'])); $result=mysql_query($query); if($result){ ?> …

Member Avatar for pritaeas
0
109
Member Avatar for nandoo

hi Foo, Just read the code and give me a solution.My question will be after the code... <html> <head> <title> working with jscript</title> <script> function appendtable() { var parent = document.getElementById("divide"); div = document.createElement("div"); var tbl=div.appendChild(document.createElement("table")); var tb=tbl.appendChild(document.createElement("tbody")); var tr=tb.appendChild(document.createElement("tr")); var td=tr.appendChild(document.createElement("td")); parent.appendChild(div); var oSelect=document.createElement("select"); var oOption = document.createElement("option"); var …

Member Avatar for zaggaustralia
0
212
Member Avatar for ayesha789

This is my table which I used to get access time of users at every single minute. [CODE]-- -- Table structure for table `members_log` -- CREATE TABLE IF NOT EXISTS `members_log` ( `SrNo` int(11) NOT NULL AUTO_INCREMENT, `UserName` varchar(25) NOT NULL, `access_time` datetime NOT NULL, PRIMARY KEY (`SrNo`) ) ENGINE=MyISAM …

Member Avatar for ayesha789
0
176
Member Avatar for becon

Hi everyone, I would like to parse this text file PREVIT:nmrValidate_166w.pdb atoms "A -750 -GLU -CG " and "B -54 -GLN -CG " 3.8759 A apart atoms "A -750 -GLU -CD " and "B -54 -GLN -CG " 3.8447 A apart atoms "A -750 -GLU -C " and "B -51 …

Member Avatar for becon
0
296
Member Avatar for Kingcoder210

Hi! All I need to know how can I secure my program by the serial number of local pc or WMI Code Creator? I want to secure my program by client`s hard disk`s serial number so that he cant sell it or use this program there in another pc. Please …

Member Avatar for GeekByChoiCe
0
99
Member Avatar for Uzumaki52

Hi, I have table in Database and i need to get the get the values of column and check for the values. If the value in row of that column is null...the imagebutton in grid view should be disabled. I am unable to get the rows values. Can anyone help?? …

Member Avatar for prashantchalise
0
73
Member Avatar for deeptakshd

i m having a webpage which is having a gridview which is displaying data from database........now on the same same web page their exists some hyperlinks namely A, B ,C.....upto Z ............can anybody plz help me out on how to display the new data (clicking of hyperlink A result in …

Member Avatar for prashantchalise
0
283
Member Avatar for iamcreasy

I am trying to change some data indside a txt file, based on the input given by the user.The input file is [B]indata.txt[/B](The commented part is, what it holds).And the output file is [B]"outdata.txt"[/B]... The problem is with line 52 and 53.Notice that in the loop from line 55 to …

Member Avatar for vijayan121
0
763
Member Avatar for vivi288

Hey guys, this is my first post. I'm having problems with a flat-file unique hits counter which I found online at [URL="http://inobscuro.com/tutorials/simple-php-unique-visitors-counter-30/"]in obscuro[/URL]. I installed everything properly, but whenever I try going to the "showcounter.php" file to display the total amount of hits I have received, the page freezes up …

Member Avatar for vivi288
0
1K
Member Avatar for BestJewSinceJC

Problem: when the user prints the JTextArea, the text at the right-hand side of the "paper" is cut off, despite the fact that it is visible on the screen. Question: How can this be solved? I've tried two ways of printing the text area, and neither has worked as I'd …

Member Avatar for Krefie
0
510
Member Avatar for ibnui

Hello all, i've just found source from planet source code, and from this source i just want to make program can record the streaming voice into .wav or .mp3... is that possible?? what should i do?? Thx b4....

Member Avatar for jhai_salvador
0
44
Member Avatar for RanjithKumarMCA

hai guys i am new to this community and i wish do a project can you guide me with some ideas to match to the up coming trends..

Member Avatar for jhai_salvador
0
82
Member Avatar for pardeep3dec

Respected Seniors, I have no knowledge about creating report in Crystal Report. Kindly tell me step by step process for making crystal report and what application need for install on my system current time i have vb 6.0 and ms office 2003. Thanks in advance. Pradeep

Member Avatar for jhai_salvador
0
67
Member Avatar for pardeep3dec

Dear Experts, I need a process for disabling windows key of keyboard through coding. Kindly help Thanks Pardeep

Member Avatar for Luc001
0
190
Member Avatar for justM

Hi I want to create a mobile website with a restricted login page. That is, such that to view the login page, a link with a protection code should first be sent to you via sms or other way. That is something like [url]http://m.mobilesite.(com)/login.php/243948[/url] The link should expire say after …

Member Avatar for rajarajan2017
0
139
Member Avatar for dsmush

Hi, I'm new to getting info from a website and rendering it but have been asked by a potential employer to create such a feature on a website. What would be useful is if someone could point me in the right direction and possibly some scripts to look at? Cheers.

Member Avatar for chrishea
0
103
Member Avatar for zaxonus

Hello, I have the following problem with Ajax : - The files I will mention here are copied at the end of this mail, so anyone can look if necessary. - My intention is to bring the contents of SubOne.php into the area defined by the DIV tag named "MyDiv" …

Member Avatar for zaxonus
0
282
Member Avatar for buddha_lord

hello...im new in vb world.so please help me if someone can..my problem in details: 1.have created a ms access database file named Database2.mdb which has 5 columns as follows a,b,c,d and result.it has 5 row and a,b,c,d are filled with data but result column is empty. 2.have created a datagrid …

Member Avatar for manoshailu
0
1K
Member Avatar for KAY111

Hi guys, I have a code in C++ that was written way back in 1995.Back then,I guess even in C++,#include<iostream.h> was used unlike nowadays, #include<iostream> using namespace std;.....im rite now trying to compile that code with a g++ compiler.It gives the error at lots of places:"cout not declared in this …

Member Avatar for KAY111
0
15K
Member Avatar for trilithon

Can anybody help me with setting up a cron job to run a PHP file. Here is the code that I inserted in the PHP file: [CODE]#!/usr/local/bin/php <?php include_once "connect_to_mysql.php";[/CODE] Here is the code that I used in the command line in the control panel: [CODE]*/5 * * * * …

Member Avatar for shubhamjain1
0
88
Member Avatar for Nicco

Hey there! I'm new to c++ and programming in general and have a quick question to why the program below works. I had most of it completed but for hours i couldn't figure out why every time i tried to enter input for the "make" member of my dynamic structure …

Member Avatar for Nicco
0
106
Member Avatar for geethanjaliprat

hi to every one!!!!!!!!!!!! i just need a help from u, i just want to assign symbols like @$* wat i hav to do please help me by giving me a sample example.

Member Avatar for LevyDee
0
72
Member Avatar for Xufyan

Hello, I'm learning PHP from w3schools.com but they didn't explain everything clearly, see that page, [TEX]http://www.w3schools.com/php/php_file_upload.asp[/TEX] I want to know the meaning of this line , how it is checking the error in uploading ? [CODE]if ($_FILES["file"]["error"] > 0)[/CODE]

Member Avatar for vaultdweller123
0
81
Member Avatar for Viced

Hey guys! I also have a question about how to autogenerate these types of links. (Pardon my tacky english) What i am looking for is a way to autogenerate a "personal" och "unique" link for every user. These unique links are suppose to point to "registration.php". The idea is that …

Member Avatar for Viced
0
80
Member Avatar for blindkilla

My error occurs on line 191 and 156. For some reason it is saying it cant find the default constructor when I have supplied the right amount of parameters. The error it is giving me is "Cannot find default constructor to initialize base class" code: [url]http://pastebin.com/WLMvBMyy[/url] If anyone could offer …

Member Avatar for blindkilla
0
108
Member Avatar for redyugi

[CODE]class Test: def __init__(self, number): self.number = number def getnumber(self): return self.number x = Test(54) y = 'number' print x.getnumber() try: print(eval('%s.%s'% (x, y))) except Exception, e: print(e)[/CODE] This isn't the code I want to fix, but it has the same error. I am trying to return a class function …

Member Avatar for redyugi
0
138
Member Avatar for gaz-boy

Hello I am very new to daniweb but have been using it for many years to help me learn web development. I am struggling with some code that I hope you guys might be able to help me with. I want to send checkbox data from a form my email …

Member Avatar for vaultdweller123
0
3K
Member Avatar for eliza2044

Hello guys, I'm working on a new project in C++ and I need to parse some XML files, by reading some articles on the web I found that the most commonly used one is the Xerces library. However, I'm currently having troubles. Can anyone tell me how can I include …

Member Avatar for hasrule
0
141
Member Avatar for FudgeCoder
Member Avatar for Griff0527

I am trying to create a code that receives up to 50 integers from the keyboard, sorts the array from largest to smallest, then counts the instances of each number and displays the number inputted and the count of the number of instances. For example, if the number 11 was …

Member Avatar for NathanOliver
0
1K
Member Avatar for Buolbear4444

I am trying to set up the GUI Library FLTK but cannot find a way to set it up for MSVC++ 2010 Express. I looked on Google but failed to find any tutorials on doing this. I also tried CMake but ended up with an error in CMake and an …

Member Avatar for jonsca
0
149
Member Avatar for makako nido

Hi everyone! I'm trying to learn assembly x86 using tasm but a doubt stoped me. I need to create a file and copy an array of characters for him. I know I need to use 3Ch to create, 40h to write and 3Eh to close him but I can't implement …

Member Avatar for Mattye134
0
171
Member Avatar for MarkBloomfield

I am using the php mail code to send emails from a website very successfully. However when the email address to send to is in the format [email]xxx.yyy@zzz.com[/email] it won't send. Any ideas? I am able later to post any code samples needed if necessary but all seems to be …

Member Avatar for vaultdweller123
0
141
Member Avatar for ttboy04

Hello, I don't have technical problem. I was just thinking the difference between arrays and SQL. I am currently learning OOP in java and C# but my employment history is based on SQL Server. So I was thinking about this subject in my head and I don't see why bother …

Member Avatar for samaru
0
140
Member Avatar for saima.H

There is a multinational company. In the company, there are deductions from the salary of the employee according to following rules: i) If salary is less than 10,000 then no tax deduction and 4% of salary will be deducted as Well-fare fund every month. ii) If salary is more than …

Member Avatar for saima.H
0
356
Member Avatar for Neophyte08

hello there, anyone can help... is this possible? i have a string value of form names in my DB so when my condition passes, the variable string will take over the value , then that value will call the form(variable) as string. i got an error when i use this …

Member Avatar for anrico
0
2K

The End.