199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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" … | |
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? | |
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 … | |
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]; … ![]() | |
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 … | |
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> … ![]() | |
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, … | |
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 … | |
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 … | |
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']); … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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?? | |
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 … | |
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. | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
[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'); … | |
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 | |
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 … | |
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 … | |
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)).. … | |
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] | |
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 … | |
[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(); … | |
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 … | |
Hai Please send me if any one have a j2ee online shopping project in full or part | |
HII EVERYONE. i AM WORKING ON JSP AND I WANT TO SET THE SCREEN RESOLUTION ACCORDINGLY.ANYONE PLZ HELP ME OUT!!! | |
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 … | |
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) … | |
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]; … | |
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 … | |
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){ … | |
hi again can u tell me how can i call the date function in "c"? | |
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 … | |
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 | |
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. | |
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 … | |
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 … | |
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 … | |
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 … |
The End.