199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for heshanm

In the below query,the "Account has been successfully approved" message dispayed. But in the database still approved_status remains '0'. [CODE] <?php $connect=mysql_connect('localhost','root',''); mysql_select_db('bank',$connect); if(isset($_POST['account_number'])) $account_number=$_POST['account_number']; else $account_number=''; $query = "UPDATE account_details SET approved_status='1' WHERE account_number='$account_number'"; $result= mysql_query($query) or die(mysql_error()); if ($result) { echo "Account has been successfully approved"; } ?> …

Member Avatar for urtrivedi
0
177
Member Avatar for Saurabhvyas9

Hi Friends, This is the code i wrote in order to First open a csv file as excel, then find the required three columns, n then read data from them n save the data into another variables showing them in textbox. As about the csv file, it contains many columns …

Member Avatar for Deepak Shitole
0
1K
Member Avatar for PratikM

Hey Guys, I was just making a program with music running in the background and whenever I tried to run the .exe file of the program, the music wouldn't play. Extra Info: I'm running Windows 7 and Visual Studio 2010 Express. Here's my code if you need it...(beware: it is …

Member Avatar for raptr_dflo
0
309
Member Avatar for moonray

hii,i have to know about performance measurement and improvement library.itz our project topic for btech.plz give an idea about the topic. content:how to improve a c++ program by calculating fn call,fn time,memory allocation and save pointers

Member Avatar for raptr_dflo
0
126
Member Avatar for dophine

Hi, Since small object allocation in heap is bad, I am just wondering the range of the object size that is defined to be small. Regards, Michael

Member Avatar for dophine
0
270
Member Avatar for Tauren

[code] #pragma comment(lib, "crypt32.lib") #include <stdio.h> #include <windows.h> #include <Wincrypt.h> #include <iostream> #define MY_ENCODING_TYPE (PKCS_7_ASN_ENCODING | X509_ASN_ENCODING) //this is keylength bit shifted, here we have keylength of 1024bits hence 1024 << 16; #define KEYLENGTH 0x04000000 using namespace std; int main() { DWORD dwFlags = 0; HCRYPTPROV m_hProv; PBYTE pbKeyBlob; DWORD …

Member Avatar for nezachem
0
214
Member Avatar for haimz

Hello evryone :) By saying disable bots to my site i meen: That no one can do "file_get_contnst","cURL","get_meta_tags" or things like that to my site .. How can i disable that for others? Thanks, and sory for bad english .

Member Avatar for cereal
0
112
Member Avatar for dina

Hi, I am creating a database for a car hiring service and would like to produce reports. I know these are simple to create in MS Access but i dont have the fainest idea if these are at all possible in MySQL. I have created tables and queries to which …

Member Avatar for elmobo
0
247
Member Avatar for shobe089

hello there. i was just wondering.is it possible to get the text display of your div and place it in a variable? if so, how should i do it? i've been searching for a solution in this problem but i can't find anything.thanks in advance.

Member Avatar for fobos
0
545
Member Avatar for evilguyme

hey guys! i am trying to make an algorithm that generates random numbers within a given range ( this range may differ ) i have tried using rand() but i dont like it because the best seed is the time and it doesnt generate numbers random enough. thing is i …

Member Avatar for Narue
0
121
Member Avatar for jesyka82

I am developing a project for a client with a single table in the database for users which includes information about each user, including a field for the userID of a user who referred them. What I need to do is query the "referrer" field of each user record and …

Member Avatar for cereal
0
133
Member Avatar for tawes01

I want to make a c++ program that can open an image that is in any of the major formats (jpg, gif, bmp, png) and has any size and I want to resize it to a specific size (no, I don't care if it looks stretched) and save it to …

Member Avatar for tawes01
0
1K
Member Avatar for bettybarnes

hi guys i use tasm and I want to have an assembly program that gets user input and the program will provide the output. My desired program is when a user inputs 3 it will output asterisks just like this input: 3 output: * ** *** i found this code …

Member Avatar for thines01
0
1K
Member Avatar for extemer

hello guys...i have a class table in which there are two fields [B]class_id[/B] and [B]class_name[/B] and a student form in which there is a text field in which user will mention the student class and then hit add.this will retrieve class_id from class table instead of class name into student …

Member Avatar for extemer
0
173
Member Avatar for sfrider0

How do you open a file from the root directory without have to type the complete path like C:\folder\subfolder\file.txt? I have [code] System.Diagnostics.Process.Start("file.txt"); [/code] It works fine when I type in the whole location but I need to send this file to another computer and it won't be in the …

Member Avatar for humar
0
249
Member Avatar for Hendo

Hi, it's me again. Obviously, you've all figured out that I'm new to the programming thing. Here's my next stumbling block.:( In C#, using Visual Studio 2010, I need for my program to check which version of .NET is installed on the machine, and then automatically install the v4 .NET …

Member Avatar for Momerath
0
131
Member Avatar for rjcenteno

i'm stuck on a program that i am working on in class. your suppose to open a text file with names of shapes and certain lengths of it's sides. it then calculates what it's area/perimeter/volume/circumference and so on and so forth for each shape named in the text file. i …

Member Avatar for raptr_dflo
0
155
Member Avatar for mwenyenia07

i downloaded cronjob bootstrapper and edited as shown: #!/usr/bin/php [CODE] <?php /* |-------------------------------------------------------------- | CRON JOB BOOTSTRAPPER |-------------------------------------------------------------- | | By Jonathon Hill (http://jonathonhill.net) | CodeIgniter forum member "compwright" (http://codeigniter.com/forums/member/60942/) | | Created 08/19/2008 | Version 1.2 (last updated 12/25/2008) | | | PURPOSE | ------------------------------------------------------------- | This script is …

Member Avatar for rch1231
0
959
Member Avatar for SpiritualMadMan

Here's My Problem: I have three Python Modules (using 2.7.2) TC_Config.py merely holds Common Variables used by both of the other two Modules. pyTC.py is supposed to be a Test and Flow Control (Master) Module that once standardized will not be changed (much). ptf.py is a module that will be …

Member Avatar for SpiritualMadMan
0
148
Member Avatar for coroll

Hi all, Im adding a column after the dataGridView is populated. Then I want to add LinkLables to that column. how to do this. PLZ help me. I've tried this.But it gives me an error. this is my buton click.its ok. [CODE] private void button1_Click(object sender, EventArgs e) { Search …

Member Avatar for codes4f0x0d
0
2K
Member Avatar for hughesadam_87

Hey everyone, I'm making a data analysis suite in python, and want to construct a custom event handler which will reset the axis based on the data in the current subplot. To do so, I need the event handler to know what data is currently in the subplot. The matplotlib …

Member Avatar for hughesadam_87
0
179
Member Avatar for king_saqib
Member Avatar for Natique

Hi! I'm trying to send data from a mobile application written in Java ME, to an ASP.NET website connected to an SQL server. I tried to open an httpconnection output stream in the Java ME application, and send the data in a POST to the website. The problem is I …

Member Avatar for Natique
0
219
Member Avatar for uvaryani

Hi, I am new in a python2.7. Please help how efficiently we parse and store the fields in dictionary for later retrieval. my log file example #Version: 1.0 #Fields: date time c-ip s-dns x-proto s-parser cs-resource s-resource sc-response-code sc-response s-candidate-ips x-preferred-location x-location cs-user-agent s-ip c-port #Software: vx-logfeed 1.3 #Start-Date: 2011-04-20 …

Member Avatar for woooee
0
285
Member Avatar for raaif

I am trying to check for certain processes that is running and then inform the user of those processes via textbox like "The programs; -name of the processes running goes here- are running" The I am using is [CODE]Dim iIndex As Integer Dim isd As Integer = 0 iIndex = …

Member Avatar for raaif
0
173
Member Avatar for Upoma

I am developing a desktop application in Java using Netbeans and MySQL database.Now i want to distribute the software.How to distribute the software along with the database?What is the total procedure.Should i use any software for this?

Member Avatar for Upoma
0
259
Member Avatar for kooletz

i have an assignment to create a program. Mang Tomas paid a certain amount of Bushels of wine to be delivered this weekend for his promotional party. What will the rate of each Bushel of Beer and how much dicount will be given to them? [CODE]Number of Bushels Discount 1 …

Member Avatar for gusano79
0
173
Member Avatar for cliffcc

The implode function is not worked! I want to show the string as follows; id-101-102-103-104-105 [code] $handle = fopen($_FILES['file']['tmp_name'], "r"); while(!feof($handle)) { $data = fgets($handle); $listing = explode(",", $data); $id = $listing[0]; $name=$listing[1]; // this is second column data. $telephone = $listing[2]; $email = $listing[3]; $id1 = implode("-,$id); echo "id …

Member Avatar for cliffcc
0
400
Member Avatar for cliffcc

What is the error below, i cannot use it ? The result is blank page! Thanks! [code] <h2>Search</h2> <form name="search" method="post" action="search.php"> Seach for: <input type="text" name="find" /> in <Select NAME="field"> <Option VALUE="fname">First Name</option> <Option VALUE="lname">Last Name</option> <Option VALUE="info">Profile</option> </Select> <input type="hidden" name="searching" value="yes" /> <input type="submit" name="search" value="Search" /> …

Member Avatar for cliffcc
0
125
Member Avatar for MissJava

Hi everyone! I need some help in my programme. I have an error message: "error: int cannot be dereferenced" at line 134. Could you help me solve this problem, as I do not know what it means? Many thanks. [CODE]/** * @(#)PrizeCollection.java * * PrizeCollection application * * @author * …

Member Avatar for JamesCherrill
0
7K
Member Avatar for gdawkins

I want to have a setup where users from hundreds of sites hosted elsewhere will all be pulling information from my one master database that I host. I don't want to allow them to make any changes to the databases, just pull information from it to display on their site. …

Member Avatar for gdawkins
0
128
Member Avatar for SakuraPink

hi everyone, I need to write a piece of code that sort an array of double values named distance[i] in the following code. The counter i is the index for another array as well therefore I don't want to change the order of the array. I got hint from this …

Member Avatar for SakuraPink
0
153
Member Avatar for klemme

Hey, I have all pages in my site, coming from the DB, and I get urls like this: [B]enkeltwebdesign/index.php?sid=1&titel=FORSIDE[/B] The name of my site: [I]enkelt-webdesign.dk[/I] Does someone know how to write the correct mod_rewrite, so I can change the urls to: enkelt-webdesign.dk/forside (forside = home) enkelt-webdesign.dk/webdesign (...) [I]etc etc[/I] So …

Member Avatar for klemme
0
250
Member Avatar for FriXionX

As in, if you had an if statement, for example: [CODE]if(endProgramChooseType != 'y' || 'Y' || 'N' || 'n'){ (code for exiting program) }[/CODE] How would you do that in a switch statement? without doing [code]case 'a': case 'A': case 'b': case 'B': case 'c': [/code] etc.

Member Avatar for FriXionX
0
6K
Member Avatar for extemer

hello friend...want to ask something after completing my [B]student form[/B] now i am up to [B]classes table[/B] so i make a table in DB which consist of two fields [B]'class_id'[/B] and [B]'class_name'[/B].[B]class_id [/B]is auto_incre.so i thought to add a field in the same [B]student form [/B]in which the user will …

Member Avatar for extemer
0
93
Member Avatar for SolidSora

I'm trying to use a for loop to convert a number into star images. My program reads from an SQL database to take a rating, which that works fine, but when I try to use a for loop it's a problem due to it being inside a table. Here's my …

Member Avatar for SolidSora
0
122
Member Avatar for stephen_UK

I have written a mysql database using PHP which uses a multi-field form to collect descriptive information about archaeological finds/features etc. Some of the fields are text or medium text in length. It is common when describing things to include references, which frequently now take the form of a url. …

Member Avatar for stephen_UK
0
109
Member Avatar for king_saqib

Asalam to every one im a begnner in programming hoew can i send an email through vb exe please help me in under standing:(

Member Avatar for debasisdas
0
300
Member Avatar for mikeybware

I am trying to use WebClient to download a .zip file from my server. In debugging mode the code works perfectly, but when I deploy my software the file does not even begin to download. After my program checks to see if an update is available, it should download the …

Member Avatar for mikeybware
0
320
Member Avatar for spanners

Ok, probably quite a basic question, but here goes: I'm creating a string that will hold the contents of an xml file that is being created dynamically. here's an example: $new_xml = "<?xml version='1.0'?>-<params>-<param><key>[COLOR="Green"]$clubName[/COLOR]</key><textValue>" [COLOR="Red"].$club_name[/COLOR]; Having looked at this, I've suddenly realised that the string part is still going to …

Member Avatar for spanners
0
186
Member Avatar for Slobo_89

I need to write a program for drawing concentric squares. Program with the first click of the mouse determines the x and y coordinate of first corner of the square. Then, the mouse moves and the second click determines the point of the opposite corner. I wrote the first part …

Member Avatar for NormR1
0
928
Member Avatar for needpython_help

Hi everyone, I'm new here so I hope I've put this in the right place. I'm looking for a little help with a python program I've written. I'm trying to create a timeline from SQLite databases. I take information from a calls database, then an sms database, write those to …

Member Avatar for Enalicho
0
859
Member Avatar for wondering_ed

Problem: solve the following Source of SHORTEST DISTANCE path of A,B,C,D,E,F,G. I already did link the strings of dots of ABCDEFG and made a polygon which is the other objectives, my only problem now is calculating the source of the shortest distance part of A,B,C,D,E,F,G. Am using net beans. Guys …

Member Avatar for raymagosi
0
168
Member Avatar for lolain

I am new to XSLT and am trying to solve the following transformation. I have an XML that looks like this... [CODE]<Groups> <Group> <GroupSelector>52</GroupSelector> <GroupDescription>Group 52</GroupDescription> <GroupValue>ABCD</GroupValue> </Group> <Group> <GroupSelector>27</GroupSelector> <GroupDescription>Group 27</GroupDescription> <GroupValue>PQRS</GroupValue> </Group> <Group> <GroupSelector>20</GroupSelector> <GroupDescription>Group 20</GroupDescription> <GroupValue>XYZA</GroupValue> </Group> <Group> <GroupSelector>15</GroupSelector> <GroupDescription>Group 15</GroupDescription> <GroupValue>MNOP</GroupValue> </Group> </Groups> [/CODE]There may be …

Member Avatar for mrame
0
215
Member Avatar for sDJh

Hello altogether, I am supposed to work through a project written in C++ and QT for Windows platforms. Now I am not an expert in window-related stuff. I installed MinGW 3.4.5 and QTSDK on Win XP SP3. I am using the tool "qmake" to create a makefile with all dependecies …

Member Avatar for sDJh
0
319
Member Avatar for Nathan_11

I am new to computer programming. Could someone explain me this code... s=0; for(i=0;i<5;i++){ s=2*s+i; } And how did it have the output 0,1,4,11,26;

Member Avatar for JeffGrigg
0
127
Member Avatar for 54uydf

Hi, I've got a table with 3 cols and each cell has a checkbox. I want to have 3 checkboxes above the table that each one checks/unchecks all the checkboxes in the table but ONLY in one col. so if I click checkbox 1 all the checkboxes in col 1 …

Member Avatar for 54uydf
0
199
Member Avatar for Nelli71

Hello all amatuer user of C++ please help me recode this the question is this: The function String_To_MDY() assumes the user correctly enters the date in the form mm/dd/yyyy. Recode this function to include the following test. Test the string ensure the user enters two digits, followed by a slash, …

Member Avatar for Nelli71
0
163
Member Avatar for cipcip

Hi, I have a question about htaccess. I have the following code: [CODE]RewriteRule ^([0-9a-zA-Z\-\_]+)$ ./profil.php?user=$1 [/CODE] This of course suports numbers, letters, capital letters, dash and underscore. If I add a \. for it to support a dot, it gives me an error. How to add dot ? Also, how …

Member Avatar for vibhaJ
0
119
Member Avatar for amazed

Hi I want to make image map in flash similar to this one - [url]http://www.image-maps.com/[/url] My image map implementation will be more complex. Basically I want end result like this [url]http://digitalhymn.com/argilla/tipmage/[/url] Only with two changes : - User should able to mark other shapes than rectangle, - It should store …

Member Avatar for stbuchok
0
300

The End.