199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Webville312

I am trying to display values fetched from a MySQL database as an excel spreadsheet. Now, I have been successful to create a csv file using the code below; <?php error_reporting(0); include("includes/connect.php"); // This is the connection string to the database //Select the required records from the database $result = …

Member Avatar for Webville312
0
185
Member Avatar for thanadaray

At first, I have "C:/test02.txt" too good positive a film for stunt scheduling i think objective My codes with open('C:/test01.txt') as words: ws = words.read().splitlines() with open('C:/test02.txt') as file_modify4: for x in file_modify4: sx = map(str.strip, x.split("\t")) ssx = sx[0].split(" ") ## list for w in ssx: if w in …

Member Avatar for Lucaci Andrew
0
133
Member Avatar for christodoulos14

hello i have the following file: 11 Lockers, Daniel;Engineer;53500 Adamson, John;Manager;77500 Newhall, Bob;Programmer;40000 Brown, James;Clerk;28000 i need to put each employee into a struct and then each struct into an array. so far i did this: else { fscanf(sourcefile,"%d\n",&count); printf("%d\n",count); Array=(employeeType *)malloc(sizeof(employeeType)*count); for(i=0;i<count;i++) { fscanf(sourcefile,"%s",Array[i].name); fscanf(sourcefile,"%s",Array[i].job); fscanf(sourcefile,"%d",&Array[i].salary); } } for(i=0;i<count;i++) …

Member Avatar for christodoulos14
0
269
Member Avatar for ztdep

Dear friends: I download a c packge for my computation work. there is a function " aft2boundar(int *, double *)" in it. i write a "main.cpp" with vs2010, when i compile, it gives me the following error unresolved external symbol "int __cdecl aft2dboundary(int *, double*) but i have include the …

Member Avatar for ztdep
0
156
Member Avatar for katrinavizconde

could you please help me find sites that offer free download of visual basic.net? your replies would really mean a lot.. thank you.. :)

Member Avatar for botitog
0
54
Member Avatar for vizz

This is my word "नमस्कार". (It is Indian language (Marathi language) ) mysql is showing like something in image attached How to store Unicode characters to Mysql to show properly?

Member Avatar for vizz
0
1K
Member Avatar for theonlylos

I currently have a client who offers a set of online self-improvement materials for a course which is intended to last a year, and which has new material sent to the participants every Monday, Wednesday, and Friday. Right now users register and then they are clustered into one of four …

Member Avatar for sridevikannan
0
186
Member Avatar for Fame95

I have the following code : using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace PentruTestari { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { richTextBox2.Text = "int int"; richTextBox2.SelectionStart = …

Member Avatar for Fame95
0
372
Member Avatar for minipop4747

I need a example code to display one form input textbox value in another form textbox when button click event on form one. In simply form one contain textbox and a button, form two contain only one textbox. My requirement is when some one put text into form one textbox …

Member Avatar for ChrisHunter
0
175
Member Avatar for MasterHacker110

I have this code in C++ but I dont know ho to do it in C. Any Help? Code #1: #include <vector> // for vector #include <sstream> // for stringstream #include <iostream> #include <string> int main() { std::stringstring ss; std::string input, temp; std::vector<string>; comand; std::cout << ": "; std::getline(cin, input); …

Member Avatar for Gonbe
0
136
Member Avatar for saurabh.mehta.33234

how to print the foll string without using any kind of variable "How are you %dad%"

Member Avatar for Gonbe
0
157
Member Avatar for hankmeyer

Hi, I have made a script that is supposed to check if an image exists on remote server, check if exists on local server, and decide weither or not to copy the image or not (It is poster images for a movie database of my own). However this is under …

Member Avatar for code739
0
329
Member Avatar for kw42chan

Dear all I write bubble sort program for inputing 9 numbers. However, when compile and run it, it only allows me to input one number only. Could anyone see any fault in my code? I think the problem is on the first loop. #include <stdio.h> int main(void) { int num1 …

Member Avatar for kw42chan
0
268
Member Avatar for t2nator

I have a function that reads a text file that contains information about the sql database it connects to. It has to be invoked across multiple forms. How could I make it to where it is invoked once and then stores into variables that the program can continue to use …

Member Avatar for t2nator
0
1K
Member Avatar for Proglearner

This is a complete js script I wrote while teaching myself js: /* The Extremely Long Compliance Quiz (TELCOQ) copyright (c) 2013 by Miki Kocic. All * rights reserved except that his program is being released under the GNU Public * Licence version 2 or later, with the version later …

Member Avatar for Proglearner
0
237
Member Avatar for plang007

Has anyone found any compilers to work with windows 8 besides Microsoft studio? I have tried downloading Dev C++ and code::blocks but keep getting build errors? I have used both of those compilers on window 7 for multiple programming purposes

Member Avatar for plang007
0
335
Member Avatar for lewashby

The following line of code should result in GROUPS holding a number from 1 to probably 4 or 5. I need the next line to simply add 1 to whatever this lines results to. I've tried a lot of tings in bash but I can't make it happen. Any ideas? …

Member Avatar for L7Sqr
0
108
Member Avatar for hwoarang69

i am trying to print the value of $ss. but it say 'qty' is undifine on line($ss = $_post['qty'];). index.php <?php echo" <form method='post' action='index.php'> <input type='text' name='qty' /> <button type='submit' id='opener01' name='b1'>submit</button> </form>"; echo" <div id='dialog01' title='ccc'> "; $ss = $_post['qty']; echo"$s; echo" </div>"; ?> jquery.js $( "#dialog01" ).dialog({ …

Member Avatar for diafol
0
181
Member Avatar for bangla

Hi, Everything is working fine except the start time. Once I click start, i want to see start time is ticking but start time does not change. I want future time static and start time dynamic. Please advise. <html> <?PHP $From = date("H:i:s"); echo "From $From "; $Minutes = 1; …

Member Avatar for diafol
0
161
Member Avatar for butthole55

I need to remove a certain color, like for example, 0xFFFFFF (Color.White) would remove all the white in an image. Thanks :)

Member Avatar for butthole55
0
427
Member Avatar for krystosan
Member Avatar for dannyboy.rizaldo

Hello can i ask,.because i am a student of java programmer i want to asking how to fast learner of the program,.please help me i want to be a proffesional programmer,.thanks,..

Member Avatar for tux4life
0
138
Member Avatar for saaz

Hello, I have created a program where a user can input a recipe, and then press a button and this will then be written to a file. On the other side of the interface, the user can select this previously saved recipe and the contents will be read from this …

Member Avatar for saaz
0
201
Member Avatar for pham.vanmanh.50

My site is [seoitc.com](http://www.seoitc.com), we are using joomla for this site, but have 1 problem when i try auto redirect to anypage that show error: Warning: Cannot modify header information - headers already sent by (). I tried change redirect to use js but cant use same status(302,303...) same as …

Member Avatar for diafol
0
1K
Member Avatar for janguyo

<?php include("menu.php"); ?> <?php include("dataaccess.php"); ?> <?php include("functions.php"); ?> <?php //' Copyright 2004 Vender-MGT http://www.vender-mgt.com if(!empty($HTTP_GET_VARS)) { if (!empty($HTTP_GET_VARS["orderby"])) $orderby = $HTTP_GET_VARS["orderby"]; if (!empty($HTTP_GET_VARS["order"])) $order = $HTTP_GET_VARS["order"]; if (!empty($HTTP_GET_VARS["id"])) $categoryid = $HTTP_GET_VARS["id"]; } if(empty($orderby)) { $orderby = "projectname"; } if(empty($order)) { $order = "asc"; } if ($order == "asc") $order …

Member Avatar for diafol
0
194
Member Avatar for new_developer

Hi there, I am using code blocks and working on bank account programe. I have three classes but just included main function code. My programe works all fine, in which user create account and then deposite initial balance **but before end of do while loop, there is getline function to …

Member Avatar for deceptikon
0
1K
Member Avatar for unikorndesigns

Hi there, I am facing some problems in fetching the tags entered into an input field that uses the the jQuery tagManager. <input type="text" name="tags" placeholder="Tags" class="tagManager"/> normally i just have to echo $_POST['tags'] in the PHP form handling part and it gives me the tags but, with class tagmanager …

Member Avatar for diafol
0
181
Member Avatar for Frederick Sekyi

am frederick sekyi and am new to this website.can any of you help me with computer programing?

Member Avatar for <M/>
0
168
Member Avatar for bwaha

Hi, I've been Searching the Net for hours now, and i can't really seem to find anything clear and straight to the point. I need to create a Server/Client application using VB.net 2008, it's actually my first time to have a database on another computer. So I first searched the …

Member Avatar for adam_k
0
3K
Member Avatar for dilip.biswas.9404

Hallo, How can I connect with the multiple XML files (100 XML file) together from a folder. Example : C:\ Drive has a folder called XML, which belongs to 100 XML file. How can i load these XML files together in PHP. Please Help, thanks in advance. Dilip

Member Avatar for diafol
0
291
Member Avatar for fbutt1289

hi i am a junior web designer and this the problem i am having is that i cannot find were what i am doing wrong could someone please correct. as far as i can tell i am doing everything ok. the code which i have made wont do the result. …

Member Avatar for broj1
0
116
Member Avatar for rishif2

hello experts . . . there is one textbox , one label and one command button i have written following to print textbox content to label `label1.caption=text1.text` and when & is inputted in textbox then underscore(_) is placed in the place of &. and i know that we use & …

Member Avatar for AndreRet
0
241
Member Avatar for dwiniers

Hello there Good Day Guys! I need your expertise for vb6 guys i made a small program with command search button. Its working. My problem now when i search again with different category it shown this error [COLOR="Red"]Run-time error '3001' Argument are of the wrong type, or out of acceptable …

Member Avatar for AndreRet
0
2K
Member Avatar for sagisgirl

hey guys..i wold like to ask something about my checkLogin.php i already created a form using index.php, then i want to validate the form using checkLogin.php. but after i fill up my form, nothing was display.. here aremy codes <? session_start(); include("inc/dbconn.inc"); if(isset($_REQUEST['btn_login'])) { $conn = mysql_connect($hostname, $username, $password); mysql_select_db($dbname, …

Member Avatar for sagisgirl
0
96
Member Avatar for LDaneil

I am working on a project about data mining. my company has given me 6 million dummy customer info of twitter. I was assigned to find out the similarity between any two users. can anyone could give me some ideas how to deal with the large community data? Thanks in …

Member Avatar for Adak
0
970
Member Avatar for anukavi

Hi, I had previously posted many question on SSID and have been solved successfully with your help. Once again the question is related with SSID. When i have my wireless router attached to PC, i can see the router name . Is there anyway to stop broadcasting the SSID name …

Member Avatar for anukavi
0
118
Member Avatar for mumaga

Hello I am trying to write to a text log file for my world of zuul game. I have created a Class Logger to write into the file, here is the code: import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; public class Logger { private BufferedWriter out; public Logger() throws IOException { …

Member Avatar for Taywin
0
11K
Member Avatar for muna.nassr

how ca send the packet using button send to the serail port i recieved the packet but how send this packect through the serail port thanks for your reply the code is Imports System Imports System.ComponentModel Imports System.Threading Imports System.IO.Ports Public Class frmMain Dim myPort As Array 'COM Ports detected …

Member Avatar for tinstaafl
0
369
Member Avatar for poojavb

Hello Friends, Can anyone tell me how to increment a String variable by 1 in database. Suppose the database table has value as SL1000 and we want the next value to be SL1001. What should be done for such type of requirement in java.

Member Avatar for mrsathishkumar
0
720
Member Avatar for HunainHafeez

i am trying to pick a Varchar field (Question) from tblUser where email = session variable , it doesn't give error but picks -1 and shows it, why ? even that column isn't empt for the matching email code: String connectionString = "Data Source=COSANOSTRA; MultipleActiveResultSets=true; Initial Catalog=Waleed_orsfinal;Integrated Security=True"; protected void …

Member Avatar for HunainHafeez
0
218
Member Avatar for Dante2

Ok, so I'm working from a book called Agile Web Developement with Rails 4th Edition. I got up to page 83 where they have us running tests to ensure proper validation of our code up to this point. So I have checked and rechecked to make sure my code is …

Member Avatar for Dante2
0
320
Member Avatar for Proglearner

The following js script receives the variable "datum" from an external source and evaluates what type of data it is. Please, PLEASE tell me there's a more elegant way to write that particular code: // declare global variable var datumEval // is-datum-a-string function var stringCheck = new function() { if …

Member Avatar for diafol
0
209
Member Avatar for gopi17

Good Evening earth.... I have a question here, can someone guide me with my question Here it goes. I have a html form, which calls the function in javascript and prompts the user whether to delete a specific user.The dialog box prompts but it is not sending the value that …

Member Avatar for broj1
0
258
Member Avatar for Vingklippt

Hi. I'm trying to get my hover-effect to work , but the php seems to destroy the hoverfunction. My javascript works fine if I remove all php-code. What have I done wrong? <?php $host="*********"; // Host name $username="**********"; // Mysql username $password="geronimo"; // Mysql password $db_name="***********"; // Database name $tbl_name="****"; …

Member Avatar for Vingklippt
0
256
Member Avatar for 03hasnam

A person wishes to add a NEW Job to the database. A `Combobox` list the existing employers already in the database for the new Job to be added against. But if an employer is not present customers have the option click on a button to add an employer. Once added …

Member Avatar for DavidKroukamp
0
677
Member Avatar for lewashby

I've got an array CALENDER=(31 28 31 30 31 30 31 31 30 31 30 31) I have two if statements that Need to get an index from the array above but when I feed a value into the brackets e.g. ${CALENDER[${SECONDDIGIT}]} or ${CALENDER[${FIRSTDIGIT}]} it seems to only be getting …

Member Avatar for lewashby
0
119
Member Avatar for 111100/11000

http://en.wikipedia.org/wiki/Transposition_cipher#Columnar_transposition This is wiki site of what am trying to do #include <iostream> #include <cstring> #include <cmath> using namespace std; char GRID[3][80]; int MENU(int menu_choice); int REVIEW_OF_GRIDS_FIRST_79_CHARACTERS(int four); int main() { cout << " This is RAIL FENCE CIPHER\n" << endl; //----------------------------------------------------------------------------------------------------- //filing GRID with asterisks(*) char asterisk='*'; int k=-1; …

Member Avatar for Gonbe
0
2K
Member Avatar for tom.scott.73113

Hello I am trying to write a multiplication table into a function but am not getting the result i want ive been looking at it for about 3 hours now and cant figure what is going on im not getting errors it runs fine but isnt givig me a neat …

Member Avatar for Gonbe
0
198
Member Avatar for istore221

okey i have upload my site everything works just fine except my contact form here's my code FYI - Im very new to the php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php $user_name = $_POST["NameBox"]; $user_contact …

Member Avatar for istore221
0
276
Member Avatar for doha786

I don't have much experience with jQuery, so need a small help to build up one navigation menu bar where hover image will float/animate from previous(.current) location. Example: If the hover image remaining under 'HOME' as current page and if i hover/mouseover to 'CONTACT' menu then the 'hover_img' will float(animate) …

Member Avatar for diafol
0
235

The End.