199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mr.M

Hi Dw I'm planing on creating a system that will share the same database over internet. There will be one core server where the database will be located and there will be a thousands of client programs that will modify the database simultaneously over internet. I've never done something like …

Member Avatar for Mr.M
0
227
Member Avatar for iConqueror

I have been coding in c# on and off since I started my first year of the degree in IT two years ago. Of course you use the (), [] and {} brackets **very** frequently but I have never took the time to actually look where you apply each type …

Member Avatar for Diamonddrake
0
234
Member Avatar for khan17

hi, i ve tried to auto login into an asp.net website. using javascript i can automatically log in to the [url]www.irctc.co.in[/url] website but the same code have not worked for the website i ve tried. it have not even fill the username and password in the required filed. it just …

Member Avatar for vivekastle
0
1K
Member Avatar for hermanSA

Hi, I need to retrieve only 1 row for each 'message_id', with the Latest Date('sent_date'): ------------------------------------- message_id | sent_date | ------------------------------------- 805 | 2010-08-04 17:48:24 | <--- 805 | 2010-08-03 17:48:24 | 1007 | 2010-08-07 17:48:24 | 1007 | 2010-08-09 17:48:24 | <--- 1007 | 2010-08-08 17:48:24 | ------------------------------------- The …

Member Avatar for guruparthi
0
633
Member Avatar for berserk

Ok i know this question might be riddled with ignorance but please bare with me. How to i go about deploying my php application i have developed, do i make it into an executable that can be installed on user machines, or do i just set it up like a …

Member Avatar for Jack_9
0
227
Member Avatar for vizz

I have registered custom TLD like, **.com, .in, .co** I have servers to deal with DNS setting. Now I want to allow people to register their domain under my custom TLD. e.g. abc**.xyz** So I need web registry software to allow registering domains under tld, **`.xyz`** I want to do …

Member Avatar for veedeoo
0
134
Member Avatar for berserk

hey i have this code that always evaluates to true but it should only in the case of there being a value in the database i have selected, maybe im doing this wrong or maybe its something else but i cant seem to figure out the problem :( any assistence …

Member Avatar for berserk
0
360
Member Avatar for hanspeare_1

Hello everyone, I am confused with these little codes why it keeps error in updating the learner information. These are my codes so far. These are the bits of Student_Info.php which i think would be useful in my query. <?php if(!empty($_GET['flag']) && $_GET['flag'] == "success") { ?> <span class="stylered style1"><span …

Member Avatar for hanspeare_1
0
115
Member Avatar for Juliana20

I'm new at this language and I can´t understand this warning: Warning: Cannot modify header information - headers already sent by (output started at /Applications/AMPPS/www/.../users.php:316) in /Applications/AMPPS/www/.../phpgraphlib.php on line 213 I want to show some graphs about temperature, but appears the message above. Here's my code: phpgraphlib.php protected function initialize() …

Member Avatar for rubberman
0
265
Member Avatar for lilapontes

Have an inbound campaign. Agent gets the phone number from customer and I need to create php code to search that number in a table in Sql, display name, address and insert ANI, date, start time, end time of the call, agent-id and result code. All I know about php …

Member Avatar for rubberman
0
174
Member Avatar for rela

// How can I rewrite this loop to C++ from C // I dont know how to define vectors x, z, and v! // x, z, and v are vectors, and N is the number of vectors x and z (N=2). c:= 10; N:= 2; p:= 3; b:=5; for r:= …

Member Avatar for rubberman
0
800
Member Avatar for mehul12345

Hi, i need help creating a fuel volume calculator to estimate the gallons of fuel required to travel 5 distances so far the 5 distances in miles the user enters are stored in an array, however i need a sum to find the average of the five numbers here is …

Member Avatar for mehul12345
0
871
Member Avatar for Jjajangmyeon

This is just a simple menu and I have no clue why it doesn't work. using namespace std; #include <iostream> #include <iomanip> #include <fstream> // ------ Prototypes --------------------------------------------- void mainMenu(); void newEntry(); void display(); void exit(); // ****** MAIN *************************************************** int main() { mainMenu(); return 0; } /* ------ MAIN …

Member Avatar for Jjajangmyeon
0
175
Member Avatar for bella.twins.94

Assuming that a text file named FIRST.TXT contains some text written into it, write a function named vowelwords(), that reads the file FIRST.TXT and creates a new file named SECOND.TXT, to contain only those words from the file FIRST.TXT which start with a lowercase vowel (i.e., with 'a', 'e', 'i', …

Member Avatar for Lucaci Andrew
0
3K
Member Avatar for kxjakkk

I wanted to format this string but I don't know how I can do the formatting part at all. class MyTime: def __init__(self, hrs=0, mins=0, secs=0): self.hours = hrs self.minutes = mins self.seconds = secs if self.seconds >= 60: self.minutes += self.seconds // 60 self.seconds = self.seconds % 60 if …

Member Avatar for sepp2k
0
265
Member Avatar for kxjakkk

This is my code: class MyTime: def __init__(self, hrs=0, mins=0, secs=0): self.hours = hrs self.minutes = mins self.seconds = secs if self.seconds >= 60: self.minutes += self.seconds // 60 self.seconds = self.seconds % 60 if self.minutes >= 60: self.hours += self.minutes // 60 self.minutes = self.minutes % 60 if self.hours …

Member Avatar for kxjakkk
0
285
Member Avatar for sundeep.gurroby

Hi guys, always a big thanks for your input. Really appreciate as always. Ok my issue today is with the password_hash function which randomly generate a salt before encryption. I am creating a user registration form...i need to protect the password before it is saved to the database when user …

Member Avatar for diafol
0
294
Member Avatar for kdejan87
Member Avatar for Ancient Dragon
0
148
Member Avatar for dfs3000my

Hi, I'm trying to access the RangeValidator control at my code-behind file. I keep on getting "Object reference not set to an instance of an object." exception. Can someone enlighten me? ASPX: [CODE]<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" DataKeyNames="subject_id" BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="5" ForeColor="Black" GridLines="Horizontal" OnDataBound="GridView1_DataBound"> <Columns> <asp:TemplateField HeaderText="Hurdle Weight" …

Member Avatar for MystikShadows
0
582
Member Avatar for elmbrook

Hi I would like to create a method for opening up a form by passing across a string. e.g. Something along the lines of the below code. Is this possible in C#? [CODE] Public void OpenForm (string formname) { formname myform = new formname(); myform.show(); } [/CODE]

Member Avatar for mohamed.a.salim.31
0
949
Member Avatar for ChrisHunter

What is the best way to get the object, within a list of that object type, that has the highest ID number? I've been trying to figure it out and I can manage to get the highest ID number but not the object containing that ID number. Any help would …

Member Avatar for Ketsuekiame
0
241
Member Avatar for Excizted

Hello, I hope someone is more knowledgeable in Java than me while still knowing PHP! The following Java code makes a hash from a string, and I need a PHP equivalent that makes the exact same hashes. Simply md5() does not do the trick, and I looked at some PHP …

Member Avatar for Excizted
0
1K
Member Avatar for iConqueror

I am wondering if a struct is like an object or is an object. For example a struct: struct Books { public string title; public string author; public string subject; public int book_id; }; Defining this struct: public class testStructure { public static void Main(string[] args) { Books Book1; /* …

Member Avatar for Ketsuekiame
0
161
Member Avatar for Jerome_3

I have read from different forums, PHP website and Microsoft website how to connect PHP to MS SQL Server but the provided solutions didn't worked for me. If you could help me in this would be greatly appreciated.

Member Avatar for Jerome_3
0
311
Member Avatar for tanuja vykuntpu

i want to create online discussion forum using python but i dont know what type of tools to use,i want to maintain database and builtin board myself without interference of third parties,please anyone help me

Member Avatar for tanuja vykuntpu
0
120
Member Avatar for berserk

I need to add a check box on the end of each value in my html table that will be checked if the user would like to remove that value from the mysql database, my current cod elooks like this: <?php $con = mysqli_connect("localhost", "root", "", "numbers") or die(mysqli_error($con)); // …

Member Avatar for diafol
0
2K
Member Avatar for vizz

I have following tables for photo album script. How to display Album title and album cover inside anchor tag? (Display Albums cover on homepage and redirect to gallery page, when clicked, to see images inside that album) * get id of album * get album title * get album cover …

Member Avatar for diafol
0
230
Member Avatar for michaelEW

Hello guys, Pls help me, I really need your help! In my workplace we've got a Micron SCORPION Z4120C alarm system that's been connected to the Central Station. But my boss would rather like to monitor the system on his own. And I'm in charge of finding out the best …

0
143
Member Avatar for brugernavn

Hello, I am trying to "transfer" geolocation-data to a php script. I think, that the reason it wont work is, i can't get the varible from outside the function. So far, i got this code. How do i get it to work?! :) <body onload="office_getLocation()"> <script src="min.js" type="text/javascript"></script> <script type="text/javascript"> …

Member Avatar for DJBirdi
0
511
Member Avatar for mbowenitj

Hi guys, I need help in refreshing the data in datagrid view, I’ve tried datagrid.refresh but nothing happens, I have to close the form and open it again to view the data. I need the data that I add to automatically show on the datagrid without having to close the …

Member Avatar for OtepTheThird
0
1K
Member Avatar for mixelplik

I'm trying to read a keyboard entry into a 256 char buffer then extract from just the chars entered (trying to restrict it to just 8 characters) I am fundamentally not understanding how the #$%#$^ing char arrays work: #include <iostream> using namespace std; int main() { char buffer[256]; char pw[8]; …

Member Avatar for mixelplik
0
298
Member Avatar for learner001

I have a server script with which i have allowed the user to mark any item as favorite, but i also want another script through which the user can unfavorite the same item if they want and that item should be deleted from their favorite list. I have kept the …

Member Avatar for learner001
0
1K
Member Avatar for nadiam

Hi. i got table A(contact-names) which is where name are populated to from db and table B(guest-names) where names from table A will be appended to. this is the js i came up with to append the names: var msg2 = '<tr class="tr"><td><input type="text" name="GName" class="input-name" placeholder="Doubleclick on a name." …

Member Avatar for nadiam
0
497
Member Avatar for newbie26

hi. how can i convert string format to datetime: the string is formatted like : December 01, 2010 (which is another table) tblTransactions and the datetime column format is : 2010-12-01 (another table) tblBilling how can i search my string format to my table which matches the column (datetime field). …

Member Avatar for newbie26
0
242
Member Avatar for ditty
Member Avatar for kent.johnstone_1

Hi, What is the difference between "__inline__" and "inline"? I have programs with both. "inline" works, "__inline__" has an error "Unable to resolve identifier __inline__" thanks

Member Avatar for kent.johnstone_1
0
345
Member Avatar for VIPER5646

Hi all I just started using Crystal reports in vs2010. I have created a Dataset in the Designer and pulled data from an access DB. The dataset is being populated fine. My Issue is when I assign the dataset to crystal database expert and drag the columns to the report …

Member Avatar for VIPER5646
0
1K
Member Avatar for Yogesh_9

#include<iostream> #include<stdlib.h> using namespace std; int readInt() { int cc=getc(stdin); for(;cc<'0'||cc>'9';) cc=getc(stdin); int ret=0; for(;cc>='0'&&cc<='9';) { ret=ret*10+cc-'0'; cc=getc(stdin); } return ret; } int main(void) { int p=readInt(); cout<<p<<endl; return 0; }

Member Avatar for mike_2000_17
0
193
Member Avatar for sundeep.gurroby

Trying to create a registration page...but i notice that Data is being sent to database on page load. I would like this to happen when the user click on Register button. What am i doing wrong...any solotion please? My database is below and code is also below: <?php require_once('Connections/bankusers.php'); ?> …

Member Avatar for sundeep.gurroby
0
260
Member Avatar for Dinesh Dev

Hi everyone I am working on a client server based project(I am new in this field) where I have to bring the name of all dir and files inside dir from server and show it to user.For client side I am using HTML+javascript+jquery, I am sending request through Ajax and …

Member Avatar for AleMonteiro
0
703
Member Avatar for giovannitao_1

Hello, I try to explain my situation. I need to insert multilanguage support in my php site. I used this script called common.php: <?php session_start(); header('Cache-control: private'); // IE 6 FIX if(isSet($_GET['lang'])) { $lang = $_GET['lang']; // register the session and set the cookie $_SESSION['lang'] = $lang; setcookie('lang', $lang, time() …

Member Avatar for giovannitao_1
0
195
Member Avatar for pars99

I keep running this code and it works until I press the button, `findShapeCalc()`, and then I get EXC_BAD_INSTRUCTION in the main.swift at the line `NSApplicationMain(C_ARGC, C_ARGV)`. Why does this keep happening? Code in question: import Cocoa class ViewController: NSViewController { @IBOutlet var dropDown : NSPopUpButton @IBOutlet var length : …

0
187
Member Avatar for dlmagers

Hello, everyone. I am working on an application that I think I may need a little help. Yes, I am new to this language so I hope you won't be to hard on me. I am sure this is something stupid (mistake) but if someone would lean a helping hand …

Member Avatar for dlmagers
0
267
Member Avatar for GlenRogers

I have a simple form to search a table for the search term entered into that form. $query = $_GET['term']; $min_length = 1; if(strlen($query) >= $min_length){ $query = htmlspecialchars($query); $query = mysqli_real_escape_string($link, $query); } Here the variable 'query' is the search query posted using the get method from the form. …

Member Avatar for GlenRogers
0
246
Member Avatar for abaddon2031

I am working on a code that searches a folder gets a specific part of the file name and adds 1 to a file counter. There are some files in tehre that have a special character that indicates that is is only half. I ahve got it to count the …

Member Avatar for flebber
0
203
Member Avatar for davy_yg

Hallo, I am trying to create a calendar elearning like this: [schedule](http://www.innovation.web.id/schedule.jpg) Any idea how to? The student and teacher must be able to book the calendar. Any clue how to? Thanks in advance.

Member Avatar for prateeksha
0
109
Member Avatar for lloydsbackyard

i got this code from the internet to export mysql query to excel using php..i just modify it to meet my need. i need some help on this..thanks.. <?php $DB_Server = "localhost"; $DB_Username = "root"; $DB_Password = ""; $DB_DBName = "dcde"; $DB_TBLName = "po"; $filename = "filename"; $sql = "Select …

Member Avatar for prateeksha
0
296
Member Avatar for Excizted

Hello Daniweb, I'm rebuilding a Flash-based website in PHP/HTML maintaining the same MySQL database. My problem now is, the user passwords are hashed of course - I need to use the same hash in the new application for old users to be able to still log in. But since the …

Member Avatar for Excizted
0
234
Member Avatar for idabasha

i am developing an android app for taking orders in restaurants there are 3 main parts that have to be developed 1 android app - there will be the menu with the items loaded from the db 2 java prog - this will be in the computer and there will …

Member Avatar for peter_budo
0
237
Member Avatar for flebber

I am having an error file object when opening and reading a text file(csv). I must be misusing the with so that when I call the function race table its getting a file object and not a readline. How can I get the with to correctly hand over the file? …

Member Avatar for flebber
0
151

The End.