64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for samuel_1991

Hi everyone, I am trying figure out is there a "more proper" way to show the multiple lowest values in an array. My array has 2 of the values that are lowest among the 8 values. I would like to know is there a way to show both of them …

Member Avatar for samuel_1991
0
136
Member Avatar for god_1896

hi all; I have a problem in diplaying the city name. pleas cheack the line of this code. [QUOTE][CODE]$result=city::getDisplayName('$id'); echo $result;[/CODE][/QUOTE]

Member Avatar for Shanti C
0
61
Member Avatar for brr

in my [B]jsp [/B]form , there is one dropdown list , if select one particular list item have to open new pop up window which doesn't have any menu's, address bar etc., [B]upto this i completed using window.open()[/B] [B] i got problem from now[/B] but when i fill the textbox …

Member Avatar for peter_budo
0
92
Member Avatar for yanie

[ATTACH]6798[/ATTACH] i hv an interface sumthing like this. i/m using VB6 and i wanna find record in MS Access using find command button. firstly user will key in an employee number as a key to find that user record in MS Access. after that, the data will appear in the …

Member Avatar for vprakash
0
194
Member Avatar for Scottmandoo

Can anyone tell me why this code isnt working? [CODE=php]<?php $username = $password = $database = $email23 = $_POST['email']; $con = mysql_connect('localhost',$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $sql = "SELECT * FROM `user_user` WHERE `email` = '$email23'"; $query = mysql_query($sql) or die('Error: ' . mysql_error()); $r = mysql_fetch_row($query); …

Member Avatar for Scottmandoo
0
286
Member Avatar for esy928

Good Day! I'm working on my homework for the past 5 hrs now, i really need some help. I need to create a program that will generate a random point on the Panel. the problem is i cant seem to make the point appear on my panel. any help is …

Member Avatar for esy928
0
80
Member Avatar for CoolGamer48

I'm writing a program for a contest (it's a demo, not the actual thing - so I'm not cheating by asking for help - and my question isn't directly related to the algorithm they want anyway). To submit a program, you send them the .cpp file, and they execute it …

Member Avatar for CoolGamer48
1
135
Member Avatar for fmwyso

This is just for my information and I don't really have much need for it... But, I would like to know anyway :D. #1. Is a for or while statement faster than one another? As in, if someone put a for would it be faster (application-wise, not when their typing …

Member Avatar for fmwyso
0
108
Member Avatar for Jennifer84

I have a general question. I am trying to read a file named: 1.0.0.txt but this seems not to be possible. The MessageBox shows emty. If I trying to read a file ex named: File1.txt it works. So I wonder why it is not possible to read this file named …

Member Avatar for Jennifer84
0
158
Member Avatar for ansari.wajid

I have a table with 3 columns as follows: lower upper id 12 20 100 100 150 200 I want to select range of numbers based on lower and upper column. For example I want to display numbers between 12 to 20 or from 100 to 150. How to do …

Member Avatar for ansari.wajid
0
130
Member Avatar for QuantNeeds

Help the error states: .cpp(31) : error C2337: 'count' : attribute not found referring to new[count] = value; as the problem. My code is the following: [code] int main() { int size = 20; new double[size]; for(int count = 0; count <= size; count++) { int value; cout << "Enter …

Member Avatar for QuantNeeds
0
477
Member Avatar for subratcall

Hi, I am a new bee in PHP , I have a asignment to write a online polling script. Can u please help me get the script to refer and write a fresh code as per my requirement

Member Avatar for subratcall
0
64
Member Avatar for kux

This is cited from Stroustrup third edition [CODE] void f () throw (x2 , x3 ) { // stuff } is equivalent to: void f () try { // stuff } catch (x2) {throw; } / / rethrow catch (x3) {throw; } / / rethrow catch (...) { std: :unexpected() …

Member Avatar for kux
0
107
Member Avatar for emilio

i am trying to print an array list in a jsp page like this: [CODE]<body> <FORM METHOD="POST" ACTION="index.jsp"> <input type="text" name="text" value="" /> <input type="submit" value="add" /> </FORM> <jsp:useBean id="tomer" class="java.util.ArrayList" scope="session"/> <jsp:useBean id="r1" class="java.util.Iterator" scope="session"/> <% if (request.getParameter("text") !=null) {%> <% tomer.add(request.getParameter("text"));%> <%}%> <%r1 = tomer.iterator();%> <%while(r1.hasNext())%> <%{%> <%r1.next();%> …

0
92
Member Avatar for Thirusha

Does anyone know how to change the look of the java files that are listed when you expand the java folder in the tree structure of the database? i have these numbers infront of the class file, but have no clue what they are, they are not there in toad(i …

Member Avatar for Thirusha
0
142
Member Avatar for jeetudaljit

I am new to JSP. Please guide me which e-book or book should I read so that I can learn from basics to advance skills and develop a web site by own. Please help..!

Member Avatar for peter_budo
0
78
Member Avatar for ishlux

Hi, here is the code for page navigation, its working fine but , if there are 4 pages , each page is displaying 3 records per page, if we go to 3rd page, and click on the subject it will display the contents but it will automatically come to the …

Member Avatar for vicky_rawat
0
126
Member Avatar for MDGM

Hi all, I have a registration form on my website which once filled in, it sends an email to the user with a link to "verify their email address". This link holds all of the information entered by the user in the form and looks something like this: [url]http://www.example.com/confirm.php?firstname=john&lastname=smith[/url] When …

Member Avatar for MDGM
0
169
Member Avatar for kevin wood

i have just had to go into the backend of an old site to fix the mysql db as some had deleted the wrong db. i have got most of it working again now but did not know what this line of code is doing. [CODE]$sql = "SELECT id,thumb,image,designer,title,(total/freq) AS …

Member Avatar for kevin wood
0
87
Member Avatar for krebstar

Hi, I'm just starting out with programming in C++, and would like some clarification on something.. What is the meaning of the '&' in this line: [code=c++]void Stack::push(const StackElement & value);[/code] I would assume that it takes a reference as a parameter, however, why is it that it works when …

Member Avatar for sarehu
0
149
Member Avatar for Pgmer

Hai all, I want to get to know about the file summary like last saved by, last printed on, authour etc... How can get it using file info function. Thanks in advance.

Member Avatar for Pgmer
0
97
Member Avatar for abu taher

i using acsess 2003 or xp. but when i click in record source property to show the table a massage was shown. but when i use office 97 then there was no problem

Member Avatar for debasisdas
0
248
Member Avatar for missaaliyah

Well my site is a music lyrics site, and included an option to embed youtube videos with each lyric added. It came with one lyrics, which you can see here. On the left of this page, the youtube video fits in a box. [url]http://music-and-lyrics.info/index.php?lyric_id=1[/url] Now I added a new lyric …

Member Avatar for missaaliyah
0
196
Member Avatar for grr

[code=php] <?php $result = mysql_query("INSERT INTO ".UPREFIX."items` VALUES ( '', '".$item_name."', '".$item_descr."', '".$item_action."', '".$item_rarity."', '".$item_value."', '".$item_folder."', '".$item_image."', '".$item_cat_id."', '".$item_visibility."')"); ?> [/code] I didn't know if this would be php or MySQL. I'm getting returned the following error: You have an error in your SQL syntax; check the manual that corresponds …

Member Avatar for grr
0
96
Member Avatar for rockhauler

Hello ya'll, I stumbled over here looking for some help with Bash shell scripts.. See, the problem was I needed to copy a data DVD into (onto?) the system file space. Since this is a virtual machine, copying a DVD takes a very long time, the drive gets hot, starts …

Member Avatar for rockhauler
0
170
Member Avatar for missaaliyah

As far as I know, I have successfully completed all config files so the site should load, but for some reason, the site doesn't. Here is the error message I get instead. [CODE]array(3) { [0]=> array(4) { ["file"]=> string(74) "/home/imedia/public_html/music-and-lyrics.info/functions/main.function.php" ["line"]=> int(10) ["function"]=> string(10) "mysqlQuery" ["args"]=> array(1) { [0]=> &string(20) …

Member Avatar for missaaliyah
0
113
Member Avatar for death_oclock

I am using DirectDraw to make a game and I am running it in 8-bit color mode. What I am having a problem with is making a macro to convert RGB values into a single 8-bit color. Here is the macro: [CODE=c++] #define RGB_8BIT(r, g, b) ((r & 224) + …

Member Avatar for chaosprime
0
159
Member Avatar for rich_m

I am stuck between deciding between MySql and Oracle, The reason being, I want to know how long it will take for MySql to reash the level of the current Oracle, if its gonna take more than a year....I guess Oracle is worth the money else not. Any views on …

Member Avatar for buddylee17
0
189
Member Avatar for HLA91

Hi All Im working on an exercise from a book im learning java with. It is a console app, i have to make a menu 1-4 and then evaluate what number the user entered, carry out the command and then return to the menu. My problem is that i tried …

Member Avatar for HLA91
0
155
Member Avatar for kneel

"Do you agree or disagree with the following statement: "since we deliver multiple increments to the customer, why should we be concerned about the quality in the early increments ---we can fix problems in later iterations "?

Member Avatar for chaosprime
0
154
Member Avatar for findlay

Hi all, I have encountered a peculiar problem when performing some simple arithmetic in a program I am developing. As the function of the program is pretty specific to my field I have included a smaller program which illustrates the same problem without the technicalities. Given a function (in the …

Member Avatar for Salem
0
149
Member Avatar for TheBeast32

Hi, I'm reading Programming Windows Fifth Edition by Charles Petzold. In the part I'm reading, it talks about GDI functions. I'm trying to get the pixels that are 1 to 100 + the mouse x coordinate and the y coorinate, then draw them on my window. It's hard to explain. …

Member Avatar for TheBeast32
0
144
Member Avatar for nish88

have anyone ever creates navigation buttons such as next,previous in coldfusion? can i see ours if you have created one?

Member Avatar for cmhampton
0
294
Member Avatar for sidatra79

Hallo everybody. I am a student trying to extend my knowledge in cPP while using UML and system modelling. I created a "vector template class" using the rhapsody system modeling tool for storing different data types. I used the template to store int and float data types successfully using either …

Member Avatar for sidatra79
0
211
Member Avatar for 4raghava

I use Win XP+IIS 6.0.I have deployed a web site in my local IIS and when tried to access it from another system in my network it is throwing 'Page cannot be displayed' error.I have given read and execute permissions to that remote login credentials. Please help..

Member Avatar for 4raghava
0
91
Member Avatar for DonGlover

I am trying to use ajax to 'embed' a youtube video on page. I make my calls and put the responseText to the innerHTML. But the embed object does not appear. I have verified that I can write to the div tag by ID (I pumped some straight text into …

Member Avatar for DonGlover
0
74
Member Avatar for JackDurden

When I run this program I can only access the first row of data. Can any one help so that I can access all the lines? I am trying to store numbers into a 2-dimensional array. [icode]#include <iostream> #include <fstream> #include <string> #include <iomanip> using namespace std; int main () …

Member Avatar for joshmo
0
304
Member Avatar for ymf

Hi I have a simple code snippet here that writes to a file called Student.txt : [CODE="java"] import java.io.*; import java.util.*; public class Streams { public static void main(String[] args) { String studentFirstName = "Bob "; String studentLastName = " Smith "; String finalGrade = "A"; try { PrintWriter out …

Member Avatar for ymf
0
123
Member Avatar for Shanti C

I am newbie to java implementation... can any one tel me the oops concepts with real time examples.... thanks in advance...

Member Avatar for Shanti C
0
89
Member Avatar for robertmacedonia

Hi, I would like to ask you for help in converting this code from C to C++. It's my little friend 's homework, but I can't help him 'cause I know nothing about C :( In fact, I just can't figure the "scanf" part out, I think the other part …

Member Avatar for Tilir
0
177
Member Avatar for bulger2503

Hello. Currently i am creating a small application that works around packets. The packets are sent every 600ms. Now my quesition is this: Currently i have this (An example) [code="syntax"] public class Example { private int exampleInt = 0; public void setExample(int i) { exampleInt = i; } public void …

Member Avatar for bulger2503
0
144
Member Avatar for bloody_ninja

I am trying to create a program that generates random passwords using the characters A-Z and the numbers 0-9. It will also have an input of what you want the length of the password to be. What I don't know how to do is to create a method to choose …

Member Avatar for Alex Edwards
0
641
Member Avatar for veledrom

Hi, I retrieve all students from database with adding submit buttons along with them. For example; when i click on 3rd student’s submit button, it gives me information of last retrieved student. How can solve this problem? Note : All action is in same page. Thanks [code] <?php while ($myArray …

Member Avatar for veledrom
0
99
Member Avatar for rejisha

i have two text boxes with two date pickers. One text box and date picker for start date and another two for end date. First the values of two text boxes are current date.If we select a particular date using date picker the value will be changed corresponding to that. …

Member Avatar for rejisha
0
95
Member Avatar for odysseous

The code below gives me "Warning: Wrong parameter count for mssql_bind() in" [CODE] $action="L"; $M_ExhibitionID=$_REQUEST[M_ExhibitionID]; $areaid=1; $LngCode="el"; $sproc=mssql_init( "sp_php" ); mssql_bind($sproc,"@action",$action,SQLCHAR,false,false); mssql_bind($sproc,"@M_ExhibitionID",$M_ExhibitionID,SQLINT4,false,false); mssql_bind($sproc,"@areaid",$areaid,SQLINT4,false,false); mssql_bind($sproc,"@lang",$LngCode,SQLVARCHAR,false,false); $GET_EXHIBITS=mssql_bind($sproc); [/CODE] what is my wrong?

Member Avatar for odysseous
0
94
Member Avatar for R0bb0b
Member Avatar for R0bb0b
0
533
Member Avatar for CoolGamer48

I'm having problems creating an array with a dynamic size using new. Here is the relevant code: [CODE] enum LandCondition { Bad, Good }; //... int IMG_WIDTH, IMG_HEIGHT; LandCondition* land; //... land = new LandCondition[IMG_WIDTH][IMG_HEIGHT];//causes errors [/CODE] The errors VC++ gives me are: error C2540: non-constant expression as array bound …

Member Avatar for CoolGamer48
0
110
Member Avatar for Wiki_Tiki

Hi, I need to know this urgently. My friends like to use my software on their computers, and after they set it up with the setup wizard, when they run the actual program, half of them get an error on their computers saying 'The application has failed to start because …

Member Avatar for Tigran
0
142
Member Avatar for bdcd

Hello I'm new to PHP, here's what I'm haveing trouble with. I'm using php to display a gallery in a directory and delete the images, but I get an error when I try to use the delete button and I don't know why or how to fix it, can anyone …

Member Avatar for bdcd
0
1K
Member Avatar for antwan1986

Hi all and thanks for reading. I have a simple script that works in IE and Safari, but not FF. Basically when I click a button I want an image to appear dynamically via JS. This is what i've got (watered down) [code] **JS function called Contact** var loadingImg = …

Member Avatar for antwan1986
0
2K

The End.