199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ritesh0104

am showing a report in a table, after fetching data from mysql. my client wishes to have this html report into an excel file too.. Suggestions required.. Either * button click call another php page and save to a predefined location * create xls file everytime i generate report. plz …

Member Avatar for swi2
0
94
Member Avatar for Xufyan

How to store password in MYSQL ? i created the new page, [B]index.html[/B] [CODE]<form action="calc.php" method="POST"> Username: <input type="text" name="username"> Password: <input type="password" name="password"> <input type="submit" name="submit" value="Submit"> </form> [/CODE] and clac.php, [CODE]<?php $username = $_POST['username']; $pass = $_POST['password']; if ($username == "a" && $pass =="abc") /* here i set …

Member Avatar for keval_hack
0
118
Member Avatar for kdmuk10

Here is my code, i am getting the following error message. How do i handle it? [code]package simp; import java.io.*; public class fCase { public static void main(String [] args) throws IOException { BufferedReader readObject = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter your expressions here"); String userEntry = readObject.readLine(); String [] toki …

Member Avatar for kdmuk10
0
1K
Member Avatar for blueman:-0

i have alot of forms , when i press in button that's open the other form in new one how i can make it open in the same form & not open it in new one

Member Avatar for WargRider
0
167
Member Avatar for AngelicOne
Member Avatar for AngelicOne

How to do this? Some said I need to use requiredfieldvalidators for this. Will these affect my other validation with no requiredfieldvalidators?

Member Avatar for AngelicOne
0
83
Member Avatar for job2

So, I have this code snippet where I read a text from a TXT-file: [code] file = open('test.txt', 'r') content = file.readlines() file.close() print(content) [/code] The printout: [code] ['My name is x.\n', 'I am 45 years old.\n', '\n', 'My girlfriends name is y.\n', 'She is way too old for me.\n', …

Member Avatar for TrustyTony
0
140
Member Avatar for Hektzu

My c++ code [CODE=c] string map = "111111111111111111111111111" for (int i = 0; i < 20; i++) { int number = atoi(map[i]); } [/CODE] Gave me error: cannot convert parameter 1 from 'char' to 'const char *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style …

Member Avatar for Hektzu
0
217
Member Avatar for shadiadiph

I have a radion box that has the values private public and friends but i cant't seem to get it to reset to the default value using javascript?? [code] document.getElementById('emailsetting').checked='private'; [/code]

Member Avatar for kainil
0
174
Member Avatar for Shaswat

consider form . id,username,age,etc if i enter id all other field should get filled automatically. can anyone tell php code . as i dont know asp.net. suggest some sites please

Member Avatar for Shaswat
0
99
Member Avatar for Mukt@R

Hello,i want to hide my actual download link from my website. when anyone click the contents they got direct download link. here is my code [CODE] $get_path=explode("/downloads/",$path[0]); $filename=$get_path[1]; $download=$get_path[0]."/downloads/".$filename; echo "<a href=\"".$download."\">Get File</a>"; [/CODE] they got direct link like this [QUOTE][url]http://localhost/downloads/cpanel.gif[/url][/QUOTE] i want to make it like [url]http://localhost/downloads/6885a6c38d6e9bcc201326902269658a[/url] (its md5) …

Member Avatar for Mukt@R
0
169
Member Avatar for griffith

Is this possible, and if so, how do I get this working? If datetime from table is greater than another datetime from table, then run query. so pretend its: $date1 = $row["date1"]; (june 19th) (i have a query on the page were it updates the day everytime you visit, NOW()) …

Member Avatar for Zagga
0
182
Member Avatar for khaled_jawaher

i am writing an application on my pc considered as client, to insert record on a microsoft access database on another pc that u can consider it as server, that has static ip address remotely.i can ping the remote address of the pc that i want to access without problems.the …

Member Avatar for khaled_jawaher
0
161
Member Avatar for askreiyna

i want to make image detection system using java. dont know the specific area yet...anyone have any idea??? please help me..=)

Member Avatar for askreiyna
0
144
Member Avatar for p@rse

I am trying to set the checkbox to be grey. If the user clicks one box and its arguments over ride the other boxes then those will be greyed, but I have searched everywhere for this and cant find it, anyone have a solution? All i have seen was indeterminate …

Member Avatar for p@rse
0
99
Member Avatar for Dingbats

Hello Everyone, my first post - so please don't shoot me if it goes wrong! I'd been looking for this for some time now and have seen a number of related queries but no solutions. I cannot take credit for the whole code here, but I did adapt it to …

0
625
Member Avatar for AngelicOne

I am making an enrollment system. My database table for the enrollment has 30 columns. I wonder which datapresentation suits this kind of multiple columns. Do you think gridview is suited for this? If I would have an edit function then do you think it's kinda long? I also made …

Member Avatar for AngelicOne
0
80
Member Avatar for Chosen13

Help please, I want to make a system so that when a thread hasn't been viewed by you, or if there are new posts in a thread that you haven't read, it will show "Unread", but when you view the new posts, or view the thread, it will show "Read" …

Member Avatar for eddimondson
0
282
Member Avatar for breakid

Hi, I have A DB look like this : events(type,event_from,event_to,description,owner,perm,repetition) and repetition(repetitionid,description) repetitionid = repetition and repetition look like that : 0;"None" 1;"Every day" 2;"Every week" 3;"Every month" 4;"Every Year" my question is by giving owner how can i found all hes events ?

Member Avatar for tesuji
0
159
Member Avatar for ankush chander

/* * hello−1.c − The simplest kernel module. */ #include "/usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h" /* Needed by all modules */ #include "/usr/src/linux-headers-2.6.31-16-generic/include/linux/kernel.h" /* Needed for KERN_INFO */ //#include "/usr/include/linux/module.h" //#include "/usr/include/linux/kernel.h" int init_module(void) { printk(KERN_INFO "Hello world 1.\n"); /* * A non 0 return means init_module failed; module can't be loaded. */ return …

Member Avatar for ankush chander
0
462
Member Avatar for centralpulse

Hi there, I have built a simple CMS that is generally working well, the issue I'm having is with building dynamic navigation. On the site the content for the individual pages is fine but getting the menu data and creating the menus is causing problems. I have 2 possible structures …

Member Avatar for centralpulse
0
183
Member Avatar for Viruthagiri

Hello friends, I have text file which contains more than million phone numbers. Here is the example. I want to extract all numbers and put it in a excel single row file. [QUOTE]07748362656 07532517142 07946132831 07532135934 07880531707 07816820456 07879181057 07928483273 07735721101 07668889152 07925787076 07041438421 07524774407 07948383594 07927231600 07796044906 01679953124 01615331860 …

Member Avatar for cfajohnson
0
146
Member Avatar for Priya123M

Hi I'm a Javascript newbie. I am displaying list of things in my Jsp page. each row has two drop down menus and a radio button. When the submit is clicked it sends the index of the radio button clicked as a hidden parameter. I need to get the drop …

Member Avatar for javaAddict
0
4K
Member Avatar for trippinz

I use Visual Studio and when I go on Properties->Settings, I cannot seem to find the setting thingy for background image. I do not like .XML files for user settings so I use settings instead. I want to change the background image of a menustrip and then when the application …

Member Avatar for trippinz
0
266
Member Avatar for CanYouHandstand

Hi All I'm using SetWindowsHookEx to hook the keyboard. The connection is made and I am able to trap key presses. I'm also trying to call GetKeyboardState to obtain the state of the other keys at the time of the key press (to identify if shift, ctrl etc is pressed). …

Member Avatar for CanYouHandstand
0
670
Member Avatar for mrnutty

From project euler : [code] By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23. [COLOR="Red"]3[/COLOR] [COLOR="red"]7[/COLOR] 4 2 [COLOR="red"]4[/COLOR] 6 8 5 [COLOR="red"]9[/COLOR] 3 That is, 3 + 7 + 4 + …

Member Avatar for iamthwee
0
138
Member Avatar for RoyMicro

Hai In visual studio 2008 designer, the buttons tab controls etc are having smooth corners. But when we run the application the corners are sharp and edges are not smooth. Is there any property in controls to smooth edges and corners? Thank you

Member Avatar for xpentor
0
255
Member Avatar for mrnutty

Look [URL="http://www.spoj.pl/problems/ADDREV/"]here[/URL] for a complete description of the problem. Your code should follow the coding standards, good names, spacing, easy on the eyes...etc. Make sure you handle all test case and boundaries. Good Luck, and happy coding. Although this is a C++ forum, it would be nice to see some …

Member Avatar for iamthwee
0
343
Member Avatar for amass

Can u pls help me solve this problem iam using vb6.0 and sql 2000. when i insert the currnt date (as Now()) in the dbase with a colunm datatype date/time, it inserts the date 01/01/1900. In MSAccess it works by putting a # b4 and after the date e.g. #25/06/2010# …

Member Avatar for Ionelul
0
295
Member Avatar for Nekrowizard

I started reading up on C++ yesterday, and I am a person who learns best by doing rather than just reading theory, so I wanted to create a small game where you are presented with dialogue, and thereafter have 3 options which each will lead you to another piece of …

Member Avatar for Nekrowizard
0
108
Member Avatar for Darkicon

How do I make my app have a description in the Processes tab of the Task Manager? Changing the assembly description doesn't do it apparently. Right now the description is just it's name.

Member Avatar for Teme64
0
83
Member Avatar for mahadevan.swamy

Hi, I have Oracle 10g installed in my laptop. I have currently inserted a Gridview and in this Gridview when i choose "Oracle Database" as my Data Source, I come across a form where I have to fill out the server name, username, and password. I do not know what …

Member Avatar for mahadevan.swamy
0
73
Member Avatar for +_+man

hello everyone plss tell me whats wrong with my code[code]#include <iostream> #include <cstdlib> using namespace std; int main(void) { int choice; do { cout<<"Welcome To Hayzam's TimeTable\n"; cout<<" press 0 to quit\n"; cout<<"1- Sunday\n"; cout<<"2- Monday\n"; cout<<"3- Tuesday\n"; cout<<"4- Wendesday\n"; cout<<"5- Thursday\n"; cout<<"6- Friday\n"; cout<<"7- Saturday\n"; cin>>choice; } while (true); …

Member Avatar for tesuji
0
160
Member Avatar for mhm_ra

i write a program which write a value of a pointer into file using "out" now i need to read this data from the file but when i read it and print it on the screen a minus value appear. can you help me by tell9ing me how to read …

Member Avatar for peter_budo
0
202
Member Avatar for loveforfire33

Hi, i have a submit button which adds data to a DB, id like a pop up window to open after the user clicks the button and the submit operation has been completed... (the pop up window will display the submitted data) while tesing on a local host i (naively) …

Member Avatar for patelriki13
0
203
Member Avatar for jaipal22

hi myself jaipal deshwal my problem is that i am not find proper value in dropdownlist the coding is as folow using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { DropDownList1.Items.Add("-Select-"); DropDownList1.Items.Add("+"); …

0
269
Member Avatar for har58

Exception in thread "AWT-EventQueue-1" java.security.AccessControlException: acc ess denied (java.util.PropertyPermission oracle.jserver.version read) hi, i m building an online examination application. The code is getting complied .but it throws an exception.Below i m pasting d code as well as exception.plz help me. It is a simple program for login. It matches d …

Member Avatar for har58
0
946
Member Avatar for glyvery.happy

[CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace yeah { class Program { static void Main(string[] args) { string name; System.Console.WriteLine("What is your name:"); name = System.Console.ReadLine(); System.Console.WriteLine("the name is " + name + "!!!!!!"); System.Console.Read(); System.Console.Clear(); System.Console.WriteLine("wait there's more! "); System.Console.Read(); System.Console.WriteLine("Simple Test "); System.Console.Read(); System.Console.Clear(); int …

Member Avatar for Lusiphur
0
177
Member Avatar for kayfar

can anyone tell me what code should i use to print when i click the button it'll automatically print the page? or any other suggestion?

Member Avatar for patelriki13
0
93
Member Avatar for raniajay

Hi, I am just a starter in C++,i am having some doubts in solveing some C++ programing problems... I will be thankful if u help me solving it.. Queries r: write prog 2 find the square root of a number using repeated iteration technique. WAP to accept n +ve integer …

Member Avatar for arashyjrt
0
137
Member Avatar for sourabhtripathi

[CODE] int a[10]={3,45,6,78,89,334,4,77,54,60}; int *p=a; [/CODE] what will *p++ do ? as ++ has more priority than * therefore ++ will be executed fisrt ? but its postincrement so it will happen after change of line or statement. so will it increment the pointer or increment the value hold by …

Member Avatar for jaaz....
0
306
Member Avatar for Andreas5

Hello, i got in trouble once again, this time in excersise 14-4 in Accelerated C++. When i compile i get an error message that you probably know. [QUOTE]fatal error LNK1169: one or more multiply defined symbols found[/QUOTE] Can anyone see what i am missing here? Edit: This is all in …

Member Avatar for Andreas5
0
115
Member Avatar for emclondon

hello guys, I am trying to add an image to java panel. I have tried Paint, ImageIcon and every other sort of methods and failed. can someone explain me how do I add an image onto a panel? thanks for your time. cheers!

Member Avatar for emclondon
0
570
Member Avatar for Anteater7171

I put in a partially transparent PNG image in Tkinter and all I get is what is in the attached image. How do I make the dark triangle on the right clear? (like it's supposed to be) This is python 2.6 on Windows 7, btw.

Member Avatar for ultimatebuster
0
74
Member Avatar for SoulMazer

Hi, I've just finished writing a Pong game with Python and pygame and thought it would be cool to make it multiplayer over the net with a friend. So, I changed my old asynchat-based instant messaging server into a server for this multiplayer Pong game. The only bad thing about …

Member Avatar for ultimatebuster
0
140
Member Avatar for nick3592

hi i was wondering how i can show my site bar on a external link my site sends a user to. A good example of this is how digg shows a bar at the top after being sent to a different site. Please let me know steps on how i …

Member Avatar for phpl0v3r
0
83
Member Avatar for ultimatebuster

I'm kind of confused over the iterator object/concept and the yield statement and its usage. According to my understanding, all the python sequence are iterators, as they don't need the classic [icode=java]for (int i=0; i<list.length; i++)[/icode] to iterate through lists/arrays. Am I correct over this? Am I missing anything? Also …

Member Avatar for ultimatebuster
0
101
Member Avatar for tldorr

I need some assistance with my calculator code. I have developed a fully funcitoning mortgage calculator up to this point. I have one small change that I want to do. Right now this is considered an applet and I want it to be considered an application. It is my understanding …

Member Avatar for NormR1
0
403
Member Avatar for preethi_ga

Hello, In .NET im using the backend as SQL Server. but when i write codings for all insert,update and delete in .NET and run the form, the error it shows like "Oledb exception was unhandled by the user" and error in SQL query. the codings are....follows.. [code] imports system imports …

Member Avatar for olobo
0
7K
Member Avatar for iThaos

Hi everyone. I've run into another problem :( I have 3 JS files I want to include in my page. The first one is defined statically in the html file. The other two are loaded into the DOM using the following function: [CODE] function loadJsFile(pathToFile){ var headID = document.getElementsByTagName("head")[0]; var …

Member Avatar for iThaos
0
393

The End.