199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sureshchinta

I have the following xml file and wanted to generate another xml file. While using the xml:element to create elements on the fly, the xslt debugger is throwing an error saying expected Qname. How can I get away with this. xsl code: [code] <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output …

Member Avatar for sureshchinta
0
242
Member Avatar for jakx12

ok so, the problem is it goes straight to the register3.php and it totally ignores the if statements! here is the code: [ICODE]<html> <head> <link rel=stylesheet type=text/css href=style.css> <title>Register</title> </head> <body> <center> <h1>You Are Now Ready To Register!</h1> <div class=indexboxlarge> <form action=" " method="post" name="register"> <label>First Name*<br> <input name="name1" type="text" …

Member Avatar for erms
0
95
Member Avatar for ndeniche

somewhere i read to install joomla i must install it in apache's directory htdocs... but i installed the php5, apache, mysql pack with easyphp... and it doesn't have any htdocs folder... where do i install it then?

Member Avatar for Rapunzl
0
179
Member Avatar for cylow22

hi there, like almost everybody else here i've got a problem. I am working on a simplified IRC for unix, consisting of a server and a client. It's a task for university.. my problem is, my client receives strange signs from the server and when i want to parse them …

Member Avatar for cylow22
0
106
Member Avatar for shila13

Could someone help me with the explanation of the codes below? thanks [code=cplusplus] #include<iostream.h> #include<conio.h> #include<process.h> int a[9][9]={0,0,9,0,0,0,0,2,0, 0,6,0,0,0,9,0,0,5, 0,0,0,8,7,0,0,0,0, 0,0,1,0,8,0,0,0,0, 0,4,0,5,0,7,1,3,0, 6,0,0,0,1,0,4,0,0, 0,0,0,0,4,8,2,0,0, 7,0,0,6,0,0,0,5,0, 0,9,0,0,0,0,8,0,0}; int b[9][9],k,l,m,z,flag=0,g,h; int horizontal(int,int,int); int vertical(int,int,int); int box(int,int,int); int assume(int,int); void main() { clrscr(); cout<<"enter values\n"; for(int i=0;i<9;i++) for(int j=0;j<9;j++) cin>>a[i][j]; for(i=0;i<9;i++) for(j=0;j<9;j++) b[i][j]=a[i][j]; …

Member Avatar for iamthwee
0
98
Member Avatar for lllllIllIlllI

Hey i was wondering if there was any way to convert a 24 bit Bitmap into a 256 colour bitmap using PIL or something simillar. I found something like: [code=python] image = image.convert("P",color = Image.ADAPTIVE) [/code] But i couldn't work out how to make that work. So yeah any way …

Member Avatar for lllllIllIlllI
0
143
Member Avatar for jakx12

ok so what i want is the image path to be implemented in the database, but i dont understand how i can also include the speech marks for the image source. Heres my code: [ICODE]<html> <head> <link rel=stylesheet type=text/css href=style.css> <title> Image Upload </title> </head> <body> <?php include("header.php"); ?> <br> …

Member Avatar for diafol
0
84
Member Avatar for scias23

i have written this program, it's nearly finished, but i didn't found out right away that my code has bug.. once i enter number of students i wish to add, the value goes to the for loop, i think i coded that just fine, but the problem is, for example, …

Member Avatar for StuXYZ
0
134
Member Avatar for Mighty

Hello everyone. I am taking a C++ program at my college.. and i find it pretty difficult honestly.. but, i have to get the hang of it due to my major. If someone could help with this problem It would be appreciated.. A retail company must file a monthly sales …

Member Avatar for preet4fun
0
398
Member Avatar for LTT

Hello I have a question about pulling a value from a mySQL DB. Wondering how you pull just one value out of a list.. ex. Table name is People ID 1 FIRST NAME Jim LAST NAME Boberson PHONE 555-555-5555 AGE 99 How would I display just Jim Boberson's age on …

Member Avatar for LTT
0
71
Member Avatar for jakx12

Here is a little bit of the code that generates a number based on retrieving the largest number from the field Number. However when it inserts it in, the Number value is 0. here is the code: [ICODE]<?php SESSION_start(); include("dbcon.php"); dbcon(); $user = mysql_real_escape_string($_POST['user']); $content = mysql_real_escape_string($_POST['content']); $date = mysql_real_escape_string($_POST['date']); …

Member Avatar for jakx12
0
93
Member Avatar for abby2589

Hi! Good day! can you help me with my assignment: -Create a function that will accept values 0 and 1 in a 3 x 3 matrix. -Create a function that will print values inputted to the 3 x 3 matrix -Output should follow this format: 1 1 0 1 0 …

Member Avatar for Rbezona
0
103
Member Avatar for Antenka

Hello, everybody. I have typed DataSet ([icode]dsMain[/icode]), that contains table ([icode]ReferenceCycle[/icode]). In the program I make changes in that table, using generated by VS typed table adapter ([icode]taReferenceCycle[/icode]) and values seems to gets inserted. And when I'm trying to update database with this - nothing happens. Here's part of my …

Member Avatar for Ramy Mahrous
0
656
Member Avatar for Trekker182

Hello everyone! I'm writing my third program and it's running and the math formula's are working great, however, I just had a few questions. I'm trying to use hours = CDbl(txtHours.Text) but when I start the program I get a conversion from string "" to type 'Double" is not valid...but …

Member Avatar for Comatose
0
117
Member Avatar for Rbezona

for Internet transmissions. I would like some advice on a book or manual which gives the detailed format of header and trailer information sent to identify network and Internet transmisions. I have been been looking on the web awhile and find only high level information not down to the bit …

Member Avatar for Rbezona
0
89
Member Avatar for jbrock31

Hello everyone. Can anyone give a link to a good guide/tutorial on how to populate a treeview with the drives of a system. I am able to get the drives listed, but am i having a problem creating the child nodes for the drives and really have never used a …

Member Avatar for jbrock31
0
213
Member Avatar for Anshulpareek
Member Avatar for Duoas
0
45
Member Avatar for Somersett

If I allocate memory to a pointer which has been declared inside of a function as static, and don't free() it, is that memory freed when the function returns?

Member Avatar for Duoas
0
114
Member Avatar for britto

is there any method or class for getting the datatype of a variable???? After the variable is declared i must get the datatype...... hw can i do .... any ideas??

Member Avatar for britto
0
145
Member Avatar for DirtyBird

Hello all, I had previously written a short program to find the factors of any integer. Fortunately, it works flawless and without any problems. However, I want to edit this code so that the program adds up all the factors of that certain integer. Can anyone shed some light as …

Member Avatar for u8sand
0
109
Member Avatar for scru

How can I install pygame against the 64 bit version of python for windows? I tried the regular win32 package but imports don't work.

Member Avatar for Stefano Mtangoo
0
193
Member Avatar for h3llpunk

Hi C++ is my first language i am learning and i would like to start some project that involves a bit of AI and object avoidance but i have no idea where to start. My skill in C++ is pretty poor but i would like to start a small project …

Member Avatar for u8sand
0
99
Member Avatar for mrcniceguy

as i`m creating a social network website,i would like to inhance members to upload photos to their personal albums. So i dont know how to get started,is there a free script i can use or somebody to explain to me what i need to do inorder to fulfill my needs. …

Member Avatar for mrcniceguy
0
129
Member Avatar for MyRedz

all i can think i will type here and please explain the others.thank you this is just to enhance my knowledge about oop.The info i got now isn't enough... q1 Write a simple program to ask user to input five digits number. Using the input, output the five digits number …

Member Avatar for arun_lisieux
0
139
Member Avatar for swetharvss

Hi....I need to convert a 1D array into a 2D array of numbers....can anyone help me out with this? the problem goes like this... I have a string of numbers say.. 0.123762 0.346515 . . . . . to a total of 275. i need to group them in the …

Member Avatar for swetharvss
0
135
Member Avatar for mtucker6784

Hi folks! I'm not a student, so this isn't a homework assignment, I'm just trying to learn C++ for my own benefit and my career. My question is: is it possible to call a function that's below another function? If not, how could I do this? For example, in the …

Member Avatar for mattwaab
0
100
Member Avatar for Richard1992

[Code=Pascal] Program Calculator; Uses Crt; Label 1; Var Selection, YesNo : String; Number, A, B, C, Number2, Total, InsideRoot, MinusB, TWOA, Answer1, Answer2 : Integer; Begin 1:Clrscr; Total :=0; Number :=0; Number2 :=0; Clrscr; Writeln('This is a more complicated calculator, please make a choice.'); Writeln('1. Addition'); Writeln('2. Subtraction'); Writeln('3. Multiplication'); …

Member Avatar for ddanbe
0
280
Member Avatar for Andy2210

Hi am currently new to php i know all the basics etc but wanting to learn to do bigger more complicated things can anybody reccomend any gud software or books or anywhere could have help learning any help would be appreciated fanx

Member Avatar for almostbob
0
105
Member Avatar for serdas

i get this old code to create some tables but it gives me error this [code]#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`message` TEXT NOT NULL , `from` INT( 11 …

Member Avatar for almostbob
0
91
Member Avatar for whiteflags

So I was going through the Projects for the Beginner thread. I settled on this: "For $2 you get to throw four dice. If the sum of the faces is less than 9, you win $12, otherwise you lose your investment. Should you play this game?" Simple enough: [code=python] def …

Member Avatar for Murtan
0
79
Member Avatar for csharplearner

Hello all, I have this strange problem. I have a website where user can post messages to the site. I see from yesterday that someone is trying is manipulate with the forms. I see some 1048 messages posted in a single minute to the site :( . I used nl2br(htmlentities(-displaymessage)).. …

Member Avatar for csharplearner
0
136
Member Avatar for Praveenhai

Hi Friends, Any body please send me a complete java project on "Hospital Management System" or "Government Health care System". Please provide me in detail to [I]<<snipped email address>>[/I]

Member Avatar for ~s.o.s~
0
93
Member Avatar for lahiru17

I am new to java. im trying to create a report from a table called users, in the database called userDatabase. I dnt know how to connect and get the required output! If u can please give a an example coding that can be used to connect this with my …

Member Avatar for lahiru17
0
93
Member Avatar for kos88

[code] class Register { public static void main(String[] args) { Personer pr = new Personer(); pr.settInnPerson("mrt","Kasra"); pr.settInnPerson("avinnogg","Anders"); pr.settInnPerson("omelgsto","Oyvind"); pr.settInnPerson("joakibj","Joakim"); pr.settInnPerson("richar","Richard"); pr.settInnPerson("linnaad","Linn Kristin"); pr.settInnPerson("hennikar","Henni"); pr.settInnPerson("haavarte","Havard"); pr.settInnPerson("rubendw","Ruben"); pr.settInnPerson("dingh","Ding"); pr.settInnPerson("nikitam","Nikita"); pr.settInnPerson("huyt","Huy Quang"); pr.settInnPerson("chunyuyc","Chun-Yu"); pr.settInnPerson("kabeern","Kabeer"); pr.taUttPerson("kabeern","Kabeer"); pr.taUttPerson("chunyuyc","Chun-Yu"); pr.print(); System.out.println("------------------------------"); Person skalFaVenn = pr.finnPerson("dingh","Ding"); skalFaVenn.leggTilVenn("rubendw","Ruben"); skalFaVenn.leggTilVenn("hennikar","Henni"); skalFaVenn.leggTilVenn("mrt","Kasra"); skalFaVenn.leggTilVenn("avinnogg","Anders"); skalFaVenn.fjernVenn("hennikar","Henni"); Person vn = new Person("dingh","Ding"); vn.print2(); …

Member Avatar for Kabbelabb
0
186
Member Avatar for zxz

Hello , im a very new to programming and i have a Question please. i must write a program in Assembly the Question is : "after giving a maximum of 30 positive numbers the program must output if the given number (Sequence) is a palindrome or not.( intering "0" or …

Member Avatar for afas87
0
117
Member Avatar for riyashm

Hai Please send me if any one have a j2ee online shopping project in full or part

Member Avatar for ithelp
0
59
Member Avatar for funlovingashish

HII EVERYONE. i AM WORKING ON JSP AND I WANT TO SET THE SCREEN RESOLUTION ACCORDINGLY.ANYONE PLZ HELP ME OUT!!!

Member Avatar for masijade
0
101
Member Avatar for cjackson111

Hello. I have a php script that is pulling records from a database. Everything up until now has been working great. Even now the first page of results show up as they should. (5 records are displayed per page) When I click on "next page" to view more results I …

Member Avatar for pritaeas
0
149
Member Avatar for mruane

Just a few questions... 1) is C# and visual C# the same language? I downloaded the Visual C# IDE from microsoft, looking to be able to make my own programs using c#. 2) If they are the same, where do I find tutorials to learn to use the language? 3) …

Member Avatar for LizR
0
98
Member Avatar for Demonisya

Hello Once Again..... I need you to help me with this program im working. My teacher asked me to create a program that could arrange the random numbers from lowest to highest.... but I can't follow up what's next in my program: [CODE=SYNTAX] #include<stdio.h> #include<conio.h> int main() { int a,b[10]; …

Member Avatar for its.romi
0
413
Member Avatar for jakx12

ok so here is the error:[ICODE] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from, content, date) VALUES('', '', '', '')' at line 1 [/ICODE] Between the apostrophes is the information from the …

Member Avatar for Shanti C
0
74
Member Avatar for jeshurun

hello i have the following code [COde=php]<?php mysql_connect("localhost", "lekan", "") or die(mysql_error()); echo "connected to database"; mysql_select_db("today") or die(mysql_error()); echo "Connected to database<br>"; $tables=mysql_list_tables("today"); if ($tables ==""){ echo "this database does not have a table"; exit; }else { echo $tables; } //number of rows $row_num = mysql_num_rows('first name'); if (!$row_num){ …

Member Avatar for mwasif
0
126
Member Avatar for lonely_girl
Member Avatar for csurfer
0
1K
Member Avatar for rpk5000

I'm having an issue getting IE 7 to respond to the setAttribute("src", "...") command in javascript. The code does the following: 1) There exists an img id called mainImage in my html. 2) On load the body calls getimagesource 3) The javascript reads a configuration file (test3.txt), that has each …

Member Avatar for rpk5000
0
398
Member Avatar for britto

im trying to compile a c program using java i have to invoke tinyc compiler from command line ......i need to run these commands in console using java... first set the directory to the location of c file then invoke "tcc filename" how can it be done??? thanks in advance

Member Avatar for britto
0
298
Member Avatar for deepugtm

I use Turbo C++ compiler.I want to include a photo through C program using file handling or something else.Do somebody have any idea for this.

Member Avatar for deepugtm
0
94
Member Avatar for jorgeberber

Hi all!!! simple question , i have included a txt file in my program which holds names and numbers like this Alan 23 Bob 50 Joan 35 i want to know if it is possible to do a search in that file by the name and return the corresponding number …

Member Avatar for jorgeberber
0
135
Member Avatar for thunderman

hello, I 'm still a noob at programming in vb.net I have a little problem. I 'm trying to get my selected rows to another page. I already can select my rows with checkboxes but I don't know how I can pass them through a session to another page. hopefully …

Member Avatar for sada.umesh
0
366
Member Avatar for k4kasun

Hi to u all. Currently I'm doing two degrees parallely (physical & IT). Due to my lack of time, i was unable to find a new idea for my final year IT project. To be honest, the quality of my project is my future because of no experience in working …

Member Avatar for k4kasun
0
175
Member Avatar for elpablo

Hi, I'm trying to figure out what would be the best way to develop a regular expression class that can have child or parent. I want to develop a generic regex extractor for text files. Example : - An HTML file has a table - Each table has some data …

Member Avatar for elpablo
0
166

The End.