199,114 Archived Topics
Remove Filter ![]() | |
[code]if($region==region){ $result = mysql_query("SELECT * FROM places"); $row = mysql_fetch_assoc($result); echo "zone: ".$row['zone']."; }[/code] | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
Does java has toString function? eg : txtamt.setText(toString(num)); But it doesn't work. Plz give me the right method. | |
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; | |
[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, … | |
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? | |
[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 … | |
[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 … | |
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. … ![]() | |
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 … | |
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 … | |
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 … | |
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: ******** | |
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 … | |
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: … | |
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 … | |
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 | |
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 . … | |
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] ![]() | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 | |
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 … | |
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 … ![]() | |
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 … | |
How do I convert a char* or an unsigned char* to an unsigned int? | |
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 … | |
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 … | |
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 … | |
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 :) :) | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 | |
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. :( | |
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 … | |
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(){}; … |
The End.