199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for heni_pro

[code]if($region==region){ $result = mysql_query("SELECT * FROM places"); $row = mysql_fetch_assoc($result); echo "zone: ".$row['zone']."; }[/code]

Member Avatar for Lejonet
0
81
Member Avatar for hny_lyn

hello to all!!! i really don't have any problem this time, but there's something i wanna learn more about! we are discussing classes and inheritance now!! my professor have given us quite examples of it....but it wasn't that clear!! can i ask for a simple codes that implements a class …

Member Avatar for javaAddict
0
196
Member Avatar for yasmena

this page opens in a pop up where it fetches an image from the Database ...everything works perfect except for passing the id part.. i'm tired of trying and i kept 5 days googling but could not solve it !! any help would be appreciated .. here's the line that …

Member Avatar for Lejonet
0
153
Member Avatar for tomii

Hi All, I am using VB6 with mysql database recently. But I am having problem with showing the text type of mysql field value in a Msflexgrid. Msflexgrid1.TextMatrix(i, 3) = "" & rdoRS.rdoColumns("products_publisher").Value This line gives error message. Anybody could help me? Many thanks. Tomii

Member Avatar for tomii
0
86
Member Avatar for oali

hi everyone i really need help with my problem, i have created a full online tutorial using applets however one of my html pages containing this particular applet will not show the applet when viewed in any broswer. The applet contains an image and without the image the browser shows …

Member Avatar for madhavipoudala
0
100
Member Avatar for ocreds

I'm new in java programming but somehow I understand little especially basic because I have a background in Vb6 I find it difficult because it has lot of java keyword that I dont understand. Now, I need your help to defend this program in our class. Help me please. If …

Member Avatar for javaAddict
0
219
Member Avatar for dav555

I have a file containing different tags and datas like: VERSION: 1.1.1 NAME: xxx VALUE: 1.5 START_IMAGE ‰PNG.... END_IMAGE i can't change this file....it is not mine... But i need to read the png image between the START_IMAGE and END_IMAGE tags. I don't know the length of the image-data. How …

Member Avatar for dav555
0
106
Member Avatar for Naween

Does java has toString function? eg : txtamt.setText(toString(num)); But it doesn't work. Plz give me the right method.

Member Avatar for Miyuki Suzuki
0
79
Member Avatar for m_banerjeein

Hi All Guys few quick questions on C.. 1. What does "static void <function_name>(argument1,argument2)" means.. 2. Whether this would give a compilation error if i write this piece of code... int a =1 , b=2,c=3 ; (a=b)=c;

Member Avatar for jephthah
0
129
Member Avatar for jorgeflorencio

[QUOTE]Hello everyone I have the code that allows me to colect values acording if its Fail or Passed[/QUOTE] [CODE]package spimonitoring; import java.io.*; import java.util.ArrayList; import java.util.Arrays; import java.lang.reflect.Array; public class InspectionResults44{ public static final byte HEIGHT_AVG_RESULT = 6, HEIGHT_RANGE_RESULT = 11, AREA_AVG_RESULT = 16, AREA_RANGE_RESULT = 22, VOLUME_AVG_RESULT = 29, …

0
128
Member Avatar for StayElla

Is there a substring code to find out only the first letter of a word? I know that sr.ReadLine.ToUpper will read all the letters capital, but can it read just the first letter?

Member Avatar for QVeen72
0
115
Member Avatar for masterjiraya

[code=cplusplus] #include <iostream> #include <string> #include <stack> #include <cctype> //alnum #include <cassert> //assert using namespace std; #include <sstream> string infixTOposfix(string); int evaluarRPN(string); int main () { // main began string infix, posfixWspaces, dummy; double result; char repeat; do { cout << "\nPlease enter the expression in INFIX: "; getline(cin,infix); posfixWspaces …

Member Avatar for WaltP
0
130
Member Avatar for manzoor

[CODE]#include <iostream> #include <vector> using namespace std; // global constants const char X = 'X'; const char O = 'O'; const char EMPTY = ' '; const char TIE = 'T'; const char NO_ONE = 'N'; // game function's prototypes void displayBoard(const vector<char>& board); // function that displays the game …

Member Avatar for WaltP
0
125
Member Avatar for god_1896

hi all; [QUOTE]I apreciate all the replies i had been read, but seems i got problem in sending an email, well this is my problem. I could not display the proper format after i send the email. [/QUOTE] [QUOTE]Im looking into this kind of format after i send the email. …

Member Avatar for langsor
0
116
Member Avatar for justted

Hello, I have a virtual pet website that has a soup kitchen which should only open at certain times during the day! However, I want to be able to add more timings to the kitchen opening hours but for some reason the script doesnt execute the IF statement and therefore …

Member Avatar for R0bb0b
0
119
Member Avatar for pipisumthin

Right now I am learning how to use C++ programming on Linux. I just learned how to copy a file, now the question is, how can you tell if a file has been copied or not? I think I need a command or a function that allows me to check …

Member Avatar for WaltP
0
258
Member Avatar for me_roy

Dear All, I got difficulties here related with extracting max and min value from every column in array. So far i just can extract max-min value at a time by changing column index, stupid approach..eeeh, but i do it just for testing that code could extract right max and min …

Member Avatar for WaltP
0
435
Member Avatar for jonabie

Hey could someone help me bout my problem.... can someone tell me how to make an asterisk frame using for loop statement in C++ and also 1 thing.... how can i display an input letters into an asterisk... eg.. username: bulbulito password: ********

Member Avatar for jonabie
0
268
Member Avatar for blrjohn

Hello guys, I m very much new on C. Need all of your help to improve. Right now I m getting one problem. I m writing the very basic program.. [code] #include <stdio.h> int main() { printf("Hello World!\n"); return 0; } [/code] When I complie it is showing success. But …

Member Avatar for Aia
0
121
Member Avatar for wiccanwolf

Hi, I was wondering if someone could look over my coding? x3 I'm really, really new to PHP (just learning, in fact) and a friend gave me this sample code, but it doesn't seem to work... could someone please help? Thank you so much. <3 Here is the full code: …

Member Avatar for god_1896
0
204
Member Avatar for ficus

Hi Guys hope you can help me I am using the following AJAX code to get SUB-Buttons. If no new button is selected I need the main button to revert back to the originally selected main button on mouseout with a timeout function or delay please help. so the code …

Member Avatar for upside_down2000
0
351
Member Avatar for abu taher

I make a project with a access file with back up. But I want to create same file from my project. I mean when I need i make the same file from my project. help me

Member Avatar for abu taher
0
109
Member Avatar for nixon623

Hi,im new to c++, i use Dev-C++ to compile my programs i have little problem with ofstream function,i think you guys can help me What program does? Lets say my Computer name is nixon-pc. Program displays text in cmd: "File nixon-pc.html has been created" and than create file C:\nixon-pc.html . …

Member Avatar for VernonDozier
0
145
Member Avatar for veledrom

Hi, Code below sends values to the test1.php with button. Is there any way to use <a> link to do same thing? Thanks [code] <form method="post" name="form"> <input type="text" name="name" /> <input type="submit" name="submit1" value="submit1" onclick="javascript: form.action='test1.php';" /> </form> [/code]

Member Avatar for langsor
0
7K
Member Avatar for HLA91

Hi all I copied the source code for a simple text editor from [URL="http://www.leepoint.net/notes-java/examples/components/editor/nutpad.html"]http://www.leepoint.net/notes-java/examples/components/editor/nutpad.html[/URL] I tried to modify it slightly by adding a help column to the menu bar so you would click Help> then a drop down list would appear with About and you click that and a frame …

Member Avatar for HLA91
0
164
Member Avatar for loimarie

hi to everyone!i need help for my assignment in our numerical analysis.our instructor asked us to solve a linear equation using turbo c language.Can anyone help me with this problem,a simple sample code will do.Ex.f(x)=2x^3+x^2

Member Avatar for jephthah
0
525
Member Avatar for scatterjoy

I have a FileSystemWatcher in my code, and the event it's linked to isn't triggering when a file is changed. I watched it in Debug, and the path, notify filter and EnableRaisingEvents are all being set correctly. I've looked at several code examples for FileSystemWatcher and I'm not seeing what …

Member Avatar for dickersonka
0
157
Member Avatar for flecture

i created a header file named "pop.h" and saved in tc->include folder.......the codes included in header file is shown below [code]#include<stdio.h> #include<conio.h> int ssipower(int,int); void main() { clrscr(); printf("power=%d",ssipower(3,3)); getch(); } int ssipower(int a, int b) { int i,c=1; for(i=1;i<=b;i++) { c=a*c; return c; } [/code] when i tried to …

Member Avatar for jephthah
0
83
Member Avatar for cellus205

Im having trouble trying to pass a parameter to a SQL query that I am trying to run on a DataTable, that Im using to Dynamically populate a treeview. Im not having any trouble filling the first nodes, but to fill the second nodes, I have to use a query …

0
304
Member Avatar for welbyobeng

Hi, I am trying to create a script which checks the "users_theme" table and finds all the user_id's which exist in this table and not the "users" table. Once I have those id's, I want to run a foreach loop to delete all rows with that user id from the …

Member Avatar for langsor
0
86
Member Avatar for MaestroRage

I am trying to get the main to read in a number, and use that number to do a mod calculation. However my best efforts are giving me garbage values. I am sure I am not using the pointer correctly, yet my efforts have gone unrewarded. How can I get …

Member Avatar for jephthah
0
214
Member Avatar for maruthuit2k5

I want to validate [B]contact number [/B]field.That field allow [B][COLOR="Red"]only number[/COLOR][/B].how to i validate use javascript

Member Avatar for anuj_sharma
0
80
Member Avatar for xgreedyx

Hello everyone My name is greg and i'm please to find your community. I'm in serch of a Admin Bot I can use to monitor our home channel and interact with our webpage also. I'm not a programer and have tryed a little bit but for what I need i'm …

Member Avatar for SavageDrow
0
318
Member Avatar for nidhikayadav

Hi, I am using apache server on my local system [http:\localhost\xy]. Problem is like:- i have made radio buttons, push buttons and associated actions that are handelled using YAHOO.util.Connect.asyncRequest. Then the actions like displaying results , poping up of other dialogs are handled via mozilla but not through IE. Nothing …

Member Avatar for langsor
0
94
Member Avatar for _tim

Hi All - Unfortunately I don't have code to paste for you, but I'm hoping perhaps someone will be able to narrow my focus a bit on this one... I developed a windows forms app that has a very strong data dependency. When deployed, it works as expected if the …

Member Avatar for dickersonka
0
77
Member Avatar for lil_panda
Member Avatar for atish00

Guyz I Don't want to write another array function using VOID I wanna do it using pointers for the extra grades...... can ny one give me a clude or just6 a sample code snippet on how to return a 2-D array ?? I have to fing sum of upper half …

Member Avatar for atish00
0
272
Member Avatar for Alex Edwards

I'm having some trouble on deciding to purchase Scott Meyer's Effective/More Effective C++ books or Herb Sutter's Exceptional/More Exceptional C++. I'm assuming both cover the same concepts, but I could be wrong. Opinions/Votes please from C++ programmers that found the one they read useful. There's also an option for both …

Member Avatar for Alex Edwards
0
270
Member Avatar for raj416

I have a string variable .. i need to append some value in front of this string ... i tried pad left function.. but it was not working for example string s= "sample" now in want to insert "daniweb " , so my output of string s will be "daniweb …

Member Avatar for nvmobius
0
678
Member Avatar for Saddi

I wanna make a program for a little shop the progs idea is to calculate the daily amount and the items and monthly report but I don't know where to start please help me :) :)

Member Avatar for Saddi
0
85
Member Avatar for y_itay

Hey guys, I was trying to find some way to filter and sort data in a Generic Collection of List<> Type but couldn't find any way to do this. I have Tried to use [B]BindingSource [/B]which didn't really filter any of the data in my collection. Anyone have any idea …

Member Avatar for y_itay
0
636
Member Avatar for STUDENT#101

I wish to create a program that will be a quiz game (multiple choice) questions I need to be able to display it and the options and allow the user to use the mouse to click to the option which he thinks is the correct answer. My answers will be …

Member Avatar for STUDENT#101
0
141
Member Avatar for tan4ik

Hi everyone, I need to create an image scroller in my .NET application. I've found a way to do it using html (with the marquee tag) but the problem is the pictures displayed are static. Meaning I have to define them in the code. I need the image scroller to …

Member Avatar for nvmobius
0
150
Member Avatar for kaloon

Hi every body I have project is like book electronic . any words in this book I can translate it into more than one language . The idea behind this project is imagine page of any a book . assume this book wrote by English language , the page's consist …

Member Avatar for nvmobius
0
130
Member Avatar for Wiizl

I'm trying to make basic windows service that should write into application event log some text once every minute. So I'm using a timer. But the Tick event doesn't fire.. I've tried all kinds of timer1.start() or timer1.enabled=true ... but nothing works. Everything with service itself is ok- I mean …

Member Avatar for nvmobius
0
557
Member Avatar for pejy69

Hi My name is PJ. I am a adult student. I have read the rules regarding homework for those who are not willing to help themselves and i agree, but i have tried for the last few days to work this out and cant understand what i am doing wrong, …

Member Avatar for nvmobius
0
109
Member Avatar for Sundarararjan

Also do tel me what is the process of creating functions in seperate files and referencing them under a single file. I use a dev-C++ for my coding

Member Avatar for Salem
0
78
Member Avatar for Naween

I created a java Applet. It has an error. The error is applet not initialized. I need urgent help for this error. I created the interface using netbeings & coppied the code to the Jcreater. :(

Member Avatar for Ezzaral
0
92
Member Avatar for turingmachine

Please help... I'm new to this topic. What is the best (are the good) SMS Java APIs available? (A SMS Java API that is comprehensive and/or easy to understand/integrate.) Is the SMSlib / smslib.org ok to use? (I'm trying to make a very simple program/connection between my pc/Windows XP to …

Member Avatar for peter_budo
0
98
Member Avatar for dumbokia

i need help on this question. any kind souls can help me? with great thanks. ive already done some part of it but still cant get it working [code=cplusplus] #include <iostream> #include <string> using namespace std; class court { protected: string name, ic, telephone, fn, day; int time; public: court(){}; …

Member Avatar for William Hemsworth
0
105

The End.