199,114 Archived Topics
Remove Filter ![]() | |
![]() | Hi everyone, I am creating a student timetable. I have the table done in html and I now need to input the values in the database. I was trying to use something along the lines of [code]if(day = 'Monday' && time = '9') { echo(subject); }[/code] i keep getting an … |
Hi all, Can anybody tell me how to retrieve hard drive information in vb.net . I try my best search in google but not getting the appropriate information. Its urgent. Thanks in advance. Regards G_8306 | |
I have a program that will fetch some particular lines and store it in a buffer for further operations.The code which is given below works but with some errors.I couldn't trace out the error.Can anybody help on this plz?? [CODE]#include <stdio.h> #include <stdlib.h> #include<string.h> #define LINESIZE 256 void failif (int … | |
Hi Everyone, I am facing one problem in inserting query when i am inserting value of textarea in database. Let me explain whole of this. i am working as a empoyee form in which form when we insert value of all information regarding leave of that employee . In this … | |
hi, I am having a prob in collection object...My prob is Server sends a data and i have to save the data in flexgrid.I am using this data as a key and for the reference i am saving flexgrid row number with key. If another data comes.i just want to … | |
Hi all, I ve been given an assignment to be done in LINUX which requires filing for processes. I have studied about the functions to be used, [I]open, read, write[/I]. I have copied the example from the book in my text editor and it gives error when compiled. The input … | |
What is needed for a C++ member function of a class to behave polymorphic? Please can anyone answer me to this, and if you can give me some example. Thanks. | |
Hi, How can i upload a text file using move_upload_file() in php because it returns error like Warning: move_uploaded_file(/thenewcareers.com/httpdocs/newcareers/demo/jobseeker/resumes/email.txt) [function.move-uploaded-file]: failed to open stream: No such file or directory in D:\inetpub\vhosts\thenewcareers.com\httpdocs\newcareers\demo\jobseeker\upload.php on line 19 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\Windows\Temp\php99A0.tmp' to '/thenewcareers.com/httpdocs/newcareers/demo/jobseeker/resumes/email.txt' in D:\inetpub\vhosts\thenewcareers.com\httpdocs\newcareers\demo\jobseeker\upload.php on line 19 if anyone … | |
hi i am trying to create a class that contains a struct. This struct inherits properties from other classes. [code] class people { public: struct person:public parent { private: char * data public: setdata(char * x) } [/code] In the parent class i have [code] class parent { private: public: … | |
hi guys, i m new to vc++ and i have a task assigned to use the lzo algorithm in my project so i downloaded its full source code of version 1.08 from the [url]http://www.oberhumer.com/opensource/lzo[/url] now when i m opening its sample.c file (which is a example file in the example … | |
I am just learning Datasets, and as luck ALWAYS has it can not start out simple. I am pulling from an ODBC file which can be connected to on the Dataserver or Table adaptor, but then they come in with no tables. So I am forced to work with runtime … | |
Hi, I'am new to PHP but i'am currently doing the project in PHP only,i want to use function return values in another form,the return value is a value retrieved from MYSQL,just see my code ------------------------------------------------ form1//where i calling my function [code=php]selecttbl("user"); while($row=mysql_fetch_array($result)) { for ($i=0; $i<mysql_num_fields($result); $i++) echo $row[$i] . … | |
Hello, I have a rather complicated pointer/syntax problem. One of my function arguments is a pointer to a structure which contains a void pointer. If I point the pointer to a scalar then in my function I can access it like this: [ICODE] local_var = (appropriate_type *) struc->pointer; [/ICODE] But … | |
hi, in my application i have using editor for the jobseeker to paste their resume.butthe editor is not working properly can anybody tell wat is are alternative.i wanted the user pasted data to as it is when it is viewed thanks | |
hello I want to execute some queries at specific date with out any action on event(i.e on load, on change). I want the file placed on my server will automatically execute at the first of every month. would you help me????? Its Urgent.. | |
ok the other day i posted about how to actually display an image and then what the best way would be to read in a location of an image and then display it. Now my new question is how do you resize an image. At the moment the image i … | |
Hello! I just started trying to get the grasp of Assembly a few days ago, so I decided to write a program to print the Fibonacci numbers up to the 25th one. I'm using NASM, and it's for the x86 processor. I came up with this code, but it'll loop … | |
Hi, I want use Drupal to develop an example web site. I have installed Drupal and done database things. It is ready to go. But how do i create pages. I think it is not same as what we do in Dreamveawer. Thanks | |
Hi all, I am trying to run a javascript function, RH_ShowHelp, that is stored in the file RoboHelp_CSH.js. The function itself should open a popup window containing our product's help system (written with Adobe RoboHelp) and the javascript file was supplied by Adobe as the standard call. I have managed … | |
{I am a newbie to this forum and programing. I am trying to write a program that takes a lists of technical support engineers and move them from the top of the list to the bottom when they get a support call assisted to them. "round robin" A little background … | |
Newbie to QB - I have an assignment to create a grade sheet for one student. Must list name, instructor, class, test grades 1 through 5, average, low grade, high grade and new average with lowest grade dropped. I am so confused about arrays. I am using examples from class … | |
Hello All, I am working on a simple program that will counts the number of matches found. I then need to display the text of the last successful pattern and the text the preceeds the last successful pattern match. This is where my problem is. How can I get these … | |
HI there [QUOTE]Exception in thread "main" com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`database/t1`, CONSTRAINT `t1_ibfk_1` FOREIGN KEY (`ID`) REFERENCES `t1` (`ID`))[/QUOTE] The field ID is an auto-increment field and I altered the field to a lower number and now I can't insert any … | |
I have a program which will write informations like gid,gname,resname,restype,etc... in a file.I wrote a function to get the starting and ending position of a particular group.Stating of a particular group (say group 12)is denoted in a file by #gid12 and the end of the group is denoted by @gid12.I … | |
I am trying to read an integer in from the command line, but it keeps reading in the ascii value as the int, and it completely blows up when the number is greater than 9. I know it's probably trivial but can anyone be of assistance please int main(int argc, … | |
Hey guys, I'm taking an intro level course on Python and i need to figure out how to get roman numerals to their integer values so far i have this... [code=python] romaninput = raw_input("Enter the roman numeral to convert to Arabic: ") I = 1 V = 5 X = … | |
Hello there! I'm having problem with my drawing graphics programming, let's say I want to draw a circle. This circle is made out of smaller pieces called pixels. Okay I got a pixelclass containing three values x, y and color. My circle contains a vector which contains all the pixels … | |
how can we check whether the primary and foreign key are working in the database in mysql | |
I found that semi-colon are some time come to the end of the line. i.e.: end, else,... But just some time. Could you tell me when I need to put semi-colon to the line? And when I need not? | |
I have a file which contains data in this manner- 1, 20.6, 33, 45, 67 2, 58.9, 54, 644, 233 3, 67.2, 67, 345, 889 . . . . where the second column contains float data and the others are all integers. I need to read this file in my … | |
Greetings, I have the following class [ICODE] class test { public: test():element(NULL), previous(NULL), next(NULL){}; void *element; test *previous, *next; }; [/ICODE] this works fine: [ICODE]test * a_test[/ICODE] but this crashes: [ICODE]test a_test[/ICODE] does anybody know what it is that i am doing wrong? I am sure its something that has … | |
Hi, I'm making a site security tester which is basically a bot that scans a selected website for any php security holes such as sql injections then reports them to the user. I have managed to write the bot and all but the last piece left is the function that … | |
hi im janaka i tried to do the unit testing with JBuilder. download and install Junit set the class path. but according to the readme file, i was unable to test my installation. these are that instructions. [COLOR=DarkRed] add[B]junit-4.1.jar[/B] to the CLASSPATH. For example: set classpath=%classpath%;INSTALL_DIR\junit-4.1.jar;INSTALL_DIR test the installation by … | |
Hey all, Here I am again, most of my program written but I'm stuck with the last step. The assignment is asking us novice programmers to add three functions (1. to subtract, 2. to multiply, 3. add a function DollarsAndCentsAre which will print out (using cout) the complete value of … | |
I'm doing a project and our structure of our page should be based to a current XML. now i am having difficult to find out how to generate the simpleType SOAP value found in the XML. and XML code looks like this. ... [code=xml]<simpleType name="useraccount"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="username"/> <xsd:enumeration … | |
My name is Stephanie and I have no idea what I am doing. Here is what I need help with: Modify the code in the btnGuessW_Click event procedure. Add the code to implement the following logic after the existing code: • Test the value in strWordGuessed against the value in … | |
Okay I am having trouble changing the inputted roman numeral into arabic number so I can add them up what am I doing wrong? I know I still have a lot to go but I cannot even get the first steps right. I am new to python.... so the hard … | |
I've been trying all night to get this to work, but everything i do give me a compile or runtime error. currently I'm using file_size() (no idea what to include inside the brackets). Also if you have can help with any of the following it would help me greatly: -list … | |
I've spent hours trying to get this to work, but I can't seem to figure it out. This site has been good to me with my java problems and I saw this php section so I figured I'd come back and give it a try. What I have and assume … | |
How can the user obtain a specific result by choosing values from 2 dropdown list. As a result, the value obtained can not be modified by the user.The table of ten rows by ten columns have to be stored in a mysql dbase.. It's certanly possible , but tedious and … | |
If I were to work on say an Instant Messenger project, and wrote the gui and event handling using wxWdigets, could I then use the windows API and use winsock to connect the two computers? Basically are API's interchangble in source code? | |
![]() | I'm not good in C++ and I need your help. I have some small program that can automatically play chess in internet chess servers. It needs only the chess engine to play. I play only on [url]www.kurnik.org[/url], but from a few months they changed adress to [url]www.playok.com[/url]. My problem depends … |
Good evening, I am new to this website. And I am also new to Python. Actually I am currently in a Python class at school. I am having some difficulty with this Payroll Program. I was wondering if anyone could help. Here is my code: def hours(): hours = input("How … | |
I got this assignment and the way it is worded is confusing to me. If anyone can explain it better it would be a great help also how to approach the problem Use a one dimensional array to solve the following problem. Read in 20 numbers, each of which is … | |
I need to calculate the standard deviation for an array in my program, the array I need to calculate it for is the pgmavg and testavg everything else in my program works correctly. [code=cplusplus] /******************************************************************** CSCI 240 - Assignment 7 - Spring 2009 Progammer: Justin R. Smith Section: 9 TA: … | |
Hi guys, I've been programming for quite a while now and just jumped in to SQL and Stored Procedures due to a Uni project I have due in. I have a table called [B]tblWebsiteMember[/B] and tblWebsiteMember has 2 Columns - [B]ID[/B] and [B]Name[/B] [CODE]CREATE PROCEDURE CreateWebsiteMember @wbmName AS Insert into … | |
Hi, I need to retrieve the max and min values of the price field in my db. I have a item table and a category table. I am using $_GET['category'] to get the category name and then I need to retrieve the min and maxvalues only for the items in … | |
Hello, I have seen many problems that deals with big integers. I use C++ and it can handle only some digits. Can you help me on how to represent and use them? | |
![]() | I'm experiencing problems with this gallery tutorial - the following error message is being displayed: [B]Error message: Parse error: syntax error, unexpected T_ECHO in /equinefocus.co.uk/photos/2009-03-21/gallery.php on line 87[/B] I've tried altering line 87 but had no success so far. I removed lines 86-88 out of interest, but the error messageindicated … |
Hello, I need to make this program sort the numbers entered with merge sort then print them. I am having trouble calling merge sort and getting it to print. Here is the code: [code] #include <iostream> #include "queueLinkedList.cpp" using namespace std; /*struct Item : Data { int value; Item *next; … |
The End.