199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … ![]() | |
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 … | |
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 … ![]() | |
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, … | |
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 … | |
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 | |
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? | |
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 … | |
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 … | |
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 … | |
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? | |
What's happening in this commands:Dim StudentName As String,Dim pincode As Integer,Studentname = "David",pincode=2011 | |
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.*" %> <%@ … | |
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 | |
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 = … | |
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). … | |
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. | |
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 … | |
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 … | |
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)); … | |
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 << … | |
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. | |
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 … | |
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) … | |
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 … | |
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() { … | |
![]() | 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 … |
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 … | |
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 . … | |
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? | |
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 … | |
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 ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
guys...i m trying to make a simple program to input 3 nos n print their all combinations(......plz help!!!.... thanx...:) | |
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. | |
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 … | |
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? | |
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 … | |
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 … | |
[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 { … | |
Does anybody think that in the future professional development will be done on other platforms using MonoDevelop? Therefore making C# multiplatform. | |
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 … | |
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 … | |
[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 … |
The End.