199,112 Archived Topics
Remove Filter ![]() | |
PHP error debug Error: mysql_num_rows(): supplied argument is not a valid MySQL result resource Error type/ Nr.: Warning - 2 File: /data/www/manager/includes/document.parser.class.inc.php(797) : eval()'d code Line: 58 Here's the code: [code=php]<?php /******************* parameters $details==0 if the person wants just the summary $details==1 if the person wants to see the course … | |
Hey guys, is there something special I need to do to access the RS232 port in Linux from C#? | |
Hi all, As i'm new to VB 6.0, anyone could help me to find out this issue? how to change the color of text which is in textbox? thanks in advance :cool: | |
I want to the format of Dt Picker with link microsoft access. I write in format property dd/mm/yyyy. and the month is show, but this didn't link access . why?. any body help me to how the format link of Dt Picker with access. This project is important for me....... … | |
I have a software that use command line arguments to create files. You go to the directory, type posidbfw /alt 1 1, it creates the files. I want to call this from one line. I was using subprocess.Popen, but it doesn't see the arguements, any help? | |
Im trying to find out if something is in this linked list function and if it is to return true and if not return false. How do you find out if ThingType thing is in the list? [CODE]bool Thelist::Search(ThingType thing) const { Node* current; current=listPtr; while(current->thing != listPtr->thing) { } … | |
hi how to convert timestamps to date in oracle, and please give me example sql statements help me thanks bala | |
Trying to create a zip file with yesterdays date. I think I got everything, but I am getting module has no object attrib error. Any ideas? [code] import os import zipfile import datetime today = datetime.date.today() yesterday = (today + datetime.timedelta(days=-1)) file = zipfile.Zipfile("CT" + yesterday.strftime('%m%d%y') +".zip", "w") files = … | |
I need major help. My program will compile but when I run it I get a segmentation fault. I don't know how to run a debugger with multiple files. Could someone please find when this error occurs? My project is due in 2 hours. | |
Hey All - i am currently working on an assignment for a computer science programming class. I have to find and print all the prime numbers from 2 to N (N being a number read in from file). I have some code but i do can not get my mind … | |
Hello everyone, I need some assistance in finding an error in my Delphi code. (I am new to the Delphi programming). I am using a Delphi application to build an excel spreadsheet. When a part_number is entered for the first time(assuming it exists in db) application always runs , the … | |
here is the assignment . To make telephone numbers easier to remember, some companies use letters to show their telephone number. For example, using letters, the telephone number 438-5626 can be shown as GET LOAN. In some cases, to make a telephone number more meaningful, companies might use more than … | |
I need an array listing the index number for a list of n elements and when I sort it in descending order, I need that same number to be with the element. Here's the code I have so far: [code] #include <iostream> using namespace std; int Partition(int low,int high,int arr[]); … | |
Hello. I am Marc Trepanier. I came to this site looking for random generators. I have a unique job and a need for a generator that can cover nationality, clan affiliation, basic combat skills, and various other variables. Is there anyone here willing to help in this? Thank you. | |
I am using the following refresh script. It works great in IE but not in FF. Does anyone know how I can make this work in FF? Is it a setting in the browser or the actual code? Thanks DS [code] <script> <!-- /* Auto Refresh Page with Time script … | |
I had a hard time understanding the concept of memory in a computer, but something my Instructor told me gave me some hope. He mentioned that memory isn't really created upon invocation of "new" in C++, and stated also that memory isn't really removed upon the invocation of "delete." I … | |
Code: [<?php Mail(âinfo@dating-advice-for-women.comâ, âThis is the message subjectâ, âThis is the message bodyâ); ?>] Error message: "Parse error: syntax error, unexpected '@' in /home/dating8/public_html/newland/messagesent.php on line 2" The server is SMTP email-enabled and the folder on the server has permission to send SMTPmail messages. The hosting company reply: "Please ensure … | |
im sorry but i need help in plotting this graph on python, been doing it for the past 6hrs and i cannot generate the graph, would really really appreciate some help in it. [code=python] n=range(1,201,1) L=0.016 data=[] aetemplist=[] dxlist=[] ot=[] nlist=[] for i in n: etemp = finTempNum(i) ot.append(etemp) dx=L/i … | |
Hey guys, this is my first post and I would like to say thank you to all of you guys out there that are doing such a great job with helping out on this forum. Anyway, lets get to the question. Why, in the code below, does the char values … | |
Hi everyone, I am trying to make a login form for my site. I am using the About.com code as a template of sorts. You can find that here: [URL="http://php.about.com/od/finishedphp1/ss/php_login_code_4.htm"]http://php.about.com/od/finishedphp1/ss/php_login_code_4.htm[/URL] I have since changed this code to make it easier for my clients to log in. I want them to … | |
Hi all , what i want to do is to resample my large image into smaller resolution image and save it on the server, but the output image is corrupted when i open it in windows image viewer :(:( please help me , here is the code . [CODE=php] // … | |
I need to write a stored procedure to analyse appointments for the last 12 months. I need to get each salesperson (by ID) and for each person carry out a count of the number of appointments and count them by outcome (sale, second meeting , failure etc.) and then display … | |
I'm having trouble validating my form for missing information. Tried many different functions but when submit the form it will reset the form or it will try to send it. I'm lost any help please. Thanks in advance [code=syntax] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" … | |
Hi, I'm working on a program that models the trajectory of a baseball with drag. The program compiles okay and links okay. However, during runtime I get a segmentation fault. I remember when I was learning how to program in C several years ago that segmentation faults occur a lot … | |
i have taken a masked text box for entering dob however i need to validate it...ie suppose if a user enters a date more than the current date it should give an error. i tried using system.datetime fun however i get error as it is a part of system and … | |
Hi guys, I've written a couple of program modules ,one main program that imports the other. The problem is when I run the imported module it's fine but on exiting it closes my main program with it. Both modules work ok otherwise, also I can run them individually as well. … | |
I have decided that a text adventure would be better for me to learn from, as a visual game is confusing to me still. So, I was reading Chris O'leary's post about his text adventure game, Advent House, and got many ideas from there. I want to perfect his battle … | |
[quote]Can anyone help pinpoint why my script won't work? Objective: user enters starting & ending miles along with gallons used to calculate mpg. Onchange events for first 3 input boxes call the calcMPG function. Thx in advance! [/quote] [code] <!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> … | |
Hi guys, I'm new to this forum and this is my first post :cheesy: I need help in modifying a "Snake game" program.. What I need to do is **modify the program so that when it starts (i.e. the AVR microcontroller is reset) it displays a message giving the name … | |
hi all new to tomcat.. i installed tomcat on c:/tomcat 5.0.28 and c:\j2sdk1.4.1_07. i run my hello world servlet ,did all stuff making diretories,web.xml for running a servlet .it execute on my system. i search for this in google,but i don't understand !!!! but if my servlets are using or … | |
Hi everyone! How do I make a textBox control to validate a tel nr field? For instance When the user enters 0127748222, It should be displayed as (012) 774-8222 in the textbox. I need this to be done this way since this is the way i'll be storing the fields … | |
Is it possible to read a whole file at once with text files, or can I only use fgets and is that the most data I can fetch at any time? (fread() doesn't work on text files, I've experienced and then been told ;-)). Thanks in advance, PS: And suppose … | |
i have a problem with a simple program. my program has a label. i tryed to add event handlers for both mouse down event and mouse double click event. it seems that when these two handlers are defined, only the mouse down event is responding. the double click event simply … | |
I can get everything to run perfectly, it is just when I print out the final grade, it will just give me a blank for it. Maybe I'm doing something wrong in my finalgrade function, but i don't know....I need help! [CODE=Cplusplus] #include <iostream> #include <iomanip> using namespace std; const … | |
I have 2 tables: [B][U]IDM_IDEA_USERS[/U] USER_ID PASSWORD SAP_ID[/B] [B][U]IDM_IDEA_AUTHORIZED_USERS[/U] SAP_ID[/B] I need to retrieve information from table [B]IDM_IDEA_USERS [/B]column name [B]USER_ID [/B]and [B]PASSWORD[/B]. I also need to verify that only [B]SAP_ID[/B] from [B]IDM_IDEA_USERS [/B]table is the same as [B]SAP_ID [/B]from [B]IDM_IDEA_AUTHORIZED_USERS[/B]. Only the users from [B]IDM_IDEA_AUTHORIZED_USERS[/B] can login. This are … | |
I have written a text editor that sorts lines, I plan to use it with some large files. say about a million lines, ranging between 10 and 75 MB. I am currently testing my app using about a 50mb file with about 900,000 lines. the program adds all the lines … | |
Hi, I want to create a message box that will pop up when someone clicks the close button. Basically just to confirm that they want to exit the database with yess, no buttons. Can anyone give me the code. Cheers | |
I am trying to write a recursive function that compute a to the n. here is as far as I have gotten as far as code [code=c] #include "stdafx.h" #include "stdio.h" int power (int n); // function prototype// main() { float a; int n; printf("\n enter values of a an … | |
I am mostly done working on the homework assignment for my class, it requires that I complete an employee directory system that takes a user input value and compare it to 3 values employeeName, employeeID, and phoneNumber. The system must work in such a way that if the search is … | |
Hey guys, Well i've been wondering something. How would you go about doing something like say if 'a' or 'A' is pressed do something for example move a file. Thanks, Clipper34. | |
I wan't use the multimap on my own templated class. The following is a working example with a builtin type. [CODE=c++] int dat[5] = {0,6,3,7,3}; typedef std::multimap< int, int > asso; asso dict; for (int i=0;i<5;i++){ dict.insert(make_pair(dat[i],i)); } asso::iterator pos; for(pos=dict.begin(); pos!=dict.end() ;pos++) cout << pos->first <<" next "<< pos->second … | |
Write a program that asks for the name of a pole vaulter and the dates and vault height (in meters) of the athlete's three best vaults. It should then report in order of the hieght (best first), the date on which each vault was made and its height. Input Validation: … | |
I use winsock a lot in my programs and it is very good but I can't achieve a connection when one of the users is behind an adsl router. What should I do in order to make the connection? I tryied port forwarding but the problem remains. The applications I … | |
Wrote this script to send a zip file that gets created every day and sent to a FTP server. In line 16, getting a windows 183 error cannot create file that already exists. I am using os.rename, and it works if I run it stand alone. Any ideas? [code=python] import … | |
consider my input file has the following data date type of transaction amount 1 w 100 2 d 230 3 d 550 4 w 430 5 d 1100 6 d 400 so i need to sort the amount in ascending order.So when i sort the amount,the corresponding date and transaction … | |
hi, I'm a Computer Engineering student from Portugal in the 2Âșterm. Last class' job was for us to use class and sub-class systems, creating a info system for vehicle types. I thought I was finished, but when I did the main file, the compiler shouted loads of errors that didn't … | |
hello,I would like to create a class for basic file operations-just reading and writing a line.There seems no error in my program but it doesn't output anything.I think there is a problem with the functions for reading and writing.Please help... [code=C++] #ifndef HANDLER_H_ #define HANDLER_H_ #include <iostream> #include <fstream> #include … | |
This problem has been driving me crazy, I just can't seem to find anything in the Python docs. I've been working on a script, It connects to a remote server and downloads multiple RAR files as a "job", it then extracts them to the correct place. It works, but I … | |
Hi, I am a webdesigner and don know much about php coz, my main stream is html and css. I used to use asp feedback forms for my websites. But my new website server is unix based. I think asp feedback forms are not supported in unix. Please tell me … | |
I have a problem with bulding a program to store a family record, this record consits of : name, birthday, married? and number of child. What is the best way to store this record??? Could you give me some example about some task on this structure : Input name and … |
The End.