199,114 Archived Topics
Remove Filter ![]() | |
Hey guys... Needed some help in PHP .. Basically.. say.. I have 2 or more input fields and one text area. Now, I want some sort of a php script that would use POST to extract submitted data from the inputfield1, inputfield2, and text-area. The textarea is going to have … | |
Anyone can help me how to get data from one page to other page? here code : [CODE] <form action="" method="post"> <input type="hidden" name="id" value="<?php echo $id; ?>"/> <div> <p><strong>ID:</strong> <?php echo $id; ?></p> <strong>Nik: </strong><font class="important">*</font><input type="text" name="nik" value="<?php echo $nik; ?>" /><br/><br/> <strong>Name: </strong><font class="important">*</font><input type="text" name="firstname" value="<?php … | |
![]() | This is very ugly to look at, but I am having an issue with my array code. What I am trying to do here is add a name element to my Account accounts[]. When I initiate my driver and I pick the create account option, I am getting the output: … |
Hi! I need to know if theres a function that is simmilar to mysql_insert_id function where it gets the last inserted id but the thing is my id is not auto increment i tried doing the select statement but not working my scenario is: i am updating a record from … | |
how to set JPEG image to frame as background and then add buttons on it. | |
Hi all, I'm having an "assignment" in which one criterion is : - Inserting data into an ordered sequential file without reading the entire file into RAM I don't know how to this. Could you show me how to write methods/API/code in Java, anything is fine with me. Just to … | |
I was given this assignment: Create an html form. Include at least two text boxes, at least one of which must be numeric, a set of at least three radio buttons, a submit button and a reset button. Upload to your account. Make sure the permissions are correct. Name it … | |
Hi all i am new to Node.js i followed the tutorial and typed the following [CODE]var sys = require("util"), http = require("http"); http.createServer(function(request, response) { response.sendHeader(200, {"Content-Type": "text/html"}); response.write("Hello World!"); response.close(); }).listen(8080); sys.puts("Server running at http://localhost:1331/");[/CODE] its running fine while i run it through cmd but when i open my … | |
So, as follows I have a basic while loop. It's working fine, however whenever I enter something other than a number or EoF, it goes through the loop one time after I'm wanting it to stop. Say I enter 5, then EoF, it enters an extra 5, so I have … | |
Hi folks, I'm new here and looking for a simple but educational&interesting idea for my CS project. It's my first year and we'll work in teams, so it should not be too difficult to handle, but also not so simple. I'm waiting for your suggestions. | |
for (x = 0; x <= 15; x++) { x += 5 - x; print(x + ", ") } x += 5 - x or x = x + 5 - x what is thy answer? :( 5, 5, 5, 5, 5, 5, 5 repeating :O?? -_- ummmm | |
Somebody please help me come up with a code that helps a motorist troubleshoot a problem in his car.A non mobile application will also be a good one. ![]() | |
hello, I need help please how can I call the command prompt in a java application,I want to make the prompt command as an option in my application,but i don't know how,can any one help me please and thanks | |
Here is the assignment: 1. Objective This assignment will introduce you to CPU scheduling. 2. Specifications You are to simulate the execution of processes by a computer system with a large memory, one terminal per user, a CPU, and one disk drive. Each process will be described by it's class … | |
How can we convert an 8bit binary to an array and find the index of high(1 s) in that binary ? | |
Hello guys.... i came through a website of "serialio".....[url]http://serialio.com/products/serialport/serialport.php[/url] all i want is the java api which i failed to find. Please help me i need "serialio" java api for serial communication..!! | |
[COLOR=green]Hello there![/COLOR] [COLOR=green]I have the following xml File[/COLOR] [COLOR=green]<books>[/COLOR] [COLOR=green]<A >[/COLOR] [COLOR=green]<B>text</B>[/COLOR] [COLOR=green]<C>gggg</C>[/COLOR] [COLOR=green]<D>99999</D>[/COLOR] [COLOR=green]</A>[/COLOR] [COLOR=green]</books>[/COLOR] [COLOR=green]Im using the treeview control(i need to insert 2 different images.[/COLOR] [COLOR=green]How can i add ia certain image to the node it self and another image to the inertext.[/COLOR] [COLOR=green]So the nodes will represented … | |
If I mprotect a segment with PROT_NONE and if a SIGSEGV occurs due to a write which gets handled by sigaction with sa_sigaction, We will be able to find the address where the fault occurs using siginfo_t's si_addr. Is there a way to know the data that was tried to … | |
[CODE]Dim connectionString As String Dim cnn As OleDbConnection Dim cmd As OleDbCommand Dim sql As String connectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = d:\sprrg\scm\scm\sprrg.mdb" sql = "insert into mr_detail select job_Code,mr_no,item_code,qty,addl_description" cnn = New OleDbConnection(connectionString) cnn.Open() cmd = New OleDbCommand(sql, cnn) cmd.ExecuteNonQuery() cmd.Dispose() cnn.Close()[/CODE] I am getting eror as No value given … | |
My question is how do I put the numbers in descending order this is the question: VB.NET programming language to write a program to print the value of a series of numbers from 0 to 9 in descending order. This is what I have: [code]Module Module1 Sub Main() Dim num1 … | |
[b][i]please help to connect our vb.net forms with database. I know make forms and connecting that forms.i know creating tables in database and inserting values in it.no idea about connecting forms and data base.pls help me.we use sql server 2008.i am a beginner in vb.net[/i][/b] | |
I have a directory named action at the same level as my basic script. I want to include a file called Upload which is in the action directory in my script. I keep getting errors saying the script can't find my file, but my script looks identical to the book. … | |
I'm working on a simple program in which the user types a sentence, the program iterates through the string that the sentence in stored in and alternates each letter's case, and then puts the formatted text into the clipboard. I know exactly how to allow input and change case/check if … | |
Hi, sorry for reposting my question, because I wrong place at php thread before.. this is my website [url]www.byouinternational.com[/url] That website is a website that I make with full ajax programming.. I feel my website is quite long time loading the ajax content.. What do you think? Is it slow? … | |
I want to log communication FTP server and clients.. All communication can be logged by monitoring the FTP packets.. But How can i get the host name of the FTP site , which the client sends to server in the start , in order to log in to that particular … | |
I need to create a file with a name of IP address: The code is: string dirAddress = "C:\\FTPTrace\\" + ipHeader.DestinationAddress.ToString() + ".txt"; System.IO.StreamWriter logfile = new StreamWriter(dirAddress,true); It works fine.. But i also want to include current date in the file name... The code is : string dirAddress = … | |
Hi all, I am trying to make script to find the max value at the number that was decided by user. The data has two colum [fw] and [rw] and I hope I can find the max values of each colum. in put : [CODE] posi (not have in data) … | |
Hello guyz! Im conducting a debugging contest... Im writing some questions... I wrote a code implementing virtual functions.. Im not sure where to include bugs here.. Can anyone help me add bugs to this code?? Please bugs must make people think.. THey must not just be syntactical errors.. Thank you.. … | |
[TEX]Hi I'm into a code in which I have to Design a class named Account that contain: 1. Int data field named "id" for the account. 2. Double data field named "balance" for the account. 3. Double data field named annualInterestRate that stores the current interest rate. 4. A no-arg … | |
hi all, here with I attach a programe written from using C++ language. I am new to C++. problem is I want to be a good programmer and I think I still do mistakes in witting programes. what I want is check my code and criticize my mistakes. tell me … | |
Any file's primary header contains some things which are common to all operating system like entry point function, time stamp etc and then other things. What is the purpose of keeping this time stamp in the header. Thanks | |
Private Sub login_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles login.Click Try Dim con As New SqlConnection("Data Source=SUSHANT-PC;Initial Catalog=USB_APP;Integrated Security=True") con.Open() Dim cmd As New SqlCommand("SELECT username, password FROM admin WHERE (username = '" & username.Text & "') AND (password = '" & password.Text & "')", con) Dim sdr … | |
Hello, I am trying to create this ascii art using nested for loops, [CODE] ***** ////////// ***** **** ////////\\ **** *** //////\\\\ *** ** ////\\\\\\ ** * //\\\\\\\\ * \\\\\\\\\\ [/CODE] I tried doing a paper check and this is what I have so far... [CODE] * / \ * … | |
/*PROGRAM TO PRINT SUM OF THE FOLLOWING SERIES - X + X*X/2! + X*X*X/3! + X*X*X*X/4!....n terms. I'm not getting the correct output. eg-for n=3 and x=2; compiler's ans = 4.66 correct ans = 5.3. HELP ME OUT...*/ [CODE]#include<iostream.h> #include<math.h> #include<conio.h> void main () { clrscr(); float x,sum=0; int n,fact=1,j,k; … | |
Hi, it's me again. I got a little problem with displaying thumbnail images. I have a repeater which is containing thumbnail images. Each image will zoom-in to a defined bigger size if we click on the thumbnail. [CODE] <div class="thumb"> <a href="images/<%=request.querystring("div") %>/<%=request.querystring("veh") %>COST<%=reportdate.Value.ToString.Replace("/","")%><%# Eval("page") %><%# Eval("image_link") %>" onclick="return hs.htmlExpand(this, … | |
In a data grid, I have a data grid with a column like this: [CODE]Dim colAdd As New HeaderAndDataAlignColumn With colAdd .MappingName = "Address" .HeaderText = "Nationality" .Width = 150 .Alignment = HorizontalAlignment.Center .TextBox.Enabled = False .ReadOnly = True .NullText = "" End With[/CODE] How can I disable this column … | |
Hello everyone, I'm having a problem with an assignment that I'm not sure how to fix I'm getting the following error: accountdb.cpp:55: error: cannot convert std::string to const char* for argument 1 to int strcmp(const char*, const char*) Here is my header file: [CODE] #ifndef ACCOUNTDB_H #define ACCOUNTDB_H #include "account.h" … | |
Hi all, Iam working on Event Calendar and events are populate from Database inside php Calendar Control now i have to display the details of events on mouse over of selected date and pageloading time dispaly current event . any Idea or code help is apperciated. which appraoch i have … | |
Hello, When I go to Debug my program (F5), the program will load, until I click on the form with the main part of code in it, and then the program freezes, although it doesn't lock up because as soon as I press stop debugging/ task manager end process, it … | |
hi I'm having serious problems with this code. It all started when I tried to use functions. The function easy() works fine when the page loads but the button has stopped calling the check() function. could it be because I have that stored inside another function? I tried placing outside … | |
![]() | Hi. I'm new to python. First off I'd like some advice on where to find modules for python that I can trust don't do anything malicious. There seems to be a lot of modules availible for python but how do I know that they only do what they advertise they … ![]() |
i using this code for making a page but the images are not showne in web browser win i deploy the script please help..... [CODE] def get(self): self.response.out.write(""" <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>my page</title> <link href="stylesheet.css" rel="stylesheet" type="text/css" /> </head> <body> <h1>my page</h1> """) f_path=os.path.join (os.path.dirname (__file__),'\image') … | |
I'm completely stuck on how to organize the layout of this GUI assignment (see:attached picture) I've got the create panel part done, but I can't get anything to work properly for this panel. I've done the code up to the updatePanel method and it compiles but nothing displays. I've tried … ![]() | |
I have a question...I'm trying to get text out of a website containing Spanish characters (like ñ or á) using urllib2 (and with #-*- coding: latin-1 -*- near the beginning of the Python file). However, when I write the output of the text to a file, I get something else--for … | |
I'm using visual c++ 2008. I don't know what namespace system and system::Glob.. are. I've never used "wchar_t" nor Console::Write. Is there a way to display unicode characters with the C++ that was taught to me in school? It looks that ASCII II is supported by using the char datatype … | |
I have a text file containing 10000s records. records are deliminated with comma ','. I read all the data into a string and i need to split the string at every 1000th comma. Example:- If i had 10000 records then the splitted string array will have 10 records. Is there … | |
Good Afternoon, I'm struggling with something that should be simple (where I have most trouble - simple things) Basically what I'm trying to do is when someone places an order on hold, I want to leave it on hold indefinitely unless someone else wants to place the same items on … | |
Hello, How do I mark a thread as solved? And if there are other tips? Bauke | |
What I mean is letting people see the page before linking so they know what's going to be on that page. Picture a small window taking a look at a page before you open it. | |
Can somebody help me figure out what I did wrong with my default constructor declaration I'm getting an error message no appropriate constructor available Thanks [CODE] TimeOff.h class TimeOff { private: string name; int id; NumDays maxSickDays; NumDays sickTaken; NumDays maxVacation; NumDays vacTaken; NumDays maxUnpaid; NumDays unpaidTaken; public: //default constructor … |
The End.