64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for palavi

hi , can i update multiple tables on submitting one form, i ve a form which includes vehicle details and driver details like driver name vehicle no,vehile type booked for the date DD/MM/YYYY from some place to another place,these details shud be updated in the driver table , vehicle table …

Member Avatar for peter_budo
0
65
Member Avatar for Shanti C

i have one static site... can any one please help to search the whole static site with search textbox... Any ideas and help would be appreciated....

Member Avatar for nil_gh_80
-1
146
Member Avatar for veledrom

Hi, When i click one checkbox code below workes fine but, more than one, noo. I cant find the problem. Can you help me please? Thnaks 1st page. [code] <td><input type="checkbox" name="checkboxReceipt<?php echo "[$newArray[id]]"; ?>" value="<?php echo $newArray['id']; ?>" id="checkboxReceipt"></td> [/code] 2nd page. [code] if (isset($_POST['checkboxReceipt'])){ $sql="UPDATE payment SET"; foreach …

Member Avatar for veledrom
0
282
Member Avatar for abhisdm

I'm getting an error msg as Type mismatch in redeclaration of 'putw' for the following code... Can anyone suggest the reason for this??? [code]#include<stdio.h> union pw{ short int i; char ch[2]; }; int putw(short int num, FILE *fp); int main() { FILE *fp; fp=fopen("test.tmp","wb+"); putw(1000,fp); fclose(fp); return 0; } int …

Member Avatar for ArkM
0
154
Member Avatar for palavi

hi all, I ve a requirement for standalone travel software dat is not web based which involves rentung vehicles,arraging drivers, generating bill, making a picture of bus seats n which shows seat nos available.. i want to do it on java platform. can i do static html page using dreamweaver …

Member Avatar for palavi
0
99
Member Avatar for god_1896

Hi, guys. I've got a simple request form that is submitting a request to a company email address. However, now when the form is submitted, I need the data to be sent in an email to the site's admin. and prompt the company some message... Anybody can give me a …

Member Avatar for Shanti C
0
138
Member Avatar for FaridMasood

I want to use the printPreviewDialog control to view the print preview of a document. I am using this code Dim oPD As New PrintDocument oPD.DocumentName = TextBox1.Text PrintPreviewDialog1.PrintPreviewControl.Document = oPD PrintPreviewDialog1.ShowDialog() TextBox1 contains the file name to be opened with print preview control. Problem is that it only show …

Member Avatar for FaridMasood
0
146
Member Avatar for farhan386

I want to paste some text in clipboard into Ms Word. I wrote this following code [code] a:=findWIndow(pchar('OpusApp'),nil); b:=FindWindowEx(a,0,pchar('_WwF'),nil); c:=FindWindowEx(b,0,pchar('_WwB'),nil); d:=FindWindowEx(c,0,pchar('_WwG'),nil); SendMessage(d,wm_paste,0,0); [/code] and it didn't work. But i wrote the code below to paste into Wordpad,and it works fine [code] a:=findwindow(pchar('WordPadClass'),nil); b:=FindWindowEx(a,0,pchar('RICHEDIT50W'),nil); SendMessage(b,wm_paste,0,0); [/code] Am I made some mistake …

Member Avatar for farhan386
0
407
Member Avatar for satigid

Hi I am designing a web application. the structure is like this. request for product -> controller.jsp ( based on URL forward the request) -> products.jsp Here request can come from any of the pages and products.jsp refer to different jsps for different product. In general, there will be so …

Member Avatar for ~s.o.s~
0
148
Member Avatar for NickyU

can more variables have the same value in an enum ? eg. [code] enum boolean { true = 1, false = 0, TRUE = 1, FALSE = 0 }; [/code]

Member Avatar for Bench
0
120
Member Avatar for shebeg

Hi! i just want to ask how to end a session after a transaction. Here's the flow of my app...after updating information in the database, a confirmation page is invoked, in this page, a button which will display the first page is displayed. when i click that button, the text …

Member Avatar for peter_budo
0
137
Member Avatar for iqbalhosan

hellow i make a javascript function. i can call it via onLoad attribute and via form input. but there must be someother way to call the function, i mean from script. can anyone help me out here. thanks in advance - iqbal

Member Avatar for iqbalhosan
0
127
Member Avatar for mindmesh

I'm using the following tutorial to learn Python: [url=http://openbookproject.net/thinkCSpy/index.xhtml]How to think like a computer scientist[/url] I'm running the following code and I get an error: [CODE]from gasp import * begin_graphics(800, 600, title="Catch", background=color.yellow) set_speed(120) ball_x = 10 ball_y = 300 ball = Circle((ball_x, ball_y), 10, filled=True) dx = 4 dy …

Member Avatar for pyromjm
0
164
Member Avatar for brizwhiz

I have constructed a source code for Java Payroll Part 3: I'm receiving the following error when I try to compile my program: PayrollPart3.java:56: 'else' without 'if' ^else Any advice would be appreciated to why I am getting this error. Thanks! [code=java] // Fig. 1.3: Payroll Part 3 // Program …

Member Avatar for brizwhiz
0
111
Member Avatar for PomonaGrange

Hey All, I am trying to write a php script and would like to have an autosuggest text box with data from a mysql database. This would be for designating a town in a form. The sql query I would use would be. [CODE]<?php $connection = @mysql_connect($server,$dbusername,$dbpassword) or die(mysql_error()); $db …

Member Avatar for PomonaGrange
0
187
Member Avatar for robertmacedonia

Hi, may I ask for a little help ? I don't know how to type a command for selected radio button. I mean - for example - if radio button is selected do this... I know there is a function KeyPress, but do not know how to use it, thanks …

Member Avatar for John A
0
116
Member Avatar for dragonflyuk

I'm trying to detect googlebot, or more to the point have some code not run when googlebot is viewing the page This is what I am using if (strpos(strtolower($_SERVER[‘HTTP_USER_AGENT’]), "google") === FALSE) However google bot appears to be still running the code, anybody any ideas?

Member Avatar for dragonflyuk
0
125
Member Avatar for brr

in my form there is 4 fields in that 2nd one is list box in that if u select item have to open pop up window and in that pop up window after enter all values( 4 fields) when click submit button window have to close and control come back …

0
75
Member Avatar for veledrom

Hi, I create dbf.php file to connect database and require dbf.php in main.php but, doesn't work. Thanks dbf.php [code] <?php $conn = mysql_connect('localhost', 'root', ''); if (!$conn) { die('Could not connect: ' . mysql_error()); } else { mysql_select_db('dbf', $conn) or die('Could not select database.'); } ?> [/code] main.php [code] <?php …

Member Avatar for praveen_dusari
0
116
Member Avatar for knrakesh

hello friend, i require help for forget password please provide code for this please Thank u in advance Rakesh Nagekar

Member Avatar for saikishore
0
76
Member Avatar for VernonDozier

O.K. I wrote my own version of the Addiction Solitaire game using a JFrame and it worked. I want to put it on the web, so I'm converting it to a JApplet. I have 52 PNG files, one for each card, that I need to be able to access for …

Member Avatar for VernonDozier
0
228
Member Avatar for Prabakar

I have mentioned this before, I have to use turbo c++ in class. [B]Problem:[/B] I wrote the following code & to my surprise the code passed the compilation without any problem. I was even more surprised with the output. I just don't understand whats happening. This code won't compile in …

Member Avatar for Prabakar
0
151
Member Avatar for veledrom

Hi, What should i do for "logout link" to clear "login session" because, when i click "logout link", i can come back to same page without any problem with clicking on back button on the IE. Thanks

Member Avatar for veledrom
0
104
Member Avatar for guravharsha

Hi; This is my first project. I am developing a project: student feedback system for an institution. Here each student will get an userid and password . There are six tables in database to support project 1. User—consist of user information like username, password etc. 2. Groupid—consists of various groups …

Member Avatar for peter_budo
0
134
Member Avatar for QuantNeeds

I am having some issues. I was trying to use my setToolName function to copy the string into the array – this would check if the string was too long. But then it does not capture 2 words, say if the string is “lawn mower”. So I started to use …

Member Avatar for QuantNeeds
0
141
Member Avatar for jamello

I have a project I am currently working on and I need users to be able to chat online amongst themselves. Please experts, what are the basics I need to know and implement so that this becomes possible.:?: :cool:

Member Avatar for jel3
0
112
Member Avatar for Sharaiha

hi i need help with a web page i am making the index page is a common subscription form for students you enter name email and student number, the page validates them then send them to a JSP page. the problem is i am not good at all with JSP …

Member Avatar for peter_budo
0
114
Member Avatar for darkivader

Hello, im new to working with windows controls and im trying to create a simple listbox inside a main window. It compiles fine, but when i run it, the listbox is all screwed up and im fairly sure that my error message is trying to pop up (but for some …

Member Avatar for mitrmkar
0
168
Member Avatar for Natso

Without getting into too much detail about my own history, I'll be a junior in college this fall semester. My Bachelors Degree is "Computer Science" (the other degree offered being "CS - Information Technology" which is a bit more hardware based). My end goal is to be a programmer (on …

Member Avatar for ripsocrates
0
118
Member Avatar for mayoub

Dear DaniWebbers, If you would all be so kind to help me, I have a problem here and I am trying to know why this happens... In a large application I am working on, I need to have a struct of some sort with a sub struct-array and the sub …

Member Avatar for mayoub
0
145
Member Avatar for Nithya.G

iam using two checkbox inside the gridview, when i select one of the checkboxes the second box should automatiocally checked Thanx in advance Nithya

Member Avatar for Kusno
0
106
Member Avatar for FaridMasood
Member Avatar for Ramy Mahrous
0
89
Member Avatar for knrakesh

hii, can anyone please see the doc in this the del is not working pleaseeeeeeeeeeeeeeee Rakesh Nagekar

Member Avatar for Shanti C
0
85
Member Avatar for sciwizeh

Hypothetically, say i want to know how may times anyone has clicked a button in an applet. NOTE: this is not what i actually want to do but it is a good example. more specifically i have a text file in a jar, along with classes, called clicks.txt. every time …

Member Avatar for sciwizeh
0
113
Member Avatar for PaulNickel

Hello everybody, I have been working on this code segment for about three days and cannot figure out what is causing this error. I am trying to get a specific value out of an arraylist of sorted objects. Here is the code: [code=java] public RateEstimator getMinRate() { // return null …

Member Avatar for PaulNickel
0
116
Member Avatar for sameer123

i want to create a file exactly like pickled file using C program in Qt without using python. this file will be read by python (unpickled ) to initialize some properties. Or Is there any way one can know the exact syntax of pickled file n then write it using …

Member Avatar for sameer123
0
299
Member Avatar for god_1896

hi all; I' am using the encoding type utf8- and its works on the firefox. but when i run my index on the IE 6 and IE 7 it does not detect the utf8. what seems to the problem of this? Can put the type of encoding so that my …

Member Avatar for god_1896
0
97
Member Avatar for swanqute

I need a code that hides the content when clicked and reveal them on demand using javascript. This is in webdesigning anyone to help

Member Avatar for Shanti C
0
189
Member Avatar for breakbone

Hi, I'm writing a simple echo/chat GUI server using wxPython. I made a separate thread for the server. The only problem I have is that when I try to close the server it hangs in socket.recv() thus hanging the whole thread. How can stop the socket from receiving from the …

Member Avatar for breakbone
0
163
Member Avatar for ChrisP_Buffalo

How do I test a byte string in Python? I want to manually convert (no libraries or functions) a UTF-8 string into UTF-16. My basic solution is to reading from the stream some number of UTF-8 bytes, convert them into codepoints, then convert those codepoints into UTF-16 bytes. I want …

Member Avatar for ChrisP_Buffalo
0
152
Member Avatar for Das246

I have a script with a wx.Python GUI that monitors game files for changes and then makes a .tar.gz backup of each turn. If I run the test script (.py extension) the program works well and I can play the game without noticing the python script running in the background. …

Member Avatar for vegaseat
0
288
Member Avatar for vegaseat

I keep hearing that Python is about as slow as Java. Does anybody have experience with speeding things up?

Member Avatar for Gribouillis
0
493
Member Avatar for Lukezzz

I have declared a vector with 3 Dimensions with the first code below. Then I have managed to push_back all the 3 dimensions so my vector is filled up like this: vector1[2][2][2] [code] typedef std::vector<string> String1D; typedef std::vector<String1D> String2D; typedef std::vector<String2D> String3D; String3D vector1; [/code] What I now need to …

Member Avatar for ArkM
0
2K
Member Avatar for veledrom

Hi, Javascript below doesn't work. It always retuns false. Where is mistake? thanks [code] <script Language="JavaScript"> function validateAreas(){ if (document.form1.selectS.value=="") { alert("Please select a S"); form1.selectS.focus(); return false; } return true; } </script> <form name="form1" method="post" action="" onSubmit="return validateAreas();"> ..... <select name="selectS"> <option selected="selected"></option> <?php $q="SELECT id FROM spp"; $run=mysql_query($q); …

Member Avatar for veledrom
0
85
Member Avatar for tzushky

Hello, long time no see... I've been getting along fine with Python lately and I just need to ask you a question: Is it possible to just write to, NOT OVER , an Excel file, in a certain area, using a certain python module?. This way results from an application …

Member Avatar for Gribouillis
0
2K
Member Avatar for selvaganapathy

Can any one tell about the difference between the Abstract Class and Interface? Can abstract class replaces Interface? If all things can be done in Abstract class Why we need Interface?

Member Avatar for selvaganapathy
0
88
Member Avatar for JackDurden

I think I have a memory problem since this code keeps outputting large negative numbers. The file that it reads includes- lastname, firstname, identification number, then 5 decimal numbers. ZDoes anyone know what the problem is? [CODE]#include <iostream> #include <iomanip> #include <fstream> #include <string> using namespace std; const int rows …

Member Avatar for JackDurden
0
82
Member Avatar for JyotiC

Hi, I have an xml file, corresponding to an xsd. If there some tool, which would take this xml and xsd and give me an object. And also take the object and xsd and give me xml. I read about couple of tools like JAXB, xstrem and xmlBeans. The issue …

Member Avatar for sciwizeh
0
121
Member Avatar for hny_lyn

hello sir!!! i need the answer as soon as possible!! can you change this code and execute it using the JOptionPane... Please help me!!! You may send your answers to this address... <snip email> Thanks a lot!!! import java.io.*; [code=juva] public class ToyoradaII { public static void main(String []lyn) throws …

Member Avatar for javaAddict
0
186
Member Avatar for veledrom

Hi, I'll create a Login.php page to check uid and password and let user login to the system. Now, do i check uid and password in same Login.php or i post uid and password to next page to be checked there? What is the best way? Thanks

Member Avatar for veledrom
0
118

The End.