199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gourav1

please tell me what exactly buffer is ? i have searched google.com a lot but not find what exactly it means ? what it means if i say "flushing the buffer"..? please tell me..what exactly is it ??

Member Avatar for gourav1
0
144
Member Avatar for zeeshan_kust

I have a page that lists records from a database call. I want to have an 'edit' link on each row that will popup a Jquery dialog so that the row can be edited. My question is how do I pass the data from the selected row to the jquery …

Member Avatar for anggun
0
402
Member Avatar for reibi

Dear all, I am a newbie in codeigniter. As I had downloaded n installed the codeigniter and it has displayed the default message. Now I had created the new file called hello inside the controllers folder as told in the codeigniter manual. And I browze my folder as [url]http://localhost/code/index.php/Hello[/url] but …

Member Avatar for reibi
0
130
Member Avatar for chicnstu012

Hello all, being relatively new to PHP, I'm in search of some help regarding displaying data that is contained in my database. It's a very simple script that allows users to type in their alias and their comment on a website. Here's the code I'm using to display the data: …

Member Avatar for diafol
0
100
Member Avatar for akshatha.ullur

i have an excel sheet with me. i want 2 retrieve the data in c++ .. the retrieval should be in such a way that if a content of a cell is given it should tel me the content of the parallel cell .. i'm trying out alot for this …

Member Avatar for DJSAN10
0
144
Member Avatar for tcl76

hi, i would like to parse an input file (input.txt) into output file (output.txt) which i'll into excel. appreciate any advice on how to parse the input.txt into output.txt. thanks johnny

Member Avatar for tcl76
0
224
Member Avatar for gourav1

[CODE]PrintWriter file= new PrintWriter(new FileWriter("league1.txt",true)); file.print(value1); file.print(','); file.print(value2); file.print(','); file.print(value3); file.print(','); file.close();[/CODE] i m using this code to write in a file.. i m using this in servlet.value1, value2,value3 are Strings. and i wana to write it in file named "league1.txt". i have made this file in WEBPAGES folder in …

Member Avatar for gourav1
0
270
Member Avatar for aaro

hey i have a javascript datepicker working on my site but when i try to store the data on mysql im having trouble setting the primary key from the parent table into a new id_item. i pass the id in the url eg somepage.php?id=1 it still doesnt store the date …

Member Avatar for hari.sarvothama
0
375
Member Avatar for saneeha.nust

plz guide me how can I view the content of a memory stream in visual studio output window....? I know the encoding is utf-8.. plz help...

Member Avatar for saneeha.nust
0
121
Member Avatar for vijaykavin10

Hi all, I am using IMAP PHP,I get(downloaded) the messages from the mail as well...But if the mail contains any [COLOR="Green"]attachments like PDF or HTML files[/COLOR] it throws a encoded form of the attachment...I need to the the decoded form of the output...If any one is having a piece of …

Member Avatar for vijaykavin10
0
379
Member Avatar for anand01

[CODE] Set<Integer> set = new HashSet<Integer>(); Integer i1 = 45; Integer i2 = 46; set.add(i1); set.add(i1); set.add(i2); System.out.print(set.size() + " "); set.remove(i2); System.out.print(set.size() + " "); i1 = 47; System.out.print(set.toString()); set.remove(i1); System.out.print(set.size() + " "); [/CODE] The result of this code is 2,1,1 but my expectation is 2,1,0 Could any …

Member Avatar for anand01
0
117
Member Avatar for gilgil2

Could anyone tell me why the following is not working? [CODE] <html> <body> <? $link = mysql_connect('localhost', 'username', 'password'); if (!$link) { die('Could not connect: ' . mysql_error()); } echo 'Connected successfully'; mysql_select_db('database'); if(isset($_POST['username']) && !empty($_POST['username']) AND isset($_POST['password']) && !empty($_POST['password'])){ $username = ($_POST['username']); $password = ($_POST['password']); $search = mysql_query("SELECT username, …

Member Avatar for Stefano Mtangoo
0
222
Member Avatar for lolwaht

How do they help with coding? They don't seem like it makes the code shorter so I'm confused... maybe I'm doing it wrong but... could anyone explain to me about enums and structures please? It'd be greatly appreciated, Merry Christmas!

Member Avatar for mrnutty
0
97
Member Avatar for scheppy

I have a extremely small problem, I think its my own fault, but i just cant seem to find what it is. I'm making a program with a gui, and in the gui there is a main menu with 2 JButtons. When I click on a JButton the JPanel/JFrame is …

Member Avatar for scheppy
0
167
Member Avatar for Mike Bishop

can anyone please help me with my update statement, i am trying to update a row within a access 2007 database here is my code. [CODE] Dim con As New OleDb.OleDbConnection Dim cmd As New OleDb.OleDbCommand Try con.ConnectionString = "Provider=Microsoft.Ace.OLEDB.12.0;Data Source=" & Database & ";Persist Security Info=False" con.Open() cmd.Connection = …

Member Avatar for hericles
0
486
Member Avatar for KillerOfDN

Hey guys/girls... I am looking to constantly check to see if a variables value has changed. An example below might be simular ' If the value of this variable ever changes - perform some action Dim str As String = "" However, using a timer seems inefficient as I have …

Member Avatar for elbakai
0
11K
Member Avatar for Xtremefaith

Trying to accomplish a simple test for a project I'm working on. [B]The Form[/B] [CODE=html] <form id="agreement_text_form" action="" method="POST" onsubmit="updateAgreementText(); return false"> <textarea name="agreement_text" id="agreement_text"></textarea> <input type="submit" value="Update Agreement Text" /> </form> [/CODE] The textarea has a WYSIWYG added to it (not needed but just in case here is that …

Member Avatar for Troy III
0
2K
Member Avatar for akhtar.ali803

my code is following [CODE]<?php $conn = mysql_connect("localhost","rentwall_rentwal",")X7zlBx)XgZ5") or die ("Could not connect MySQL"); mysql_select_db('rentwall_rentwall',$conn) or die ("Could not open database"); function post($postname) { $posted = mysql_real_escape_string($postname); return $posted; } ?> [/CODE] it gives notification that Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'rentwall_rentwall'@'localhost' (using password: YES) in C:\wamp\www\site2\db.php on …

Member Avatar for phorce
0
167
Member Avatar for complete

Help me Convert this WPF to Silverlight I am interested in a Charles Petzold C# example that shows how to do a fisheye effect ( [url]http://www.charlespetzold.com/blog/2009/05/Realizing-a-Fisheye-Effect-in-Silverlight.html[/url] ). The XAML code samples are in WPF but I want to try this in Silverlight. When I try to create the XAML code …

Member Avatar for complete
0
183
Member Avatar for fredfletcher

Hello, I've searched far and wide for an answer to a question that I have, but did not find anything that could help me achieve what I would like to do. I have a delimited text file (CSV) with fields that resemble these below that repeats/resemble 18 times (I only …

Member Avatar for fredfletcher
0
129
Member Avatar for blee93

I just started learning PHP and I tried looking for answers, but couldn't find any. When i type in [CODE]<?php echo '<p>Order processed.[/CODE] embedded into HTML, it works fine, but when I put [CODE]<?php echo '<p>Order processed.</p>' ?>[/CODE] it always has the closing tag '?> shown in the browser. Is …

Member Avatar for mikulucky
0
398
Member Avatar for galhajaj

Hi :) i am having a hard time understanding the concept of event & delegate. i think i understand that one object start an event and some other objects can react while the event start. but why is that different from the observer design pattern? or how is it different …

Member Avatar for thines01
0
146
Member Avatar for dennysimon

hello all my part of code give me message to recompile with -Xlint:unchecked How to fix this code so the message gone thank you denny [CODE] if(file.exists()) { FileRead fr=new FileRead(); String astring=fr.Read(filePath); System.out.println(astring); /* delimiter */ String delimiter = ","; /* given string will be split by the argument …

Member Avatar for dennysimon
0
2K
Member Avatar for Andy90

I have been trying to display form as taskbar but don't know how to! Is there any form property available to do so? The form will be permanently located either at top or at bottom of desktop. for eg: In (image) at the top the form is located and the …

Member Avatar for shandoosheri
0
585
Member Avatar for baby_c

hi friends.! need little help. I couldn't find the way to check a stack is empty before pop up a element. when my program is running its give a error. please help me guys.. thank you in advance....

Member Avatar for thines01
0
4K
Member Avatar for glut

Hello. I have a severe problem with open(). Here is my actual code. [ICODE] #!/usr/bin/perl $file = '/testerpage.php'; # Name the file open(INFO, $file); # Open the file @lines = <INFO>; # Read it into an array close(INFO); # Close the file print @lines; # Print the array <>; [/ICODE] …

Member Avatar for glut
0
167
Member Avatar for shnips6

I have created an online form and am trying to post the info into a mysql database and I keep getting back a query error. Below is my PHP code. If anybody can help me, that would be great. Thanks a lot. [CODE] <?php $property_type = $_POST['property_type']; $number_of_bedrooms = $_POST['#_of_bedrooms']; …

Member Avatar for diafol
0
290
Member Avatar for ginG3R

Hello, Am new to php and I have a question that is probably very easy. I have been watching tutorials online to learn how to work with databases, but none of them speak on how to upload to server. This is my problem: am using vertrigoserv but specifically using PHPMyAdmin …

Member Avatar for ginG3R
0
229
Member Avatar for bangor_boy

Please help before i go mad, i need to use the update in the main class to access the list in the footballadmin and then display each in a list box but i cant get it to work. [CODE]Imports Football Public Class FootballAdmin Private fTeam As List(Of FootballTeams) Public Sub …

Member Avatar for bangor_boy
0
195
Member Avatar for Kanoisa

Hi all, This is quite a specific question with a relatively large amount of explaining so ill try to make it really short to try save peoples time. In a nutshell what i have is a large csv file and im trying to search a particular entry (line in the …

Member Avatar for Kanoisa
0
1K
Member Avatar for gilgil2

Hi I am using the following code to try and log out users but it is not working, any ideas why? [CODE] <?php session_start(); if(isset($_SESSION['authenticated'])) unset($_SESSION['authenticated']); echo 'you are not logged in'; ?> [/CODE] The code I used to start the session is: [CODE] $_SESSION['authenticated']=true; [/CODE] And that seems to …

Member Avatar for gilgil2
0
86
Member Avatar for shandoosheri

Hi all and happy new year I need to detect whe the mouse leftclick is being held while moving the mouse upward so how can i do that Thank you

Member Avatar for shandoosheri
0
140
Member Avatar for unreal04

Hey all, Ok, I am new here, and my skill with c# is terrible. I have completed few tutorial courses that I found on internet, but still I dont have the knowledge to complete the given task. I learned how to draw basic geometry shapes but this is confusing me. …

Member Avatar for unreal04
0
98
Member Avatar for Tipples

Okay I am pretty knew to c# and I am struggling to learn it. However back to my question how do I record a trace table for example this is the code I have:- [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication4 { class Program { static void …

Member Avatar for skatamatic
0
217
Member Avatar for tungnk1993

Hi, I want to get the network utilization percentage which appears in task manager . Is there any libraries that provide that info ?

Member Avatar for skatamatic
0
136
Member Avatar for kothaisaravan

Hi, Can anyone help me about hiding gridlines in excel sheet using VB.NET. I need to hide gridlines while exporting to excel from VB.NET. Thanks.

Member Avatar for adam_k
0
242
Member Avatar for Stefano Mtangoo

Hi Buddies, here is my happy new year greetings to all PHP friends. Love you and enjoy DW! $greetings = "Have nice year full of projects and less stress <br /> Enjoy!"; if(!$is_dead && $is_visiting_dw){ echo $greetings; }else{ die("Dead people do not browse internet!!"); }

Member Avatar for qazplm114477
0
200
Member Avatar for sirlink99

I am making a website, and I would like to figure out what size the display portion of the browser is. Here is more of an idea of what I mean tabs and menu widgets if they have any browser window bottom portion of web browser I would like to …

Member Avatar for qazplm114477
0
100
Member Avatar for joy39

i am using mysql for the first time and following an online tutorial. i am using the command prompt to connect to the mysql server. the problem is that , i want to create a new database named bookstore. so, in the mysql> prompt i am writing [CODE] create database …

Member Avatar for joy39
0
164
Member Avatar for EddieC

Most of the reports out yesterday about the release of [URL=http://www.microsoft.com/ie8]Internet Explorer 8[/URL]Beta 2 focused on its so-calledInPrivate Browsing, which leaves no trace of the Web sites you visit and protects anonymity. And while that's certainly useful, developers are likely to be more interested in its improvements in DOM and …

Member Avatar for AleMonteiro
0
346
Member Avatar for Jenna1994

this is the program i have to write you have to write a program using java language which will realize the following scenario project scenario:when you run your program it will display a welcome messege (you choose ur welcome messege). then program will ask to input a number beetween 1-9999, …

Member Avatar for Philippe.Lahaie
0
196
Member Avatar for sachinmaster

I have a slight situation in my app in my jsfiddle. What I want to do which I can't achieve is that I want the functionality of the Option Type, Number of Answers and Answer buttons within each row to match the functionality on top. The problem is that under …

Member Avatar for AleMonteiro
0
332
Member Avatar for ultrAslan

I need to write a code to be able to interpret the input date to calendar system. First input is the date and second input is the first day of the year. I dont know how to start. I hope someone could help me. Thanks 12/10/2011 S Output: October, 2011 …

Member Avatar for bbman
0
177
Member Avatar for thejoker011

hello everyone... i need some good open source Graphs and Charts gui(2d and 3d) for java. Please suggest me some.

Member Avatar for peter_budo
0
303
Member Avatar for akingcool

I am trying to design a file reader with some sort of GUI so I decided to use JOptionPane. I am a complete noob trying to learn java. So far, I have managed to make my program produce a pop up for the file location, and also an error message …

Member Avatar for mKorbel
0
3K
Member Avatar for Vasthor

Ok, here I come with a some sort of big analysis with pointer, array, vector, iterator and address of memory... using this input: [CODE] // hakim makan nasi // ayam yang basi // sambil tengok // hafiz yang tergelak // gelak [/CODE] with this code: [CODE] #include <cstring> #include <iostream> …

Member Avatar for Narue
0
223
Member Avatar for gcclinux

Hello, I was wondering if you can help me, I am tryin gto achieve a specif output and I am stuck, any help would be greatly appreciated. [CODE]# cat file 1,2,3,4,5,6 1,,3,4,5,6 1,2,,,,6 # cat file | awk -F, '{print $1,$2,$3,$4,$5,$6}' | awk '{printf("%-1s %2s %2s %2s %2s %2s\n", $1, …

Member Avatar for Fest3er
0
164
Member Avatar for binoy.mathew

Hi, I am building a Contact Us Email Form. My email sending part is working fine. I just want to confirm one thing with experienced programmers. Once I click the send message button, I am calling a function to send the mail. Then I get the message saying the mail …

Member Avatar for stbuchok
0
153
Member Avatar for SimpleByDesign

Hi, I am trying to add up the quantity of various items found in a table, that is controlled by a second/third joined table using the IN search criteria. However I am unable to work out getting the SUM of all the items. The tables are as below: [ICODE]Table One: …

Member Avatar for adam_k
0
218
Member Avatar for Sophiron

I have a VB.net application that gets data off our server with ODBC and populates and saves a Word Document. When I try to deploy it to another computer it will get the data just fine and populate the first document, but it will crash before saving it. I've installed …

Member Avatar for Sophiron
0
129

The End.