199,114 Archived Topics
Remove Filter ![]() | |
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 = … | |
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 … | |
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++) … | |
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 … | |
could you please help me find sites that offer free download of visual basic.net? your replies would really mean a lot.. thank you.. :) | |
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? | |
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 … | |
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 = … | |
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 … | |
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); … | |
how to print the foll string without using any kind of variable "How are you %dad%" | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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? … | |
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({ … ![]() | |
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; … ![]() | |
I need to remove a certain color, like for example, 0xFFFFFF (Color.White) would remove all the white in an image. Thanks :) | |
why their is a difference between os.getenv('PATH') and sys.path ? | |
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,.. | |
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 … | |
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 … ![]() | |
<?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 … ![]() | |
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 … | |
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 … ![]() | |
am frederick sekyi and am new to this website.can any of you help me with computer programing? | |
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 … | |
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 ![]() | |
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. … | |
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 & … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 { … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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="****"; … | |
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 … | |
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 … | |
![]() | 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; … |
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 … | |
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 … | |
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) … ![]() |
The End.