199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rayidi

echo "<form action='' id='customForm' method='post'>"; echo "<div>"; $mobile = $_SESSION['mobile']; echo "<label for='name'>From : $mobile</label>"; echo "</div>"; echo "<div>"; echo "<label for='name'>Sender Mobile number</label>"; echo "<input type='text' name='recipient' id='mobile' class='error'>"; echo "<span id='nameInfo' class='error'> Mobile number must contain only 10 digits</span>"; echo "</div>"; echo "<div>"; echo "<label for='email'>Message &nbsp; &nbsp; …

Member Avatar for cereal
0
488
Member Avatar for hajjo

I have this window.top.onscroll = function(){moveScroll(); } It works perfect in ie, but in firefox I get permission denied to get property onscroll. why? and whats the solution? on top of my page i have done this though var url = document.URL; url = url.substring(7,url.length); url = url.substring(0,url.indexOf(":")); if(isMoz) document.domain …

Member Avatar for stbuchok
0
151
Member Avatar for grvs

Hi I have just started C# (again) and written a small program. I have installed Microsoft Visual C# 2008 Express Edition. Now I want to compile and run my program but "start debugging (F5)" option is faded. Also I can't find any csc.exe file in the main directory where Visual …

Member Avatar for prit005
0
154
Member Avatar for Coyx

Hi guys! I'm back with more problems! I've tried everything... I just can't seem to get it to work. :( Okay, a short explanation of what the goal is. I have 5 buttons, and a list of records which are pulled from the database. Import CSV Create Edit Delete View …

Member Avatar for stbuchok
0
293
Member Avatar for Mangesh G

I have written an SQL query to return the total quantity of products ordered and total price. The query returns a result for each order in the range I have specified.Please find attached the output i am getting. the desired output i want is as follows: (year,productcode, productname, orders, quantity, …

Member Avatar for urtrivedi
0
268
Member Avatar for Tank50

Hi In my office there is an application ,and database is Sql server 2000.Using ODBC connection application connect to database.Recently database move into sql server 2005.Now application is not working,Its generate error message error message is "Connection failed".I tested the ODBC connection its okay. *I dont know what is language …

Member Avatar for prit005
0
193
Member Avatar for jorjah

gudpm,,hi every one!!!i just want to know if there are codes that will make a graph for our decision support thesis.thank you

Member Avatar for vibhaJ
0
96
Member Avatar for kamalbasha.v
Member Avatar for gunnarflax

Hi everybody! I'm creating a minor feed reader and I wonder how I can best store information on which feeds have been read or not? I was thinking of storing an url to the feed, the post title and the time it was posted. Would this be sufficient?

Member Avatar for vibhaJ
0
116
Member Avatar for surjeetk27

hi friends.... I'm getting this type of error n running my program... Warning: include(include_fns.php) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\index.php on line 7 Warning: include() [function.include]: Failed opening 'include_fns.php' for inclusion (include_path='.;C:\php\pear') in C:\wamp\www\index.php on line 7 Can Anyone plzz Tell me what this …

Member Avatar for vibhaJ
0
125
Member Avatar for mwenyenia07

in Microsoft sql server 2005 or later,it is easier to generate unique numbers using the database server directly. you only specify the IDENTITY specification say 10000 and an incremental value say 1. this will generate numbers from 10000 upwards and at no time a number can be repeated or used …

Member Avatar for vibhaJ
0
119
Member Avatar for cali_dotcom

Hi, i know youtube does not really have an API as such like FB does, and thats why this is being so difficult. i have a youtube channel and i am looking for a way to give subscribers to the channel some free gifts on my website. i am looking …

Member Avatar for cereal
0
182
Member Avatar for Coco Chanel

Hi! I'm new and I'm not very expert with the basic code. How can I shutdownn the pc whithout using a file batch or some elements out of my program?

Member Avatar for Coco Chanel
0
106
Member Avatar for Goitseone

What's happening in this commands:Dim StudentName As String,Dim pincode As Integer,Studentname = "David",pincode=2011

Member Avatar for debasisdas
0
85
Member Avatar for cmaheshwari16

Hi All, I am using JSP and servlet technology for making graphs. Below please find my jsps, Display.jsp [CODE]<%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page import="java.awt.*" %> <%@ page import="java.io.*" %> <%@ page import="org.jfree.chart.*" %> <%@ page import="org.jfree.chart.axis.*" %> <%@ page import="org.jfree.chart.entity.*" %> <%@ …

0
146
Member Avatar for sinthurika

I need to create a exam system. i have to give 20 question in a list. it should display 10 question randomly in a form. how can i do this in c#.dotnet? please anyone help me

Member Avatar for ChrisHunter
0
741
Member Avatar for muzikhera

Hi guys Can anyone help me with this one? I want to insert a loop in my code to read all the data in excel file here's a portion of my code. [CODE] private void btnUpdate_Click(object sender, EventArgs e) { string directory = "D:/myFile.xls"; if (File.Exists(directory)) { Excel._Application myPartFile = …

Member Avatar for lolafuertes
0
148
Member Avatar for hqt

I have 2 codes. (that I had read in one book). the explanation under each code is true (because my book say that !!!). But in my thinking, if one code is true, so the other will be wrong. (wrong mean it will not have result same with the explanation). …

Member Avatar for hqt
0
201
Member Avatar for geekme

After installing xampp, when i try to stop mysql and apache for restart it does not start.It gives error: mysql can not be stopped.Busy!Please help.

Member Avatar for linuxaomi
0
140
Member Avatar for isendre

I am required to create a function that returns a list of all instances of single characters in 'text' that immediately follow 'last'. For example... def follow_char(text,last): """ >>> follow_char('as we consider the operations', 'co') ['n'] """ I think I am required to solve this using linked lists but am …

Member Avatar for isendre
0
74
Member Avatar for abhinavM

I have this servlet code for retrieving contents from database and displaying it on the browser.But when I am running this code it is giving "ClassNotFound Exception" at Class.forname().I have built the path with db2jcc.jar and db2jcc_license.jar file but still this exception is thrown.Please help me [CODE] import java.io.IOException; import …

0
114
Member Avatar for phoenx

Like a slot machine how can I see the movement of numbers and will stop 1 by 1..anyone know how to do it? [CODE] import java.awt.*; import java.applet.*; import java.lang.*; public class Lotto1 extends Applet { public int n1,n2,n3,n4,n5,n6; void button1_Clicked(Event event) { n1=(int)(53*Math.random()+1); n2=(int)(53*Math.random()+1); n3=(int)(53*Math.random()+1); n4=(int)(53*Math.random()+1); n5=(int)(53*Math.random()+1); n6=(int)(53*Math.random()+1); textField1.setText(Integer.toString(n1)); …

Member Avatar for phoenx
0
213
Member Avatar for manishbq
Member Avatar for manishbq
0
149
Member Avatar for thecoolman5

hi, i am trying to make a weight watchers program and heres my code: [CODE]#include<iostream> #include<fstream> #include<conio.h> #include<cstdio> #include<windows.h> using namespace std; int main (char argc) { for(;;) { system("cls"); ifstream r; r.open("cdaily.txt"); double r1; r >> r1; r.close(); ifstream r2; r2.open("cweekly.txt"); double r3; r2 >> r3; r2.close(); cout << …

Member Avatar for VernonDozier
0
267
Member Avatar for mansoorcore

Hello everybody. could i convert my c# desktop inventory application to asp.net web-application ??. is it possible if yes please let me inform. thanks in advance.

Member Avatar for shrnmlss6
0
206
Member Avatar for bhagawatshinde

Hi, I have an problem while copying database file to another folder. In Brief i have develop an windows application in that one form is Data Backup and restore. Suppose i have run form separately then i will copy these file from one place to another but if i have …

Member Avatar for bhagawatshinde
0
387
Member Avatar for choboja621

My problem is, when you type an age, it always says "Invalid Age" w/c falls in the default condition. I dont know how to figure out this. Its my codes. Help me to fix this. Thanks! [CODE] <html> <body> <script type="text/javascript"> var $age = Number(prompt("Enter Your Age: ")); switch ($age) …

Member Avatar for choboja621
0
101
Member Avatar for danieldane

Hello there, My teacher in programming require to make a phone book style using C language and I almost done this project and I trying to sort up some minor problems. Would somebody our there help me? (please try to run this program by your own to see what I …

Member Avatar for rubberman
0
203
Member Avatar for rhyza

i was having trouble with this couse we use an asterisk sign instead of a graph but the output is so mixed up how will i will aline the asterisk..pls help me [CODE]# include <"stdafx.h"> # include <iostream> # include <conio.h> # include <string> # include <windows.h> void main() { …

Member Avatar for WaltP
0
181
Member Avatar for Aardwolf

I have 3 MySQL database 1 is friends, 1 is dashboard and 1 is user what i want is to do a recurrng loop to display all of dashboard, except if you are friends with them. I have this: [CODE=php] $queryy = mysql_query("SELECT * FROM dashboard ORDER BY time DESC …

Member Avatar for rv1990
0
91
Member Avatar for tarmer

First off let me start by stating I am a complete newbie so I appreciate the help anyone can give me (as well as advice) I am toying with a fantasy soccer site (just for a bunch of friends) and I am trying to set up some dynamic pages to …

Member Avatar for rv1990
0
127
Member Avatar for phorce

Hello, I'm trying to create a script that counts the number of people in an array by using a variable called "counter" I am using functions to display the information, however it won't display.. [code] <?php function main() { $people = list_people(); echo 'There are currently: ' . $counter . …

Member Avatar for phorce
0
120
Member Avatar for abc88

I have a Datatable- table1 and i want to sort/order this datatable in ascending order depending on 2 columns-column0,column1 of table1. how can i do that?

Member Avatar for aldeene
0
105
Member Avatar for by_the_blood

I am trying to write a function that will count test scores that fall in a specific range(90-100, 89-80, 79-70, 69-60 and 60 or below) that are stored in a two dimensional array. Also, I am supposed to write a function that will do the same as above, only this …

Member Avatar for laosland
0
1K
Member Avatar for lawtan87

when the user hits enter it will display Price must be a valid positive number product_price=input("Please enter product price:") while product_price <=0 or product_price=="": print"Price must be a valid positive number" product_price=input("Enter product price:") but it get the following error when the user hits enter SyntaxError: unexpected EOF while parsing

Member Avatar for Enalicho
0
120
Member Avatar for kytro360

I want to save the text from several textboxes to a textfile. Then once I save it I want to open it and all the text go to their appropiate textbox. With my code when I click save it saves the file. I open the file from my computer (not …

Member Avatar for kytro360
0
139
Member Avatar for Xrrak

I am over my head in my current class and could use help or pointers changing the program I have written. It is a mortgage calculator and I have to modify it. My class texts seem over my head and I have to drive 20 minutes and use public internet …

Member Avatar for quuba
0
124
Member Avatar for Prasadbabu

HOW TO WRITE SQL USING CRYSTAL REPORTS 9 IN VB6? Dear Friends, I designed one INVOICE crystal reports9 using vb6 and connected with access database. It was displaying all the records. Now i want to display particular invoice number. I used below code. but its not executing. default code only …

Member Avatar for Prasadbabu
0
1K
Member Avatar for siabenie

Hi all, I like to rename my table's column. My table name is: utf8_Alter Field: Branch In the Branch field I have few columns name I tried to change the name with this query: But it didn't work. [CODE] ALTER TABLE `utf8_Alter` CHANGE `ゴルダーズグリーン` `ーン ノースロンドン` varchar( 64 ) MySQL …

Member Avatar for smantscheff
0
152
Member Avatar for bhavna04

guys...i m trying to make a simple program to input 3 nos n print their all combinations(......plz help!!!.... thanx...:)

Member Avatar for bhavna04
0
78
Member Avatar for ravikant_scn

Hi Experts; I am creating a project and I want user can move my form inside of the screen only. How can I do this ? Please help.

Member Avatar for BitBlt
0
106
Member Avatar for Naveed_786

Here is the code which is working fine for me on another form but creating problem when i use the same code on another form it gives me this error message when i try to insert a new record in DB "Value cannot be null Parameter name: Data Table" and …

Member Avatar for Naveed_786
0
607
Member Avatar for bluehangook629

I am trying to retrieve a value saved in project A settings from project B in same solution set. Is this possible in VB.NET? If possible what namespace and function would I use?

Member Avatar for bluehangook629
0
288
Member Avatar for Zvjezdan23

I have only 2 errors in my code. Both of them are on Line 123. The errors are: 1>c:\users\zvjezdan\documents\visual studio 2010\projects\week5_math\week5_math\program.cpp(124): error C2804: binary 'operator *' has too many parameters 1>c:\users\zvjezdan\documents\visual studio 2010\projects\week5_math\week5_math\program.cpp(124): error C2333: 'main::Vector3::operator *' : error in function declaration; skipping function body This is code for finding …

Member Avatar for sfuo
0
187
Member Avatar for AshfaqueIW

Hi all, I came across some vector problem recently. Below is my code. std::vector<int> MyBuffer(10); for(int i=0;i<10;i++) MyBuffer.push_back(i);//First 10 elements are zero and after index 10 i getting stored. Why the behaviour if like this if i provide size during Declaration. I want to know what will be the difference …

Member Avatar for Zvjezdan23
0
181
Member Avatar for gman1991

[CODE]// this is program designed to create Cd data base #include <stdio.h> #include <string.h> #include <stdlib.h> //============================================= //LINKED LIST USED FOR CREATING THE DATABASE CD //============================================= struct CD_type_node { int CDnum; char title[20]; int CDcount; struct CD_type_node* next; }; struct Artist_type_node // to create a linked list of CD's { …

Member Avatar for WaltP
0
124
Member Avatar for james6754

Does anybody think that in the future professional development will be done on other platforms using MonoDevelop? Therefore making C# multiplatform.

Member Avatar for Ketsuekiame
0
121
Member Avatar for vizz

I am using following code to UPDATE database and upload file. It updates fields in database name,email,phone. But query does not work for photo field. It gives error. And considers [COLOR="Red"]'$pic'[/COLOR] as empty. Help Plz. Database [CODE]CREATE TABLE employees (name VARCHAR(30), email VARCHAR(30), phone VARCHAR(30), photo VARCHAR(30)) [/CODE] [CODE]<?php //This …

Member Avatar for vizz
0
5K
Member Avatar for end3r

Hi, As the title states, I have a query that I use to concatenate all the rows into a single string and I use the XMLTransform method to accomplish that but I still need to add a new line separator within the XML string and so far I didn't find …

Member Avatar for end3r
0
869
Member Avatar for Purkinje

[url=http://www.daniweb.com/software-development/python/threads/375271/1621485#post1621485]Sample code credited to Enalicho[/url] In this example, we count the number of appearances of the number 1 through a range of pages using while loops. First off, notice how easy it is to tell what the variables in this method are doing. I did not write this method, but …

0
191

The End.