199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Craig2231

Hi everyone, Im making a game that requires a login. Ive got stuck on a problem; When a user tries to log in, it wont accept it, its in the database, the script checks the database, but it still says no Here is my login check: [code=php]<? session_start(); header("Cache-control: private"); …

Member Avatar for Craig2231
0
110
Member Avatar for ryan311

i have error to my code in the bold word! [code] Set rs = New ADODB.Recordset Set rs1 = New ADODB.Recordset Set rs2 = New ADODB.Recordset rs.Open "Select * from temp where pcode='" & txtEdit.Text & "'", cn, adOpenKeyset, adLockPessimistic rs1.Open "Select * from product where brandname='" & txtEdit.Text & …

Member Avatar for vb5prgrmr
0
338
Member Avatar for Andrieux

I have three tables: posts, topics, and forums. Each row in post table has a topic id and a author name. Each row in topics has an id that corresponds with the topic_id in posts, and then it has an id for the forum that it (the topic, containing the …

Member Avatar for verruckt24
0
117
Member Avatar for rohnni

hi i design a php event calendar but it showing some error, anyone check it plz.. Parse error: syntax error, unexpected T_ELSE in W:\www\Calendar-php\admin\calAdd.php on line 149 [code=php]<html> <head> <title>Calendar: Add</title> <META HTTP-EQUIV="refresh" content="1;URL=../calendar.php"> <LINK rel="stylesheet" type="text/css" name="style" href="../calendar.css"> </head> <body bgcolor="#FFFFFF" text="#000000"> <?php //returns highest key in the database …

Member Avatar for peter_budo
0
198
Member Avatar for blackrobe

Hi there, I'm writing a function to compare strings from two lists, but I'm facing problems comparing the two strings in an easy straightforward way due to my lack of knowledge in Java. I use Python more often which is way easier than Java in string manipulation and comparison. My …

Member Avatar for JamesCherrill
0
144
Member Avatar for coyo80

Hello all, i am receiving this message only when i am loged in as a user, when i view the page as a visitor there is no error. this is the code in the file, if someone know what the problem coul be please tell me. thanx [code=php]<?php include("admin/config.php"); $ipgf=99; …

Member Avatar for cwarn23
0
173
Member Avatar for disc

When checking my code with PC-LINT it advised me to make some member-functions const What is the advantage of doing this ?

Member Avatar for disc
0
183
Member Avatar for Samran

Hi, I am facing a problem with allocation of two dimensional char array. The problem statement requires me to get the number of rows and columns of the array from a file. I have saved the rows in "rows" and columns in "columns", both of type int. Here is how …

Member Avatar for Samran
0
3K
Member Avatar for thingstealer

Hi everyone, How do you define two structs that include lists of or pointers to each other? I've tried including a forward declaration of one, and neither way works. Any help getting around this would be great, thanks in advance! [code=c++] // struct arc; struct node { Vector<arc> arcs; void …

Member Avatar for thingstealer
0
132
Member Avatar for ckurtz

i was trying to configure about how to work with <select> tag, when i was stuck with this problem: when i choose the <select> tag with PHP, i just want that that value of the <option> tag on the <select> tag will be the value selected after i submit the …

Member Avatar for cwarn23
0
2K
Member Avatar for ahmksssv

Hi ... i need to inserting around 20 values...which method is best in ajax post or get..i dont know abt ajax..plz send me ajax registration or small form (which having inserting records into db) ...i can learn by using this.... Thank u..

Member Avatar for fskreuz
0
215
Member Avatar for mguj1130

For this program I am supposed to add two numbers together, up to 20 digits, using arrays...i have most of it working but i cant figure out how to solve the carrying over problem when the two numbers added are greater than 9....here is what i have so far [code] …

Member Avatar for vmanes
0
681
Member Avatar for rhesus303

[code] if ! [ -t 0 ] ; then read var fi [/code] I know what the result will be but don't understand the conditional test. I've never seen it before nor can I find the -t option in any shell scripting tutorial

Member Avatar for Fest3er
0
77
Member Avatar for rEhSi_123

Hello, I am trying to write a shell script which will have the following: 1. arguments like: -h, -- help, -v, --version, -V, --Verbose, -o filename, --output=filename -s searchphrase, --search=searchphrase, -f format, --format=format 2. a default usage where a user runs a search phrase where the output should go to …

Member Avatar for Fest3er
0
174
Member Avatar for daviddoria

I have a delete button which does this: [code] TTDataSet.PunchEventTable.Rows(dgvData.SelectedRows(0).Index).Delete() [/code] The problem is that if I delete row 0 (the 0th index in the DataGridView and in the underlying table, all is well. But now row 1 in the table corresponds to row 0 in the DataGridView, so if …

Member Avatar for rapture
0
895
Member Avatar for kamae

Hallo guys, it is me again. I need help how to create a simple backup file by just copying a file to another folder. Look at my code. [ICODE]Private Sub mnuBackup_Click() Dim SourceFile, DestinationFile As String On Error GoTo FileCopyFailed SourceFile = "D:\MyWorks\data\facility.mdb" DestinationFile = "D:\MyWorks\backup\facility.mdb" [COLOR="Red"]FileCopy SourceFile, DestinationFile[/COLOR] MsgBox …

Member Avatar for vb5prgrmr
0
97
Member Avatar for blair.mayston

Hi, Have adapted some code I found on the net to get a rss feed from a news site. I would like to email the output of this script using smtplib - after a couple of frustrating hours I have got that working as a separate element with my gmail …

Member Avatar for blair.mayston
0
111
Member Avatar for robertomason

I'm developing an inhouse application for my School Board. Visual Studio 2005 C# is a work in progress for me, so there's lot's I still don't know. The program I'm developing is meant to run on a network. Buy that I mean i execute the program from of a sever, …

Member Avatar for sknake
0
288
Member Avatar for vmarc29

Hi all, i made some java few time ago and i'm now studying C++ here is a simple program i've been working on to learn about it but the fact is for some days now i can't figure why it doesn't work... in fact i just want to create an …

Member Avatar for vmarc29
0
167
Member Avatar for retrob89

Hi, I've attached the code I have that deals with allowing a user to have access to the main menu. When adding a new user, the username and password is saved to a text file. However, I want to add a default username and password so when a user runs …

Member Avatar for BestJewSinceJC
0
155
Member Avatar for jumbla

I have a form that sends the value of my input box to search.php where I cature it using POST: [code]<form method="post" name="boxsearchform" action="search.php"> <input name="INPUT" id="INPUT" type="text" value="" /> <input type="image" name="search" src="searchboxgo.gif" /> <select name="choosevar"> <option value="title">Title</option> <option value="colour">Colour</option> </select> </form>[/code] What I would like is to use …

Member Avatar for essential
0
129
Member Avatar for peedi

hello im kinda of stuck doing a project for my class. ik really need help with number 1, and 4. please help! here is what i have to do. 1. Use the charAt method to get the first character in firstName and store it in a variable called firstInitial (you …

Member Avatar for peter_budo
0
1K
Member Avatar for nosnibor

[CODE=cplusplus] bool BODYTYPE::Seek(BODYTYPE * body) { string line; string key(body->style); size_t found = ' '; fstream file("..\\Data\\BODYTYPE.txt",ios::in); if (!file.is_open()) { cout << "Unable to open file \n"; return false; } file.clear(); file.seekg(0); for(;getline(file,line);) { if((found = line.find(key,0)) == 0 ) { file >> body->style >> body->doorCount; return true; } } …

Member Avatar for nosnibor
0
87
Member Avatar for aamresh1

We have integrated Paypal with our application and everything is working perfectly. But after the transaction is completed and successful we need that it should redirect to our application again. But its not happening. We have turned on the auto return option in the paypal too but its still not …

Member Avatar for somedude3488
0
119
Member Avatar for mcskelle

How can I make i loop where I set a variable on the controls to the same value? textBox1, textBox2, textBox3 for(i=0;i<2;i++){ textBox?????.Text="That's how you do it!"; }

Member Avatar for mcskelle
0
222
Member Avatar for bluemm87

[CODE=cplusplus] // using pointers with // const methods #include <iostream> class Rectangle { public: Rectangle(); ~Rectangle(); void SetLength(int length) { itsLength = length; } int GetLength() const { return itsLength; } void SetWidth(int width) { itsWidth = width; } int GetWidth() const { return itsWidth; } private: int itsLength; int …

Member Avatar for StuXYZ
0
163
Member Avatar for andrewsCWD

Hello, I'm just trying to gauge how often this is used in real world development, it would seem that most would use databases for storing information instead of putting them in text files right? I'm in my first PHP MySql college course. Last week we just finished a chapter on …

Member Avatar for andrewsCWD
0
165
Member Avatar for baltimoreharps

Ok, I'm trying to Create A New File that doesn't exist yet. Basically, I want the user to enter the name of the file and then want VB to create and save the file (currently it will be blank until the user goes back in and reopens it and adds …

Member Avatar for baltimoreharps
0
108
Member Avatar for xodus1

Hi Guys, I'm new to PHP and need help with passing variables from my form to multiple pages. I have global registers turned to off. I am able to retrieve my form inputs on the second page.. however unable to retrieve the same on the other pages after. for example …

Member Avatar for xodus1
0
1K
Member Avatar for Coward
Member Avatar for Hugers

[B]I am new to this coding world. Recently I have started with Turbo C/C++. What next should I go for c# or java? Are their any online tutorials available through which I can start by myself?[/B]

Member Avatar for Rashakil Fol
0
164
Member Avatar for ryan311

it is possible? if the user in the running time, click the close button or the X button that we can see in the top of the form and then if the user click the close or X button message box will appear "you cannot log out"? how can i …

Member Avatar for vb5prgrmr
0
117
Member Avatar for ceyesuma

[code] [/code] Hello I have a couple classes here and a resource bundles and a JSF that sends the key to the class (MessageProvider) and MessageManager.java gets the resource for the selectOneMenu component label. I would like to change the label on the submit button depending on the choice from …

Member Avatar for ceyesuma
0
104
Member Avatar for kiel19

I have a stand alone application In Vb that I would like to redevelop it using Netbeans such that it can run in server based environment. The Objective is to have it run on a network where I have clients who work from different stations but printing and storage of …

Member Avatar for c0dex
0
119
Member Avatar for emilio

hi my page contains a button with a javascript click event. when i click the button i want to check if the page is valid, and if the answer is yes, to perform the event function. if the page is not valid i want the error message to show in …

Member Avatar for emilio
0
73
Member Avatar for Dendei

Hello i have an array of dates and want to input a week ex week #14 and get all the dates written out in that week. Anyone know a good way to convert weeks to dates or how i should solve this? thx for answer.

Member Avatar for Dendei
0
96
Member Avatar for Seapoe

Hi, I'm new here and need some help on beginning my program. I've read the thread on homework help and am not here asking for someone to do my program. I have an assignment which I basically have to take in polynomials from the user and add/multiply them. I decided …

Member Avatar for monkey_king
0
109
Member Avatar for arunmozhi

Error: The server rejected one or more recipient addresses. The server response was: 503 This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server …

Member Avatar for arunmozhi
0
323
Member Avatar for OmniX

Is it possible to retrieve the number that the error line of code is on? Closest I have come to is mysql_error() but that does not tell me the correct number the line of code is on just like line 1 and it isnt? Line of Code: In your text …

Member Avatar for ahmksssv
0
117
Member Avatar for quill2

I keep getting the following error: [b]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource[/b] on line 17. I'm trying to figure out if there's some problem with my SQL query statement, or what. When I try to print $result, nothing is displayed. I've included my code below. …

Member Avatar for ahmksssv
0
119
Member Avatar for starsinthesky

i dont know if this is the right forum where i can post this question that i have. im making an organizer and i want to make a pop-up window that would remind the user of an upcoming event he has 10/5 days from that time he opens the organizer. …

Member Avatar for diafol
0
69
Member Avatar for prawin@123

Hai can any tel me , How i can get username from database where i logged in using userid . here is the code below. [code=php]if(isset($_SESSION['u_name'])){ include 'dbcon.php'; $qry = "SELECT * FROM tbl_user where user_id='".$_SESSION['u_name']."'"; $result = mysql_query($qry,$con); if($result) { $row=mysql_fetch_array($result); } while($row=mysql_fetch_array($result)) { echo ' Welcome ' .$row['user_name']; …

Member Avatar for ahmksssv
0
91
Member Avatar for dmkp

Hi, wasn't sure where to put this. However since I used PHP in my download script, felt it was appropriate to ask here. Anyway my problem is pretty easy to describe, any downloaded zips off my website are corrupted (however are fine before being uploaded). Is there a way to …

Member Avatar for cwarn23
0
215
Member Avatar for valsaraj

What is the best method to share session across multiple domains on same machime. ie, domain name different like abc.com, xyz.com but single application.

Member Avatar for cwarn23
0
3K
Member Avatar for fourstar

Hi all, I'm new here. Hello! I am a new comp. sci major and am required to take a beginning course which we learn c++. So far I've been hanging in, but I don't have the greatest teacher to learn from. I've had no formal programming language training. I've actually …

Member Avatar for tux4life
0
335
Member Avatar for rickster11

a percent sign? My program asks the user for a percentage rate. It then puts (with cin) the rate into a double. However...if a user tries to type a % after he enters a number...the program goes wack...

Member Avatar for tux4life
0
179
Member Avatar for Vallnerik25

I have a question regarding when to use delete to free memory used by a pointer. I have a class function that uses dynamically allocated memory and I want to properly use delete to free up the space when I am done with it. [code=c++] // Overloaded addition operator. CSimpleString …

Member Avatar for Vallnerik25
0
243
Member Avatar for Bands

Hi, i'm trying to create a vb.net calcualtor similar to that of windows but with more functions, the problem is that i can't think of how i can use a single text box to get the two input numbers. i've tried using .visible but still does not work.

Member Avatar for c0deFr3aK
0
284
Member Avatar for AntMastr

I am having trouble starting a program that needs to sort arrays. I need to have the user input the number of employess -which will set the number of arrays, then the user will enter differnt values into each array which should be private, such as name, age, salary, number …

Member Avatar for stephen84s
0
83
Member Avatar for srikanth.cpd

Iam creating an application. i have a main form it has 5 buttons i have created 5 more forms. my aim is to show a particular form for every button the form is opened in a new window i dont want to open in a new window it should be …

Member Avatar for srikanth.cpd
0
105

The End.