199,114 Archived Topics
Remove Filter ![]() | |
Im my form to send emails I have a button called "Save".When I click the button I want to send the email as well as insert data into my database(values of sender,receiver).I can send th email but i dont know how to insert the data into the database at the … | |
Hi, The following script gives back bummer as print, so the storing to database hasn't worked. What is wrong? [CODE]<?php function db_connect(){ $connect = new MySQLi("localhost", "justinmijn_root", "***", "justinmijn_nba"); // mysql_connect_errno() retourneert 0 als er geen fouten zijn if (!$connect || mysqli_connect_errno() != 0) { throw new Exception('Er kan geen … | |
OK so here is a fighter game I made..except my fighters power won't decrease and I can't get my fighters names to show up....*sigh*... any idea.. My functions could be wrong.. but I always thought it went above int main().. #include<iostream> using namespace std; int fighterOne (char fighter1Attack){ string fighter1Name; … | |
Today is my second day with *<Accerlerated C++>,* and so far I've read until chapter three. Below is the code written in the book and as a part of solving the chapter's exercise problem 3-0, I typed and compiled the code. (using vc++ 6.0) I assumed there would be no … | |
hiiiiii everyone. I am btech final year student.And I'm creating a website and I need to create a rss feed to my website to update news to the subscribers.So, can anyone give me idea of creating dat. Thanks in advance. | |
Hi all, I need to select all the divs having the classname starting as msg_body. actually the classname is msg_body_3. The last part of the class name of each div will vary as it is an id. How can i slideup all these divs, class name starting with msg_body using … | |
with the vb.net default color dialogbox how can you handle the cancel buttons click event ? if the cancel button is clicked, i dont want it to make any changes with the selected color. as of now if i click cancel it still edits the colors. thanks | |
is it possible in c program to run two processes at the same time.For example i want to run a timer along with my application .The timer must be shown on the screen.Thanks in advance | |
I am useing the OpenFileDialog component with a Button Sub to use the text file that the user selects (it can change everyday) in the next part of my program that will read that file and then covert it into an xml format. How do I get the second part … | |
I have some problem understanding a full adder In a full adder there is a Cin and Cout... what i don't understand is what do I need to Cout. I just don't undestand the value of Cout in the full adder Thanks | |
can you guys suggest a way for me to code c++ without using IDEs? a link or two could really help | |
Hi, I have downloaded the wampserver and now I need to use the php. I tried to use the www directory upload my files but, when I try to open those php files as a web application, that appears as a html web application.I used the mozilla browser. Now I … | |
Hi Everybody Can anybody help me creating Button at runtime. My problem is I am having one form which contain 6 button to save 6 records details. Finally when six records save user goes to for next 6 records... So I need a new but same form which will again … | |
hi i am drawing a graph with values more than lakhs. i m drawing it in 4 different parts parallelly. it works f9. it contains two forms 1st one is opening the file and the second one is storring the values in variables and plotting it. but the problem is … | |
Hi folks, I dont need any code snippet, but at least i need somebody to lead me to a solution. I got an app form that will have personal info from employees, and i need to let them pick a photo from filesystem to attach to this form. what i … | |
[QUOTE]This is the codes i used in my login based on it's database.It works well.But i forgot something..I want to post the current user when he/she login.When they enter their student # as well as their birthday in the login menu,then when they click the button,the information of the current … | |
Hi, Assume, I have table which consists of 5 values, say C:/Testing/test1/ C:/Testing/test1/test2/ C:/Testing/1/ C:/Testing/ C:/1/ I want to query the database table to get the values starts from 'C:/Testing/' and '/' as a escape character. ie, I want to get only two things, C:/Testing/test1/ C:/Testing/1/ Both starts with 'C:/Testing/' … | |
So I have a script that retrieves an image from a sql table and displays it. I can call the script inside a html using something like this: [CODE] <img src="display01.php"/> [/CODE] Now I have another script called "text01.php" that fetches text from the sql table and the script works … | |
Q.28. Write a program to produce the following form. 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 $ $ $ $ $ $ $ $ $ $ $ … | |
hi guyz, i cant start apache after loading the php5 module, i get the following errors in the log: [CODE]Cannot load C:/php/php5apache2_2.dll into server: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem[/CODE] Please help. Thanking you in advance. | |
Hey, I have been looking for help on this matter for some time now and hopefully I can find it here. I would like to create my own computer programming language - just for fun. I have a very good knowledge of C++ and so that is the language I … | |
Hi, I'm currently a 2nd year undergrad computer engineering student and am planning on becoming a hardware design engineer. I'm finishing up with general physics 2 with calculus, and was wondering what topics in general physics that I learn in college are actually use on the job. Also what skills … | |
hi to all combo1.additem "male" cobmo1.additem"female" combo2.additem" Educated" combo2.additem"Uneducated" even i have added in LIST property of combobox. my problem is when i retrieve records from database for Find command button i am geting error as "Text" property is read-only. runtime error '383'. i want to dislplay FIND record details … | |
This is it, I've completed my forum script and I'm sharing it with you!!!!!!! :O Hope you like it, if you find any bugs, please post it here Oh yea, and the first registered person will be the admin | |
Hello, When i run my program it shows just segmentation fault. As my knowledge, segmentation fault can occur for pointer and memory related fault. But i could not find out my mistake. Please see some part of code(maybe, that is related to segmentation fault): [CODE] char *state_in; //state_in = malloc(1024); … | |
![]() | I know how to create shortcuts on desktop and program files but i want to make an option with checkboxes...so that you can select if you want those two shortcuts or if you don't them. I've tried this with checkboxes (in User Interface), i've set checkboxes properties and changed "User's … ![]() |
Hello I am really new in c++ but I read a lot of books. But I haven't found in any book how to add an interface to my program. So, what is necessary that the program to not run in the windows console? | |
Hi all, How can I allow a user to modify his added comment within 30 minutes. I mean by that, I'm allowing a user to pot a comment. This user may want to modify his comment. I, as administrator, need to allow this user to modify his comment if and … | |
Hi everybody, Pls give me sb. a hint. I do this following exercise but I struggle with reading another lines of txt. Here is the text: Exercise 9.1 Write a program that reads words.txt and prints only the words with more than 20 characters (not counting whitespace). here is my … | |
Im trying to retrieve information from a table; I give a date in the form of "yyyy-mm-dd" but in the table date is stored in date/timestamp formate. So while im comparing my inputted date with the table date, no match is found. is there any way to select only the … | |
I use Visual Basic 8.0 and MySQL 5.0 [COLOR="Green"]Articles are listed in table rental places in table stock if articles not exists in table stock[/COLOR] first check with article are not in listed stock table and wel in listed stock table rental select * from rental,stock where rental.Article<>stock.Article ; This … | |
I want to populate a dropdownlist from a database using PHP.My table name is msg_people_contact and column to be inserted into is primary_email.I have a code and it connects to the database but the data is not shown in the dropdownlist.Can anyone help me with this code?[CODE] <td><label> <select> <?php … | |
Hi everyone. I need help. I'm supposed to have my program edit an XML field. The user has the option to change the values in certain nodes. After the node values have been filled in, and a certain button has been clicked, the program should write the changes to the … | |
write a programm which out put is a triangle example 5 4 4 3 3 3 2 2 2 2 1 1 1 1 1 | |
Hello I got a little problem with winapi programming I can edut dialogs graphically with resource editor but is there any way to edit mainform in similar way? Writing on iPod so there may be typos | |
I am new to java programming and i have been struggling to connect my Jtextfields to my java database. I have been working with Delphi previously and was wondering how i can connect the GUI fields in my form to an already existing database using jdbc. Any help appreciated. Thanks | |
Hi guys, Im doing this project in VC++ 2005. I cannot seem to get the size for my directory. No error is returned when I use GetLastError(); Both Low and High are coming out as 0. I do get a handle value for MF ( dunno how to verify if … | |
Hey all, Hope ye are all are enjoying christmas, I was just wondering if someone could help me out I am having a small problem with insterting a Date into Access 2007. I am Using the Now() Function in VB.NET and have change the format to General date In Access … | |
Hi, uhm can anyone help me out in creating a list box or a drop-down that has a standard size. Here's an example that I really want to display: [CODE] <select name='color[]' size=2 multiple> <option value='' selected>Select Item</option> <option value='blue'>Blue</option> <option value='green'>Green</option> <option value='red'>Red</option> <option value='yellow'>Yellow</option> <option value='white'>White</option> </select> [/CODE] … | |
| |
hello all please help .. whenever I enter a path it tells me it cannot open the file here is the code: [CODE]# include <iostream> # include <fstream> # include <iomanip> using namespace std; struct count_type { int count; double percent; }; void intial_struct(count_type count[]); void open_file(ifstream&, ofstream&); void counter(count_type … | |
Hi, I'm having a strange problem. The task: search on a site and get the all the dates from a particular season. Everything goes well for all the mondays, tuesdays, ... , saturday. But at Sunday I only get 2 results and I need 11 results. Now when I only … | |
Hello all, I would really appreciate help with this seemingly basic problem. Here is my code; [code]import wx import FloatSpin as FS class DesignConditions(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,id,'Design Conditions',size=(1000,700)) panel = wx.Panel(self) wx.StaticText(panel,-1,'Atmospheric Temperature (K): ', (25,150)) wx.StaticText(panel,-1,'Atmospheric Pressure (kPa): ', (25,200)) wx.StaticText(panel,-1,'Mach Number: ', (25,250)) wx.StaticText(panel,-1,'Ratio of Specific Heat Capacities … | |
[CODE]/*helo every one, I am just a newbie in javascript, but can any one help me with the second function?*/ <html> <head><title>survey2</title> <script type="text/javascript"> var Item = new Array(); Item[100] = 15; Item[101] = 10; Item[102] = 5; Item[103] = 0; function show_it() { var total = 0; var Details … | |
Hi everyone , I have an edit control and 2 APIs for saving text from and loading text to the edit respectively. However, when I load text, instead of giving out the exact alphabets in the text, it gives chinese!! Please, I need help to tackle this problem,any psitive help … | |
I'm trying to make a 50x50 board of 50 pixel by 50 pixel squares. However, when I run this code, it only gives me one square. Does anyone have any idea what I'm doing wrong? [CODE] #include <iostream> #include <allegro.h> using namespace std; int xgen = 0; int ygen = … | |
I am currently working on a program that edits txt files but it's for a game. There is a file that contains information that the client uses. This is what the file looks like: |piece of code here|another piece|and another piece| |piece of code here|another piece|and another piece| |piece of … | |
Does anyone know of a good beginner java book that is the most up to date? Head First Java 2nd ed. seems kind of outdated when I looked at the date. | |
Hello Just one question- is it possible, to solve 15 game if grid is not square? I have written this game for 6x5 grid, however I've tried about 20 times I always fail to solve last row. So I started to think the solvability may depend on width/height ratio or … | |
I use Visual Basic 8.0 and MySQL 5.0 select * from rental,stock where rental.Article=stock.Article ; This gives the following result: stock.article stock.stock rental.article rental.rent 1000 100 1000 15 2000 150 2000 25 Update stock set stock.stock=stock.stock-rental.rent where rental.Article=stock.Article ; This gives the following result: [COLOR="Red"]Unknown column rental.Article lin 'where clause' … |
The End.