199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pucivogel

can anyone help me with this error? INVALID_STATE_ERR: DOM Exception 11 on this line hr.setRequestHeader("Content-type","application/x-www-form-urlencoded");

Member Avatar for gon1387
0
162
Member Avatar for xHellghostx

So I am working on a program and it has two seperate classes.. One of them contain the forum layout and the other contain some calculations and totals.. The problem is that the class with the calculations contain a constructor and other functions that I need to pass from this …

Member Avatar for tinstaafl
0
310
Member Avatar for sobias

Hi all! (if this is not the correct forum to post my question please move it to the appropriate one) I have an assignment which requires writing a pseducode from a statement writting in English. Man! this psuedocode thing is really difficult to write . Easy to follow if you …

Member Avatar for sobias
0
602
Member Avatar for Nirmeen Ased

// login.php page <?php include_once("dba.class.php"); $msg=""; if(isset($_POST["btnLogin"])){ $username=trim(mysql_real_escape_string($_POST["txtUserName"])); $password=trim(mysql_real_escape_string($_POST["txtPassword"])); if($username != "" or $password != ""){ $c->LoginAdmin($username,$password); header("location:Admin.php"); } else $msg="Invalid User Name or Password"; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Login Page</title> <style type="text/css"> .MSG { color: …

Member Avatar for Nirmeen Ased
0
289
Member Avatar for glez_b

#! /usr/bin/python import numpy as np data = np.loadtxt('path-tracks.csv',dtype=np.str,delimiter=',',skiprows=1) print data [['19.70' '-95.20' '2/5/04 6:45 AM' '1' '-38' 'CCM'] ['19.70' '-94.70' '2/5/04 7:45 AM' '1' '-48' 'CCM'] ['19.30' '-93.90' '2/5/04 8:45 AM' '1' '-60' 'CCM'] ['19.00' '-93.50' '2/5/04 9:45 AM' '1' '-58' 'CCM'] ['19.00' '-92.80' '2/5/04 10:45 AM' '1' '-50' …

Member Avatar for glez_b
0
4K
Member Avatar for chr.s

Hello, A website I'm working on requires that the Prototype framework is included, but I'm also using jQuery for some custom behaviours. I'm using the jQuery [maximage](http://www.aaronvanderzwan.com/maximage/1/) slider plugin almost successfully; the only issue is that it seems to conflict with prototype - yes, even with jQuery's noconflict used - …

Member Avatar for chr.s
0
284
Member Avatar for farhan69

Hi , I am new to python coding . I have a Strace output file and i need to extract two columns. The sample Strace file i have attached here i would like to extract the "calls" columns and store the count of the calls withrespect to the syscall. I …

Member Avatar for farhan69
0
181
Member Avatar for mbarandao

Hello all: I would like to query my mysql table for a total number of records inserted during a specified day of the week within a specified time period. More clearly: count number records inserted on Tuesdays during the time period of 2013-01-31 - 2013-02-03. The first day of the …

Member Avatar for adam_k
0
255
Member Avatar for DamzWildfire

hey i want to add this code to a jquery file that i have to display the autosuggestion results.when its in the body of my other page when the result is recieved it pushes the page down when clicked it goes back up i dont want that. any suggestion? <div …

Member Avatar for DamzWildfire
0
496
Member Avatar for tsp003

Here is my code:- //choose the table and return records $result = mysql_query("SELECT id, state,country_id FROM state ORDER BY country_id"); $string .= '"'.$val.'", '; $country = null; //get group while($row = mysql_fetch_assoc($result)) { if ($row['country_id'] != $country) { echo '<br>'.'<br>'."[".($row['country_id'])."] = parentarray ["; $country = $row['country_id']; } // get list …

Member Avatar for broj1
0
197
Member Avatar for zarulhamdi

Public Class LoginForm1 Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click Dim con As New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\ahamdi2\Documents\Visual Studio 2008\Projects\sistemPengesanan\sistemPengesanan\admin.mdf;Integrated Security=True;User Instance=True") Dim cmd As New SqlCommand("SELECT * FROM info WHERE username = '" & UsernameTextBox.Text & "' AND [password] = '" & PasswordTextBox.Text & "' ", …

Member Avatar for godace89
0
1K
Member Avatar for Squidge

Hi all. I recently set up dual boot Os (7, and Ubuntu 12.10). The namespace call was/is working on the Windows 7 env (same version of XAMPP). I know Linux is case sensitive so i have amended the file/folder calls. Although the file exists, i am getting: `Message: Class classLib\dataBase\database_Connection …

Member Avatar for Squidge
0
199
Member Avatar for siga

Hi, I am given this assignment that should be run in Jython. The assignment says that the program consists of a Java application with a canvas and a textarea for turtle code. I need to create a Jython application that takes turtle code from the Java application, parses it with …

Member Avatar for vegaseat
0
942
Member Avatar for andika.kurniawan.121

I can see methods in stdio.h, iostream, etc in Turbo C++. But I confuse now because now I try to use code::blocks. Thank you if you solve my problem

Member Avatar for mike_2000_17
0
298
Member Avatar for Gaiety

Hi , I am trying for a program which takes any no of characters as input and stores, so obviously i would need DMA. My approch is to Take a buffer of some fixed size(5 in this case) Fill the buffer till the fixedsize-1 Allocate memory dynamically and store the …

Member Avatar for Gaiety
0
152
Member Avatar for pucivogel

I have this part of code <?php $showmonth=$_POST['showmonth']; $showyear=$_POST['showyear']; $showmonth=preg_replace('#[^0-9]#i','',$showmonth); $showyear=preg_replace('#[^0-9]#i','',$showyear); $day_count=cal_days_in_month(CAL_GREGORIAN,$showmonth,$showyear); $pre_days=date('w',mktime(0,0,0,$showmonth,1,$showyear)); $post_days=(6-(date('w',mktime(0,0,0,$showmonth,$day_count,$showyear)))); but i get errors like undefined index showyear,and errors on cal_days_in_month parameter 3 expected to be long, and also mktime parameter 6 expected to be long all due to the undefined index, how do i fix …

Member Avatar for riahc3
0
164
Member Avatar for Mariann

How to handle null values in C#. When I am entering characters in a char array i want to leave some values blank or empty (null). But when i do that my program terminates giving me an error. The error is shown in the pic below. What should i do …

Member Avatar for ddanbe
0
236
Member Avatar for pucivogel

can anyone show me how to upload a binary file using Ajax (and php of course) I mean the html and js ?

Member Avatar for stbuchok
0
3K
Member Avatar for sundog1

Hi Guys, Right... I've managed to run select statements with associated Joins to show the data I want in DGV's which is great. Seems to be working fine. I'm not to the point where I need to be able to Insert, Update & Delete Rows in my Database. I am …

Member Avatar for sundog1
0
210
Member Avatar for MRehanQadri

Why the condition if ((a[0] == 'y') | (a[0] = 'Y')) is ALWAYS TRUE in the following code? #include <iostream> using namespace std; int main() { cout << "Enter 10 integers seperated by spaces: "; int array[10]; for (int i = 0; i<1; i++) cin>>array[i]; cin.ignore(); cout << "Do you …

Member Avatar for MRehanQadri
0
687
Member Avatar for dbalas

Hi all! I am creating some stock management system and i would like to offer subscription (monthly/yearly). I need help in controling that... Dont know what would be the right way to do that... Anny ideas? Maybe to make a php script which will delete users passwords from the database …

Member Avatar for diafol
0
436
Member Avatar for anisha.silva

hi, i am trying to run the java EE application and when i clean and build the EJB and the web compoenent i get an error as below > Failed to execute goal on project account-web: Could not resolve dependencies for project edu.depaul.cdm.se:account-web:war:2.0.0: Failed to collect dependencies for [javax:javaee-web-api:jar:6.0 (provided), …

0
142
Member Avatar for Lomholdt

Please help. I am trying to change data in my MySql database. I am able to input new data, but when i try to change anything, it doesn't work. Here is my code: <?php $id = $_REQUEST['id']; $newname = $_REQUEST['newname']; $newemail = $_REQUEST['newemail']; $newpassword = $_REQUEST['newpassword']; mysql_connect("localhost", "root", "") or …

Member Avatar for Lomholdt
0
143
Member Avatar for deepak.fugo

Hi All, We 've 20 promotional websites and we want to centralize the contact us form. We have contact us form that is kept in Server 2 and all the other web sites kept in server 1, now i need to include the contactus form server1 inside server 2 websites. …

Member Avatar for radow
0
200
Member Avatar for spetro3387

I am compiling some source that is linked to two packages. One is OpenCV and the other is a driver library for an infrared camera. The company only provides a 32-bit version of the library via an rpm package. I compiled OpenCV from source and it's libraries are installed in …

Member Avatar for spetro3387
0
5K
Member Avatar for TheRavenMaddox

This code use to work on a Win2k3 machine running MySQL and PHP but I have since updated my server to Win2k8. I installed the newest version of MySql and PHP and the PHP itself is working. I am able to pull various fields from my database if I hardcode …

Member Avatar for diafol
0
198
Member Avatar for ashish2expert

Hi, I have a problem that wants to be calculated only by while loop. (no other loop, no goto, break) Develop a program that will input the miles driven and gallons used for each tankful. The program should calculate and display the miles per gallon obtained for each tankful. After …

Member Avatar for ashish2expert
0
3K
Member Avatar for dualzNZ

Hi all i am obtaining game stats data through c# using HttpWebRequest and am returning chunks of data which is passing through class variabled held in dll files. my question is which i am unsure of is i would like to add a progress bas to show the players current …

Member Avatar for Mike Askew
0
144
Member Avatar for rony001

hi I want to list all tables in sql server compact 3.5 database and total of a specific column (I have a column name "total" in all tables).when i run the code I get no error but it does not work. can some tell me what is wrong with the …

Member Avatar for castajiz_2
0
217
Member Avatar for IsaacMessi10

How do you link to a Database in VB.NET? Say you need to record Name, Password and Email Address. What shall I write in the db?

Member Avatar for IsaacMessi10
0
168
Member Avatar for zubair_z

Guys Plz help me out of this.... i have to take common values from three arrays and if there is repetition of values code should display value only 1 time... plz help? here is my code` #include<iostream> using namespace std; int main() { int count=0; const int size=5; int arr1[size]; …

Member Avatar for tinstaafl
0
208
Member Avatar for kimangel

Hi experts,gud day! Here I am again needing your help. How will I code condition that textbox will only be enable after 6 months from date of hired or textbox will be disabled after typing certain amounts because it is not yet 6 months from date of hired. A message …

Member Avatar for AndreRet
0
190
Member Avatar for rony001

hi friends I am trying to search a table with last and first name and update table after changes .I can retrieve rows and display in datagridview, I would like to know how do I update table after changes, i would appreciate any help Private Sub TextBox1_TextChanged(ByVal sender As System.Object, …

Member Avatar for rony001
0
137
Member Avatar for michelleruth

I'm trying to use an array to print out 6 numbers out of 42 since it's a lotto code Here's the question the lecturer wants me to do: Write a Java program to achieve the following: ï‚· Declare an array of type int of size 6 ï‚· Randomly generate your …

Member Avatar for radhakrishna.p
0
24K
Member Avatar for hazzag1995

Hey guys, i am developing an android app using Java, using eclipse on a windows PC. The building of the app started off very well, and we managed to get a working prototype working on a android phone using the USB debugging option. I have come across a big problem …

Member Avatar for peter_budo
0
464
Member Avatar for Gus_19

I'm trying to specify that multiple conditional statements need to be met before saving. If either of the statements are not met, then their respective error messages will pop up. The problem I'm having is I cannot get the error messages to show independantly. Am I on the right track …

Member Avatar for fuerer_g
0
220
Member Avatar for zoraster01

hello daniwebscoders.. can you help me with my project?? i want to save a finger print file to a sql server table and then i also wanted to read it when you tap the finger print reader and it will input a time in :) sry for my grammar

Member Avatar for jake0813
0
1K
Member Avatar for Grandiago

How come when i update my database using access(I forgot to add something) I need to add another data source to my program to make it show. It floods my Data Sources window. Is there an alternative way to do this?

Member Avatar for Grandiago
0
155
Member Avatar for ganges

HI Friends, SQL> edit; SP2-0110: Cannot create save file "afiedt.buf" how to fix this problem.

Member Avatar for LastMitch
0
133
Member Avatar for pucivogel

I'm pretty new to AJAX so this may look like simple questions but..., so i want my file to be stored in a table in a db i have on my localhost, i'm using iframe <iframe id="upload_target" name="upload_target" src="#" style="width:0;height:0;border:0px solid #fff;"></iframe> what source do i provide, what about the …

Member Avatar for LastMitch
0
183
Member Avatar for skliz

I am trying to build an enterprise chat application in asp.net (c#) but I am new to c sharp and I want to know the best approach to doing this. Though I have done some research. I discovered web sockets for javascript, pushback mechanism. But I want to know if …

Member Avatar for shrikant24
0
149
Member Avatar for BleepyE

Is there a way to see if the user is using Windows 7. If yes, can we change their theme when the Form loads, and change it back when it closes? Thanks

Member Avatar for nilesh7136
0
209
Member Avatar for misheng
Member Avatar for hg_fs2002

I want to store '\092' (which is backslash ASCII code) in a char variable but Java does not allow me. Does anyone know what the problem is and how I should store that?

Member Avatar for tux4life
0
132
Member Avatar for GraficRegret

I have built a web site and it works in every browser except for, of cource Internet Explorer, is there some normalized code that I can copy and paste that will make everything work in I.E.? Or do I need to go through and make a new css for everything …

Member Avatar for GraficRegret
0
167
Member Avatar for skliz

Please I am new to the ADO.NET connected layer. But I have been able to learn how to communicate with my db effectively on the connected layer. But I notice that wen I execute an insert, update or a delete sql. I dont see the changes in the database. I …

Member Avatar for skliz
0
256
Member Avatar for ketan1234
Member Avatar for ryan311

txtNetPrice.Text = ((Convert.ToDouble(txtLength.Text) * 0) + Convert.ToDouble(txtPriceCut.Text)).ToString(); I'm getting error in this line. please help.

Member Avatar for castajiz_2
0
227
Member Avatar for Navlag

I tested and successfully used this SQL code below to input data into a database. INSERT INTO hraps (id, firstname, lastname, gender, year_of_1st_rappel, count_offset_proficiency, count_offset_operational, spotter) values(111111, 'World', 'Hello', 'Male', '2007', '1', '2', '0') Now I'm trying to integrate it into PHP like this: $query = "INSERT INTO hraps (firstname, …

Member Avatar for diafol
0
238
Member Avatar for GlenRogers

Hi I have some code that has 2 querys to fill 2 dropdown boxes. I need to get an id from one depending on which selection is chosen, put it in a variable to use in the second query. My code is below with comments of what I want to …

Member Avatar for diafol
0
148

The End.