199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tieties

ok i need help with this code i more than triple checked the spelling so i dont know what is wrong anymore and i have checked that i inserted the right data also. This is my code i use to insert into my DB when i break it i get …

Member Avatar for Reverend Jim
0
283
Member Avatar for andrew mendonca

Define a getStandardDeviation() function with the specification and prototype shown below: // Calculate the population standard deviation of the scores // That means... // 1) For each score i, add pow(scores[i] - mean,2) to a running sum. // 2) divide sum by the number of scores. That's the variance. // …

Member Avatar for Lucaci Andrew
0
989
Member Avatar for rithish

i have a doubt in graphs whelther incident matrix and adjacency matrix r they same?????

Member Avatar for deceptikon
0
181
Member Avatar for julm

I am writing a java program that solves for program complexity using Halstead metrics. I just want to know what java keywords are considered "Operators" and "Operands" in halstead metrics. Any help from you guys will be appreciated...

Member Avatar for dansm88
0
922
Member Avatar for vizz

I have hosting and domain with https://www.znetlive.in (with Apache version 2.2.21) suppose www.abc.com I want to rewrite urls.(Which is not working in anyways) http://www.abc.com/index.php for this http://www.abc.com http://www.abc.com/about.php for this http://www.abc.com/about http://www.abc.com/portfolio.php for this http://www.abc.com/portfolio http://www.abc.com/contact.php for this http://www.abc.com/contact I have tried all possible ways but it is not working. …

Member Avatar for vizz
0
440
Member Avatar for vindom

Hi every one I'm trying to retrieve UserID (which is autonumber in ms access database) using C# and assign it to string u.I'm totally new to C# and trying to get more skills.... here goes.. string connStr, selectCmd; connStr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=..\\library.accdb"; selectCmd = "SELECT * FROM users WHERE First_Name …

Member Avatar for vindom
0
331
Member Avatar for GlenRogers

Hi all, I cant get this at all. Ihave a form with a series of radio button, all which represent a category of animal. I have given each radio button a value which is the same as the mysql table it represents. For example: <input type="radio" name="delete" value="tortoises">Tortoises<br /> When …

Member Avatar for GlenRogers
0
3K
Member Avatar for johndohmen1963

can someone explain me wy the folowing query dosn''t work because i want to select only where the values are 1 , 2 , 3 , 4 and so ond and count these rows $link = mysql_connect("localhost", "bla", "bla"); mysql_select_db("db", $link); $result = mysql_query("SELECT * FROM narr_turnier_".$onlyconsonants." WHERE startnummer <> …

Member Avatar for johndohmen1963
0
115
Member Avatar for hafiz.muhammadakas

please i have a problem with my login page when i hosted my website it is showing me this error please help me here are the errors that it show:- 1. Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/coezelib/public_html/checkstaffLogin.php:10) in /home/coezelib/public_html/checkstaffLogin.php on …

Member Avatar for gabrielcastillo
0
153
Member Avatar for daino

Would anyone know how to install pre-compiled binaries. I want to use GLIB and have downloaded the pre-compiled binaries. I'm running Windows XP and have a MinGW compiler. I've googled this but i'm having trouble making sense of it. There must be a standard way of doing this. Thanks

Member Avatar for daino
0
137
Member Avatar for atiqur_29

here is an example that if i enter id then it will retrieve data from database & print it within form fields. my database has only three column- id, name & number. here is my index.html file: <html> <head> <script> function showData(str) { if (str=="") { document.getElementById("ajax-content").innerHTML=""; return; } // …

Member Avatar for gabrielcastillo
0
249
Member Avatar for venet

Hi, I'm getting an error when trying to deserialize my XML file. The error message is "There is an error in XML document (2, 2)." Below is the code in question and the XML file. Could someone please explain why this is? Thanks in advance! <?xml version="1.0" encoding="utf-8"?> <Objects xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" …

Member Avatar for venet
0
129
Member Avatar for Aamir18

Sir, my site url ix www.site.com/exploits.php?id=1 how can i chng it to www.site.com/exploits/1 plx help me?

Member Avatar for diafol
0
324
Member Avatar for ehpratah

Hi guys need some extra help/eye here to point out what am i doing wrong basically i want to display the data from mydbase.by the way the purpose of this page is for posting article anyway what im trying to do is put a Next and previous navigation bar but …

Member Avatar for ehpratah
0
168
Member Avatar for pjh-10

#include<iostream> #include <iomanip> //#include<fstream> using namespace std; int main() { int input = 1; int matrix[3][4]; int trans [4][3]; for(int i=0; i<3; i++) //This loops on the rows. { for(int j=0; j<4; j++) //This loops on the columns { matrix[i][j] = input; input++; } } for(int i=0; i<3; i++) //This …

Member Avatar for rubberman
0
102
Member Avatar for oateye

I am working on a minesweeper project and everything is working fine EXCEPT for when you click on a cell and it contains a 0 (no mines around it) and it is supposed to open all the other "0" cells around it using recursion. Right now, I keep on getting …

0
295
Member Avatar for gaurangj

import java.io.*; import java.io.Reader; import javax.servlet.*; import javax.servlet.http.*; import org.w3c.dom.*; import javax.xml.parsers.*; import java.net.*; import org.xml.sax.*; public class HelloWorldExample extends HttpServlet{ public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException{ response.setContentType("text/html"); PrintWriter out=response.getWriter(); URL url=new URL("http://cs-server.usc.edu:10724/my1.php"); URLConnection urlConnection=url.openConnection(); BufferedReader in = new BufferedReader(new InputStreamReader(urlConnection.getInputStream())); String xmldata; while ((xmldata = in.readLine()) …

Member Avatar for NormR1
0
174
Member Avatar for izabella.pearson

I've built this up but it will not run completely. When executed the program promts the users for the questions then print nothing of the calendar. this is my code so far. //Izabella Pearson //CIS 150 //Program 6 #include <iostream> //Header Files #include <fstream> #include <string> #include <iomanip> using namespace …

Member Avatar for Ancient Dragon
0
160
Member Avatar for Bowdown28

Hello, I am new to using windows form application in c++ and i am having a problem with making my program work. I have three textBars and one button. The first textBar is for the user to input a double. When the button is pressed i want it to perform …

Member Avatar for Ancient Dragon
0
341
Member Avatar for dbalas

Hi! Im getting this error : Warning: preg_replace(): No ending delimiter '.' found in C:\wamp\www\oa\include\config.inc.php on line 67. This is the line `$file = preg_replace(".*/",'',$e_file);`. tried to put . everywhere but its not so simple for me hahaha... Anny ideas? Thank you!

Member Avatar for LastMitch
0
526
Member Avatar for mahnaz0098

Hello i have a printer cable that i connect to it some LEDs . i want to use CreateFile and WriteFile functions but i don't know that i should use LPT1 and LPT2 or COM1 and COM2 in CreateFile function. h = CreateFile( L"LPT1", // pointer to name of the …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for jude416

Hi guys. I am currently making a Question and Answer multiple choice Program. So far it is good. I used Array to shuffle 50 questions. the problem of the program is it cannot count the right answers and display it. This is the part of the program that has an …

Member Avatar for DeanMSands3
0
283
Member Avatar for taylor.mitchell.353

I have been working on this method for six days without any luck. I should have talked to you earlier. This method is from the book, but it only is deleting California. I cannot figure out why. I tried a couple different methods(recursive and others) and none of them worked. …

Member Avatar for NormR1
0
219
Member Avatar for Noth

Before I start, I just wanted to make it clear that I have never used PHP before, therefore none of the code in this post is mine. It is all from tutorial sites that I am trying to get to work. My mistakes will probably be incredibly basic. Anyway, I'm …

Member Avatar for broj1
0
157
Member Avatar for HunainHafeez

using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class loginApplicant : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void btnsubmit_Click(object sender, EventArgs e) { // String …

Member Avatar for HunainHafeez
0
132
Member Avatar for funtoosh

I'm trying to load an image in an Applet.The code goes fine and the Applet Window starts but it just gives a blank window instead of showing the image.I put the html file,.class file and the image file in the same directory.Can u figure out where I went wrong?? Here's …

Member Avatar for shanker31
0
1K
Member Avatar for arn2025

I want to design a website that a small group of people can use to log incidents, each member can log incidents, i.e incident, status, lastupdated, loggedby, timetoresolve. please assist

Member Avatar for JorgeM
0
87
Member Avatar for mrcniceguy

Is there anyone who can explain to me how can i store image in a folder to the server then the path to mysql. i dont know even how to get started,i will appreciate for your help. Or links where i can find the tutorials.

Member Avatar for yanmyoe
0
5K
Member Avatar for hust921

I am trying to solve a problem 3 on project euler. For thoes who don´t know the site, here is the question I am trying to solve: The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? ---------------------------------------- …

Member Avatar for Adak
0
162
Member Avatar for Aninda

Iam trying to implement ternary tree in java but i have got exception in printnode method..i couldnot figure out the exception it will be great help if any one help me to figure out this Thanks in advance here is the the code exception Exception in thread "main" java.lang.NullPointerException at …

Member Avatar for NormR1
0
191
Member Avatar for muhammad.khan.3576

1. You are required to make a structure named “section”. The names of the two sections are secA and secB. 2. There are two members of this structure i.e. numberOfBoys and numberOfGirls. 3. In secA there are 48 boys and 6 girls while in secB there are 50 boys and …

Member Avatar for Ancient Dragon
0
280
Member Avatar for crownedzero

I see this example frequently and thought I'd give it a shot but I've got something unexpected happening with my Queue. I have multiple threads utilizing my producer class but the output doesn't show that it is being written to by each thread. protected Queue<ProductMessage> prodQueue = new ConcurrentLinkedQueue<>(); @Override …

Member Avatar for ~s.o.s~
0
284
Member Avatar for phpHelp

hello, can any1 me help with live chat module in php for e-commerce site???how to keep the track of visitor's queries and replies in DATABASE? Plz help

Member Avatar for Djmann1013
0
190
Member Avatar for xcindiix

Hi everyone... im using C++ Microsoft visual studio and would appreciate if you can help me out here. Ive been trying to do this the whole day ... and canttt figure it outtt PLEASEE HELPPP !! I am a total beginner so sorry if i have very stupid mistakes. #include …

0
114
Member Avatar for loldafuq

Sorry my English is bad.Im beginner in programing with c/c++ I have to write 2 codes and want some help **1. Write a program with a function main () and selecting a menu of functions: Generate a programming-random number generator data for lottery ticket / max 100 / with six-digit …

Member Avatar for laura90
0
218
Member Avatar for WDrago

All, I am working on a simple program that reads temperature, humidity, and dew point from a sensor and logs the result to a .csv file. I am using netbeans and using alt-enter to surround code with try-catch whenever netbeans suggests. The result is pretty ugly and I can't imagine …

Member Avatar for WDrago
0
1K
Member Avatar for trishtren

Hello i am having problems creating an update query, I have two tables both have an Title column and one table has an ID column. I want to take the ID from the table that has it when the titles of both columns match one of the titles against any …

Member Avatar for trishtren
0
198
Member Avatar for hwoarang69

AffineTransform tx = new AffineTransform(); tx.translate(0, 100); tx.rotate(233); tx.setToRotation(34, 333, 333, 222); g.drawImage(player_image, x, y, x+width, y+height, 50*(int)frame, 147, 50*(int)frame+50, 189 ,Sprite_Sheet.m1); not sure what iam doing wrong. this code below just display image g.drawImage(player_image, x, y, x+width, y+height, 50*(int)frame, 147, 50*(int)frame+50, 189 ,Sprite_Sheet.m1); now how can i flip it …

Member Avatar for JamesCherrill
0
118
Member Avatar for nUmbdA

Hello again, I am working on another homework problem for my fundamentals class and my brain just isn't working. Like always I am looking for direction not for someone to do the work for me. So I have to create a program that asks for 5 test scores and will …

Member Avatar for Lardmeister
0
333
Member Avatar for muhammad.waleed.9699

i try my best but fail,,, department.php <?php session_start(); ?> <!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> <title>Untitled Page</title> </head> <body><pre> <?php echo $_SESSION['userid'] ?> has Logged In <a href="logout.php"><input type="button" name="Logout" value="Logout" style="width: 62px"/></a> </pre> <h2 align="center">Student Clearance Information</h2> <form action="students_clearance.php" method="post"> <table align="center"> <tr> …

Member Avatar for muhammad.waleed.9699
0
232
Member Avatar for tooGr8

Can someone please show me how to get the Odd number using the For..Next loops in VB I have declared the following; Dim intCounter As Interger Dim intStartValue As Interger Dim intEndValue As Interger Dim intSum As Interger intStartValue = 0 intEndValue = 50 intSum = 0 Iam trying to …

Member Avatar for khair.ullah
0
76
Member Avatar for KRUX17

Hello, I'm having trouble with the ArrayList add method it seems to be giving me an error in BlueJ. It say's no sutiable method found for add(int) method java.util.ArrayList.add(int,Order)... And how would I create a new object inside a method which will add the parameters to the arraylist. Thanks Here's …

Member Avatar for KRUX17
0
175
Member Avatar for angelo.uknown

I am new to this but i have downloaded and installed GMP library. The problem is that i have no clue on how to use it! Want to get a number larger than 18*10^18 (unsigned long long) but i dont know how! I am confused with all the mpz and …

Member Avatar for deceptikon
0
246
Member Avatar for Kingcoder210

Hi! How should I get date, month & year in ascending order there in Crystal report? I have written following code there in my form to show report. Imports System.Data.SqlClient Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Public Class Income_Sheet_Report Private Sub Income_Sheet_Report_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load cmbisrbdt.Items.Clear() …

0
128
Member Avatar for hwoarang69

i create a program using java and jframe. now how can i put it on desktop so that i dont have to keep on opening eciplse to run the program. is there a way to put it on desktop with a icon. so i can click it any it will …

Member Avatar for JamesCherrill
0
280
Member Avatar for Gus_19

I have a loop to look for the key i.d. "veh2." The loop is there because even though the next line in the text file is where it should be, it is not there in all cases. The problem I'm having as far as wording or a way to go …

Member Avatar for Gus_19
0
134
Member Avatar for rizzi143

hi. i have a html form that allows user to browse and upload the code using the upload button ( which runs php). the files gets uploaded. now i need to either change that existing php file or add a new button in html file and compile and run the …

Member Avatar for diafol
0
280
Member Avatar for VEL Hassan

Hi, How to downgrade php from php 5.3.6-13 to Php 5.2.13 version? Thanks in advance. Velhassan.

Member Avatar for diafol
0
94
Member Avatar for chandbasha

[CODE] Options +FollowSymLinks RewriteEngine on RewriteRule ^100bestbuy/products/(.*)/$ /100bestbuy/search.php?categoryId=$1 [L,NC] RewriteRule ^/100bestbuy/search-(.*)/$ 100bestbuy/search.php?id=$1 [L,NC] RewriteRule ^/100bestbuy/product-([0-9]+)/$ 100bestbuy/product.php?id=$1 [L,NC] RewriteRule ^/search/(.*)/$ search.php?categoryId=$1 [/CODE] any thing not working please tell where to modify the code

Member Avatar for diafol
0
255
Member Avatar for joseph.akinadewo

Can someone help me with this php script for form processing. I use the script for processing my contact form, but I could not received a reply from my contacts. instead whosever contact me, the system returns back to me the followings thereby making it impossible for me to actually …

Member Avatar for joseph.akinadewo
0
326

The End.