199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Jessica_7

I'm doing a project where I want Data to be saved to a database ALWAYS. :) When Im in debug the data is saved and it is even saved while the program is running and saved after it closes. As soon as i open the program back up the data …

Member Avatar for Reverend Jim
0
130
Member Avatar for uDevv

Hello there, is there anyone good with Regex? I have some old tool that is gathering proxies from hidemyass website, but its not working anymore. So if there is anyone who could help me out?

Member Avatar for Reverend Jim
0
93
Member Avatar for CJMW

So I recently accepted the challange of programming a simple top down style rpg in a week. Progress was going well until I decided to add a custom GUI. Its all very simple for the moment, but I have run into a little bit of a pickle... I have a …

Member Avatar for CJMW
0
202
Member Avatar for devgit2810

Hello Friends, I have an admin page,where i want to assign priorities to 10 questions for a exam project.Now i am doing it with drop down lists where 10 options are given in drop down.How can i add a javascript so that if admin selects value '1' in dropdown for …

Member Avatar for devgit2810
0
196
Member Avatar for Alxprog

Hi! Have anybody seen Scot Meyers' video on Universal references? In order for a reference to be "universal" two requirements should be fulfilled : 1)variable should have double ampersand after it's type : sometype&& 2) the type should be deduced . The second point is somewhat confusing to me: despite …

Member Avatar for mike_2000_17
0
328
Member Avatar for Hilal2009

I have almost one year programming experience in PHP, but always I'm facing a greate challenge of capturing spesific Time when user submit a post into a forum. Simply I have created MySQL Database table which store date, Time, and user coment, But when user submit a coment to the …

Member Avatar for diafol
0
5K
Member Avatar for JulieR31392

Hi there im having a issue sending to yahoo aol ect. but can send to icloud. below is the code any idea what im doing worng. Like i said it send fine to icloud. $message = "Hello \n Thank you for registering with us. Here are your login details...\n User …

Member Avatar for Borzoi
0
151
Member Avatar for Daneos

Hello, I need for my game inventory function a mysql query which checks the next available free slot id. example: I have item on slot 1, 2, 3 and 5. Slot 4,6,7,8,9 ... are free.. Now I need query which would get the number 4. Something like SELECT * FROM …

Member Avatar for NathanOliver
0
351
Member Avatar for ankit1122

how could i send email to list of email addresses inside a mysql database?? i want to create a site helping students find home tuitions. when students fill form regarding subjects they want tuitions ,concerning teachers should get e-mail..tell how can i do this??

Member Avatar for Banderson
0
406
Member Avatar for daniela.valkanova

> This compiles but does not show me any results? Why #include <iostream> #include <cmath> using namespace std; void dist(int x1, int x2, int y1, int y2) { double r1 , r2 , d ; r1 = sqrt((x1*x1) + (y1*y1)); r2 = sqrt((x2*x2) + (y2*y2)); d = sqrt((x2 - x1)*(x2 …

Member Avatar for NathanOliver
0
1K
Member Avatar for malatamil

i have a table fieldname like companyname and Created Date shown in below image. in that i want to display data's date wise ASC or DESC, like that if i click companyname the data's will show ASC and again if click will show DESC order format. and here i added …

Member Avatar for malatamil
0
263
Member Avatar for caltech

Hi, I've had a rather ambitious project on my mind for as long as I've been at my job (almost a year) -- to pretty much rewrite their central application, which is a listing database/"portal", around and upon which their entire IT infrastructure and web and computing tasks and operations …

Member Avatar for il_doc
0
306
Member Avatar for Jack_9

I'm a PHP developer and me and some other developers that I have seen have developed some applications that aren't for websites using PHP. Is PHP still considered a "web" language, or not?

Member Avatar for veedeoo
0
240
Member Avatar for sundeep.gurroby

hello,i have no idea where i will put the passwod_verify function and what i must code the verify exactly in order to get the plain txt password be compared with the hashed version ? my code is below and part of my database also. <?php require_once('Connections/bankusers.php'); ?> <?php session_start(); ?> …

Member Avatar for sundeep.gurroby
0
645
Member Avatar for Sammys.Man

Hi guys, Was wondering if anyone knows of any tutorials or code so that i can learn how to create charts from scratch. also i havent learnt any javascript so is there another that this can be done? i have tried playing with phpgraphlib, but i cannot seem to dynamically …

Member Avatar for Sammys.Man
0
134
Member Avatar for daniela.valkanova

void init1() { static int yrs = 1; cout << "The value of yrs is " << yrs << endl; yrs = yrs + 2; return; } void init2() { static int yrs; yrs = 1; cout << "The value of yrs is " << yrs << endl; yrs = …

Member Avatar for daniela.valkanova
0
151
Member Avatar for daniela.valkanova

#include <iostream> #include <cmath> using namespace std; double dist(int x1, int x2, int y1, int y2) { double r1 , r2 , d ; r1 = sqrt((x1*x1) + (y1*y1)); r2 = sqrt((x2*x2) + (y2*y2)); d = sqrt((x2 - x1)*(x2 - x1) + (y2 - y1)*(y2 - y1)); cout << " …

Member Avatar for daniela.valkanova
0
284
Member Avatar for daniela.valkanova

> Write a C++ function named fracpart() that returns the fractional part of > any number passed to it. For example, if the number 256.879 is passed to fracpart(), the > number 0.879 should be returned. Have fracpart() call the whole() function you wrote in > Exercise 12. The number …

Member Avatar for daniela.valkanova
0
364
Member Avatar for Jake2025

Greetings, I am having a problem on retrieving the users firstname after logging in. Here's my code <HTML> <BODY> <?php session_start(); include ("connectDB.php"); $stud_test_ID = $_POST["testIDtxt"]; $password_Field = $_POST["Passtxt"]; $insertSql = "SELECT firstName FROM testdb WHERE stud_Id = '$stud_test_ID' And Password = '$password_Field'"; $result = $mysqli->query($insertSql); $numrows = $result->num_rows; if($numrows==1) …

Member Avatar for DJBirdi
0
166
Member Avatar for yuimikazuki

print "Let's practice everything." print 'You'd need to know 'bout escapes with \\ that do \n newlines and \t tabs.' poem = """ \tThe lovely world with logic so firmly planted cannot discern \n the needs of love nor comprehend passion from intuition and requires an explanation \n\t\twhere there is …

Member Avatar for HiHe
0
163
Member Avatar for nathan.pavlovsky

Hello programmers! I have been working on STL algorithms for some time now as a beginner, and I started doing an exercise, among which is the task of `use the fill algorithm to fill the entire array of strings named items with "hello"`. My code for this is below: // …

Member Avatar for nathan.pavlovsky
0
2K
Member Avatar for lewashby

In the following program I'm getting the warning -> unused variable ‘fn’. I'm following along with a book so I don't know why it gave me that portion of code if it's unusable. Also, I don't understand this line at all. -> `void(*fn)(int& a, int* b) = add;` #include <iostream> …

Member Avatar for sepp2k
0
193
Member Avatar for sbesch

I am interested in getting some opinions on the use of include files to sub-divide a large module into functionally related groups. What I'm interested in is opening a discussion on best practices and minimal requirements. Here's the scenario: I am working with a library with 200+ functions. They naturally …

Member Avatar for mike_2000_17
0
278
Member Avatar for silvercats

1. An assembly instrction is converted into binary, also known as the machine code by the assembler. And it contains only 0s and 1s yes /no? 2. Then, the microcode handles the 1s and 0s of the assmelby instrcution that was convereted before. Yes or no? 3. Does the processor …

Member Avatar for Schol-R-LEA
0
427
Member Avatar for chdboy

import java.awt.Frame; import java.awt.SplashScreen; import javax.swing.JOptionPane; public class NewFrame extends Frame { public NewFrame() { // TODO Auto-generated constructor stub SplashScreen splash = new SplashScreen(1000); System.out.println("This is working"); } /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub //SplashScreen splash = new SplashScreen(2000); …

Member Avatar for JamesCherrill
0
306
Member Avatar for MasterHacker110

I am trying to write some information to an access database using OleDB but I get an error. I dont know what is wrong with it. I it something to do with my SQL code? // The program will make use of a text file for now but must use …

Member Avatar for MasterHacker110
0
198
Member Avatar for malatamil

downloadsingledata_csv.php <?php /*mysql_connect("mysql1408.opentransfer.com", "A894703_Allspa13", "Beauty_13") or die(mysql_error()); mysql_select_db("A894703_beautyspa") or die(mysql_error());*/ $id = $_GET['id']; include('db.php'); $count = 0; $sqlquery = "SELECT s.Companyname,s.ContactPerson,s.EmailId,s.Url,cp.`city_id`, rc.`RelatedCatagory`,ck.MainCatagory,st.state FROM `spa` s left join relatedcatagories rc on rc.spaid=s.id left join catagorykeywords ck on ck.id=rc.mainCatagoryid left join subcatagorykeywords sub on sub.id=rc.RelatedCatagory left join city_place cp on cp.spaid=s.id left …

Member Avatar for malatamil
0
238
Member Avatar for Vishnu_4

Hi, I have strings like '00101', 00010, i need to find out the count of occurence of 0 from the begining of the string only.In the case of first string i need the count should be 2 and in the second case count should be 3.How can i do this …

Member Avatar for urtrivedi
0
153
Member Avatar for iConqueror

I know that assigning the access type 'private' to a variable is to prevent other methods from accessing and modifing that variable from out side its class. I understand that the get and set modifiers are typically used to access private variables. Why can a private variable be accessed by …

Member Avatar for deceptikon
0
169
Member Avatar for Fazelessmetal

/* USE IT HOWEVER YOU WANT :D */ #include <iostream> #include <string> #include <fstream> #include <cstdlib> using namespace std; char name[100]; wchar_t words[100]; int choice; int chmon; int level; int main (int argc, char *argv[]) { //main string used("this game is cool"); string in; cout<<"Hello Welcome to the Code Game!"<<endl; …

Member Avatar for ddanbe
0
177
Member Avatar for virendra_sharma

Hi, i have windows application , in that i have reference to the web service. Now when i put username and password , application calls to authentication service ( which is hosted on same machine IIS 7.5 ) i get pop up which is asking for Proxy Authentication. can anyone …

0
204
Member Avatar for elouch

Hi everyone, i've been searching on the internet about how to read contacts from windows live mail account and i cant see anything in the internet to solve such problem. can anyone help me with this, a pointer or tutorial for this may do. thanks in advance.

Member Avatar for elouch
0
245
Member Avatar for elouch

hi all i've been strugling with this error. could someone help me. below is the code stremail = "some@email" For Each store In outlookapp.Session.Stores strchecking = store.DisplayName outlookfolder = store.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox) For Each objfolder In outlookfolder.Folders For Each obj As Object In objfolder If TypeOf (obj) Is Outlook.MailItem Then MsgBox(obj.Subject) End …

Member Avatar for elouch
0
4K
Member Avatar for screenedcreamy

I've been programming in java for almost 5 years now. I'm self-taught, so while I know how to program, I don't know some of the more formal aspects of computer science. So if i were to brush up my knowlegde on algorithms and data structures using java which books can …

Member Avatar for screenedcreamy
0
235
Member Avatar for furalise
Member Avatar for furalise
0
92
Member Avatar for lewashby

(Linux) I just installed eyed3 for python using apt-get, everything installed fine but when I tried to import eyed3 I got a trackback error, no such module. Do I need to do something special to let python know where the module is at or do I need to move the …

Member Avatar for Gribouillis
0
1K
Member Avatar for Pravesh_1

It is always submitting form; How I can return false using AJAX; I knew AJAX is asynchronous; if(theform.code.value!="") { $.ajax({ type:'post', data:'action=codeverification&code='+theform.code.value, url:'jquery-ajax.php', success:function(html) { if(html=='false') { alert('Please enter correct code'); theform.code.focus(); flag=false; } } }) }

Member Avatar for Pravesh_1
0
6K
Member Avatar for devh

In Turbo C , I am using bios.h to send and receive data on serial Port. I am using bios(2, 0, COM1) to receive data.... and bios(1, in, COM1) to send data..where (let int in=65 I am receiveing data from Port but unable to send... I copied code from [url]http://electrosofts.com/serial/[/url] …

Member Avatar for nithinkumar
0
1K
Member Avatar for mark.giles.14

Not sure exactly how to ask the question of what Im trying to do but will try explain it and insert the code. But the basics of the question is Im running a sports website with a database with several tables. PersonProfile Coach_Career League Club all linked via fields PersonProfile.pid …

Member Avatar for mark.giles.14
0
236
Member Avatar for lithium112

I am trying to pull data from user control 1 and insert the data into a label on user control 2. I have been doing a lot of research on this including the link here: http://www.daniweb.com/software-development/csharp/code/217193/passing-data-between-forms but haven't found a suitible answer that will actually work. I am trying retain …

Member Avatar for cgeier
0
230
Member Avatar for Siberian

I tried to get help on this subject including the docs. How do I save snippets and install 'packages' in Sublime Text ?

Member Avatar for Siberian
0
112
Member Avatar for Sanjeev.

how to pass selected datagrid text value to other php page message box ??

Member Avatar for urtrivedi
0
149
Member Avatar for davy_yg

Hello, I am looking for opensource messages that similar to email for internal admin elearning? Is there such a thing? Thanks in advance. Davy

Member Avatar for veedeoo
0
322
Member Avatar for Jack_9

Can you make an android app with the languages PHP JSON and others like that? Like is there a specific frameworkd for it to run on? Any answer is gladly appreciated.

Member Avatar for veedeoo
0
227
Member Avatar for mexabet

I'm having an issue with coding a script that enables a logged in user to change his/her password. But when the form is submitted, a strange, blank page is displayed. There's no error message. Can you guys please, help me to resolve this issue? I'm not yet proficient in PHP …

Member Avatar for cereal
0
345
Member Avatar for accra

Hello, i want to allow my users to reset their passwords if they forget it. My problem is that i lose the code sent to user via email, if this is the link sent to user via email http://localhost/citi/forgot.php?code=8b15388bc5ca7e2821ab6ce59b465f684942dd7901f4e31439575ab72028f84f , when the user get to forgot.php and type in the …

Member Avatar for cereal
0
461
Member Avatar for brittney_2

I don't have a code that needs solving, but merely a simple explanation if possible from an example in a book. There isn't much explaining and I just need to know how this line of code checks to make sure the date entered does not occur in April. The [0-35-9] …

Member Avatar for brittney_2
0
215
Member Avatar for henry.moore.319247

this is my first attempt on python and i would really love some help heres my code class Customers(object): def __init__(self, Surname = None, FirstName = None, Address = None, Town = None, Postcode = None, PhoneNumber = None, Date = None, Email = None): self.Surname = Surname self.FirstName = …

Member Avatar for TrustyTony
0
316
Member Avatar for Kellypyz

hello quys, gota a problem here. i have two datareaders.reade1 reads data from one table and read2 from another.i want to loop through reader1 and reader2 so that records that do not exist in reader2 are inserted to the database table and if they exist they are updated. here is …

Member Avatar for cgeier
0
174
Member Avatar for Jack_9

I was wondering because I know that you can do things such as create a website using php and such. And then there can be an instllable file, one for the user one for the admin. Then there can be mobile apps that all run on the same database. My …

Member Avatar for almostbob
0
159

The End.