64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Shanti C

Hello Friends... Tell me how to store my product information in xml file using php ... Is this is a replacement of my database... Please tell me any information on this... Thanks in Advance.. Shanti

Member Avatar for Shanti C
0
102
Member Avatar for Koldsoul

I am writing a program that uses two arrays, one holds int and one holds String. I am using an interface and building a class that implements it. The method in the interface uses a method written like [code] public void add(E element) throws OverFlowException; [/code] This method is to …

Member Avatar for masijade
0
84
Member Avatar for usdblades

K so I am learning how to program in python and had a question about Jargon. Simply What is it?

Member Avatar for usdblades
0
96
Member Avatar for jworld2

Okay, sorry, I just posted a different thread here a couple days ago, I know. But I have another question and I've googled it and can't find the answer. let's say I have a list num=[1,2,3,4,5,6] and I want to add all of the items together for one big number. …

Member Avatar for jworld2
0
488
Member Avatar for nizbit

The program I am working on deals with nested linked lists. I have a Olympics class that uses a linked list for events. Events have their own class with a linked list of contestants of a contestant class for each event. I don't understand why I'm getting these compile errors: …

Member Avatar for nizbit
0
132
Member Avatar for mrcniceguy

Please i need someone who can help me Display Date from Mysql which is in format YYYY/MM/DD to DD/MM/YYYY the code below sends data to mysql but when i`m displaying date it comes in YYYY/MM/DD. [code] <?php include"config.php"; $comment=$_POST['comment']; $news_id=$_POST['news_id']; $name=$_POST['name']; //$rece_user=$_POST['rece_user']; $query="INSERT INTO newscomment (name,news_id,time,comment,date) VALUES('$name','$news_id',CURTIME(),'$comment',CURDATE())"; $result=mysql_query($query); if($result){ //echo"<i><b><font …

Member Avatar for mrcniceguy
0
139
Member Avatar for lllllIllIlllI

Hi My problem today is i have opened up the wxPython Demo and copied one of the pieces of code across to IDLE so i can have a fiddle with it. My problem is that at the start it goes [icode]from Main import opj[/icode]. Thats what stuffs it up. The …

Member Avatar for lllllIllIlllI
0
177
Member Avatar for rrreeefff

Hello, I am trying to do a recursive function using fiboncci. I have been working on this and it is not working. #include "stdafx.h" #include "stdio.h" int fib (int n); // function prototype// int main (void) { int num, result; printf ("Please enter a positive integer\n"); scanf ("%d", &num); result= …

Member Avatar for rrreeefff
0
101
Member Avatar for iamgame

Anyway, sometime back, I wrote a little and simple GUI application (using wPython) which I call the Jumbled Words game. This was my first step into wxPython. Not a serious project at all, but hey, a nice project for a Python newbie like me at that time. :) You can …

Member Avatar for iamgame
0
762
Member Avatar for VernonDozier

I've been experimenting around with the [ICODE]const[/ICODE] modifier, trying to make sure I understand it and clearly I do not. I wrote this program. Note line 28, where I am changing the value of the parameter passed to a copy constructor, and the word [ICODE]const[/ICODE] on line 40: [code=cplusplus] #include …

Member Avatar for VernonDozier
0
424
Member Avatar for kenji

Hey guys, I have a couple of quick questions, Iv searched the forums and the internet and found a not very much on removing an array element. If you could guide me to a website or a book with information on char arrays it would be helpful. My second question …

Member Avatar for kenji
0
9K
Member Avatar for blue_moon

> Write a method that converts its String parameter so that letters are written in > blocks five letters long. For example, consider the following two versions of the > same sentence: > > Plain: This is how we would ordinarily write a sentence. > Blocked : Thisi showw ewoul …

0
80
Member Avatar for Run.[it]

I compiled a very basic C# program (not pointers or memory related) inside my c drive using the command prompt. I just wish to know if this is a bad move? Is it better to save all programs to the desktop and run them through the command prompt from there? …

Member Avatar for Run.[it]
0
200
Member Avatar for predator78

Hey guys I finally got my word unscrambler working the other day, now I fire it up with same code same everything and for some reason getting double output from a list that shouldn't be. So if someone could either look this over and find a problem or maybe do …

Member Avatar for ZZucker
0
212
Member Avatar for nizbit

I have a recursive method that traverses a linked list for a first name or last name then deletes the node from the list. This is what I have: [CODE=cplusplus] void game::DeleteR(string first_name, string last_name, ListNode* &node) //throw (ContestantException) { /* See if we are at end of list. */ …

Member Avatar for nizbit
0
182
Member Avatar for ART01

i have a prb here, i have been asked to make a procedure which recieve an array of integers,its lenght, and two integers X and Y as parameters. now the procedure needs to find X in the array and put Y ahead of it ( Y is not in the …

Member Avatar for ART01
0
108
Member Avatar for ravikiran032

i would like to know what digits of ipaddress define. suppose ipaddress of 192.168.0.59 what these numbers 192 ,168 , 0 ,59 defines. does they have any value??

Member Avatar for peter_budo
0
91
Member Avatar for antwan1986

Hi all and thanks for reading. I came accross a function on the internet for creating a <select> box out of an array. I understand all of the code except for a few things: [CODE] <?php function dropdown($name, array $options, $selected=null) { // Begin the select tag. $dropdown = "<select …

Member Avatar for antwan1986
0
162
Member Avatar for jokumoku

[B]This is the verification code i put in my webpage [/B] [ICODE]<?php if ($use_verification_image): ?> <label for="commentform_verification">Image verification:</label><br /> <input name="verification" type="text" id="commentform_verification" class="comment_form_text_box"/> <br /> <img src="<?php echo $commentsystemfolder; ?>comments_verificationimage.php?r=<?php echo md5(uniqid(time())); ?>" alt="image verification" name="commentform_verificationimage" width="70" height="10" id="commentform_verificationimage"/><br /><br /> <?php endif; ?>[/ICODE] [B] the above code is …

Member Avatar for praveen_dusari
0
220
Member Avatar for gin1026

hello evryone, im new in C++ programing. currently i working on my final year project. at the first place, im study in INFO COMM. ,more specific in network management area but since my project is assigned by my lecturer and the project itself involved some programming skill, i gt to …

Member Avatar for gin1026
0
525
Member Avatar for raul15791

Hi, first of all sorry if I post this in the wrong section. Cant find where is the VBScript Section. I'm new to VBScripting. What I need is the VBScript to count the number of record in my MSAccess table. I tried [ICODE] total = "SELECT COUNT(*) FROM Product" [/ICODE] …

Member Avatar for raul15791
0
909
Member Avatar for jworld2

Okay, so I've been working on a program that converts ascii values to text. The way that I have the code is functional, yet not convenient. Let me post the code and then explain.- [ICODE]letters=[' enter ','',' ',0,1,2,3,4,5,6,7,8,9,'A','B','C','D','E','F','G','H','I','J','K','L','M','N',\ 'O','P','Q','R','S','T','U','V','W','X','Y','Z','a','b','c','d','e',\ 'f','g','h','i','j','k','l','m','n','o','p','q',\ 'r','s','t','u','v','w','x','y','z'] numbers=[10,13,32,48,49,50,51,52,53,54,55,56,57,65,66,67,\ 68,69,70,71,72,73,74,75,76,77,78,79,80,81,\ 82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,\ 106,107,108,109,110,111,112,113,114,115,116,\ 117,118,119,120,121,122] # Ascii values in …

Member Avatar for jworld2
0
147
Member Avatar for lytre

ok, when i try and compile my unfinished program at the bottom: it gives me these two errors c:\documents and settings\owner\desktop\programming stuff\programming practice (pascal)\unitconverter.pas:6: warning: missing string capacity - assuming 255 c:\documents and settings\owner\desktop\programming stuff\programming practice (pascal)\unitconverter.pas:7: parse error before `In' and i'm new to programming so i dont know …

Member Avatar for suki_boy
0
212
Member Avatar for munror

Hi there, Just joined the community! Been having trouble all day with the following select statement and MS Access database: [SELECT * FROM client_referrals WHERE client_id = 1 AND ((date_of_referral >= #9/21/2008#) AND (date_of_referral < #9/28/2008#)) ORDER BY referral_lastname ASC] The [((date_of_referral >= #9/21/2008#)] section of works, so all dates …

Member Avatar for munror
0
268
Member Avatar for espSquall

The declaration of the type is: [code]type TMediaLibrary = record Title:string[30]; TrackNo:integer; Artist:string[30]; Album:string[30]; Year:string[4]; Genre:string[30]; Comment:String[30]; Directory:string; end; var SongInfo: TMediaLibrary;[/code] and the file implementation of it is here: [code]procedure TForm1.Button1Click(Sender: TObject); var SongFile:string; MediaLibrary: file of TMediaLibrary; <<<Error is here begin . . . . AssignFile(MediaLibrary, 'C:\Program Files\toMedia …

Member Avatar for espSquall
0
155
Member Avatar for wipeskim

Hi, I created a multiple select box wich i would like to have one variable with all the results selected on the multiple select box such as variable_name = "result1|result2|result3" This is what i have so far: [code] oSelect = document.getElementById ('s1'); var iNumSelected = 0; for (var iCount=0; oSelect.options[iCount]; …

Member Avatar for wipeskim
0
156
Member Avatar for Sheryl99

What is wrong with this code? All I want to do is display photos for a slide show, with about 5 seconds pause between photos. It will only show the last photo. The photo directory and file names are contained in the ComboBox. (I thought I posted this wrong, so …

Member Avatar for Sheryl99
0
89
Member Avatar for Zurompeta

Not sure the title I gave this was appropriate, but I will try to describe my problem as best as possible. Basically, I'm trying to find the correct url reference for the mkdir() function. Let me type up a FTP Structure diagram to help: [code]{ROOT} -inventory -FF -<I am here>[/code] …

Member Avatar for Zurompeta
0
84
Member Avatar for peter_budo

I'm trying to get character "2936" printed out ( it is the arrow on your big Enter of the keyboard) as seen in Unicode charts [URL="http://unicode.org/charts/PDF/U2900.pdf"]Supplemental Arrows B[/URL]. However it does show as question mark. Suggestions? [code=Java] public class PrintCharacters { public static void main(String[] args) { String[] one = …

Member Avatar for di2daer
0
115
Member Avatar for mohammed2raja

echo "<meta http-equiv=Refresh content=0;url=login.php?nflag=".$nflag.">"; Here i pass PHP variable nflag. Can any body tell me where this variable(nflag) is store. So when i use the statement ; $nflag=$_GET['nflag']; and get that value. Where the value of 'nflag is stored', ans from where _GET[] array is formed. What are the default …

Member Avatar for mohammed2raja
0
304
Member Avatar for c++ prog

Is it posibble to have a count-down timer while I'm doing something else in the console? it's a simple game wherein a specified time is allowed for the player..if possible, how? I created a timer but it waits until it finishes before proceding to the game..tnx in advance

Member Avatar for c++ prog
0
117
Member Avatar for DemonGal711

Ok, I'm working on this code where I read in two lines from a text document, then store them in an array, write a binary code for each to indicate what words are in what array, and then compare the two arrays in a variety of ways. I got most …

Member Avatar for grumpier
0
115
Member Avatar for mohammed2raja

In php file I write ; echo "<meta http-equiv=Refresh content=0;url=login.html>"; Here i load a login.html file. Along this i want to pass a php variable(suppose $nflag) content to login.html file, so that i can use it in javascript within login.html file. Please Help me.

Member Avatar for cwarn23
0
1K
Member Avatar for mohammed2raja

I want to make an image as link, such that when I click on the image a javascript function is called. The whole code is written in javascript. I try this byt it files: aaa=document.createElement('a'); aaa.href="#"; aaa.innerHTML="<img src="downArrow.gif">"; aaa.onclick=function() { moreInfo(this); } here I want when I click "doenArrow.gif" image …

Member Avatar for Shanti C
0
109
Member Avatar for Poab9200

First off here is my code: [CODE=csharp] using System; using System.Collections.Generic; using System.Text; namespace example_1 { class Program { static void Main(string[] args) { decimal d = 24; string input; Console.WriteLine("Enter A number"); input = Console.ReadLine(); decimal total = Convert.ToDecimal(input), result = (d * total); Console.WriteLine(result); Console.WriteLine(); Console.WriteLine(); Console.WriteLine("Would you …

Member Avatar for Poab9200
0
122
Member Avatar for abu taher

what is module and class module. I want to learn about it . anybody help me clearly.

Member Avatar for Jx_Man
0
158
Member Avatar for NRaf

Hey, I'm having trouble with this piece of code. Basically, it's meant to look at a map file (which basically is a bunch of URLs paired to an ID) and then go through another file and replace each URL with it's corresponding ID. The code seems to work fine, but …

Member Avatar for Salem
0
3K
Member Avatar for chern4ever

i am trying to mod my input but i got an error : invalid operands of types 'double' and 'int' to binary 'operator%' i would also like to noe top/60 how do i not show the remainder. i am using dev c++ this is my code : [CODE]int main() { …

Member Avatar for chern4ever
0
329
Member Avatar for keanan

I have a form where I am using an image as the submit button. When I click on the button the form submits however when I press 'enter' the page simply refreshes. In my PHP code I use the submitok_x value to check the x co-ordinate value - if it …

Member Avatar for keanan
0
157
Member Avatar for Sheryl99

I am writing a simple application in VB.NET to view JPG files. I have a slide show option, and can only get my PictureBox1 to display the last photo. ComboBox1 contains the directory and file information for each file. Here is my code. Thanks for your help! Private Sub cmdSlideShow_Click(ByVal …

0
82
Member Avatar for AutoC

Hi, In a function of my program, I open and close the file once every recursion...and the recursion is very large....I've made sure im not writing when its closed or not opening when its open or any of those trivial issues.Will this be a problem with the operating system?...because I'm …

Member Avatar for AutoC
0
101
Member Avatar for lumeniel

Hi I have this code and a problem that i don't understand. In [I]image_matrix[/I], a PixelArray object where there is a image. I want to separate this image in frames then I capture pixel by pixel in a double [I]for[/I] with the dimensions of frame. The variable [I]h[/I] represents each …

Member Avatar for lumeniel
0
100
Member Avatar for sanfan49er

I need it in descending order and also the ability to use decimals I tried to put double in everything but it wouldn't work it says that the array doesn't match with int. Help PLEASE!!! [code] #include <iostream.h> void selectionSort(int *array,int length)//selection sort function { int i,j,min,minat; for(i=0;i<(length-1);i++) { minat=i; …

Member Avatar for sanfan49er
0
5K
Member Avatar for Kamal_Java

Hi ... [ Need ur suggestion NOT code .... ] This is one part of my assignment .. I need your help on how to do this . Below is my short description of my problem ... I have two classes Named Passenger class and container class . Passenger class …

Member Avatar for stultuske
0
2K
Member Avatar for zzmgd6

help. I do everything in C++ with STL but I have to utilitize legacy C functions within my member functions (methods). The legacy C function signature is... extern int UF_DRF_create_label( int num_lines_text, [B]char text_string[ ][132+1][/B] , double origin_3d[3], UF_DRF_leader_attach_type_t leader_attach_type, UF_DRF_object_p_t object, double model_pos_3d[ 3 ], tag_t * label_tag); My …

Member Avatar for zzmgd6
0
204
Member Avatar for nachon

Hi Everyone. I'm kind of new. For some weeks I've been studying cpp using devcpp and it worked just fine. I changed my PC and now I am trying to program in Builder c++. I am reading a Builer tutorial and Im doing OK with the frames and all of …

Member Avatar for nachon
0
145
Member Avatar for jackie_lee

any recommendation for a good reciprocal link exchang script? should be able to organize links into categories, search engine friendly web pages, etc.... Pls. advise.

Member Avatar for Krist01
0
466
Member Avatar for dnmoore

I have to create a program to calculate the number of years it will take to become a millionaire if i invest a certain amount and receive interest on it. I need a little help on how to start it, the only thing i have so far is we have …

Member Avatar for stultuske
0
527
Member Avatar for adiel224
Member Avatar for emilio

my class has an enum definition as property, and an enums type array as property like this: [CODE=java]public class GameBoard implements Serializable , Cloneable { private final int N = 8; public State[][] Board = new State[N][N]; public enum State { empty,player1,player2; }[/CODE] i want to write a clone method …

Member Avatar for emilio
0
96

The End.