199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for FALL3N

I forgot this word: 1) it is a program that runs that demonstrates an error for debugging 2) it is an acronym someone on either this board, or another board or another board where I ask programming questions told me to make one a few years ago... and now I …

Member Avatar for FALL3N
0
183
Member Avatar for cobaltfive

Hi I am back I need am working on an unfinished project and cant get it to compile past line 44 , any help with why it wont do that would be great . I just am trying to get what I currently have to compile . my assignment , …

Member Avatar for cobaltfive
0
241
Member Avatar for omoayan

I have these codes for the insertion of data into mysql database in php, unfortunately when I insert the data into the database they are duplicated. Any suggestion on what could be wrong with the codes. <?php // create short variable names $Database=$HTTP_POST_VARS['Database']; $Publication_Date=$HTTP_POST_VARS['Publication_Date']; $Title=$HTTP_POST_VARS['Title']; $Write_Up=$HTTP_POST_VARS['Publication']; if (!$Publication_Date || !$Title …

Member Avatar for Zagga
0
148
Member Avatar for naveen19

no matching function for call to `getline(std::string&, char&)' Why is this error occuring? HELP ME SOLVE THIS My Aim is to copy each character or integer to an array A.S.A.P MY PROGRAM:- #include <fstream> #include <iostream> #include<conio.h> #include<string.h> using namespace std; int main () { char a[50]; ifstream someStream( "txt.txt" …

Member Avatar for Ancient Dragon
0
357
Member Avatar for tahakirmani88

Hello, I am trying to fetch values from a Multidimensional array using foreach loop, i have understand the basics of foreach(){} loop, but when it comes to Multidimensional array i get confused. This is my program <?php $food =array( 'Healthy' => array('Salad','Rice', 'Vegetables'=>array('Tomatto','Onion')) , 'UnHealthy' => array('pasta', 'Vegetables'=>array('potatto', 'Corn')) ); …

Member Avatar for diafol
0
6K
Member Avatar for brandon66

There are two products Harmony Field Unit, and Tuner. The Harmony Field Unit has a Test Date, Test Station, and Test Results that need to be tracked. The Tuner has a Serial Number, Firmware version, and Hardware Version that needs to be tracked. The Harmony Field Unit is made up …

Member Avatar for brandon66
0
158
Member Avatar for pwolf

I have no idea why the program isnt working, its practically the same code I used in the last project so why wont the database update? The code for the program is as follows: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; …

Member Avatar for pwolf
0
189
Member Avatar for polashdeb

I am newbie in learning javaScript.When investigating a site source codes i've got some scripts. in repl.html folder there is bmi.js.My question is why they use this script? or a understandable article will be helpful for me. thannks for reading.

Member Avatar for polashdeb
0
99
Member Avatar for Jasonfran

Hello, I am making an IRC application and I was wondering how I could make a simple event that gets called like onMessage() every time a IRC message comes through so I can then do something like this in my main class: public void onMessage(String message){ System.out.println(message); //or Handle commands …

Member Avatar for JamesCherrill
0
210
Member Avatar for Aurax

Hi boards, I managed to read text file into MSHFlexgrid. Now i want to search a word in textbox and higlight it in flexgrid. Anyone know how to do this? Thank you

Member Avatar for Aurax
0
619
Member Avatar for timi_ca

Im new to java swing, and Ive got a little problem. So I've got a class Flight.java. In there I have a method displaySeat2D(). First I had this done with the scanner. Now I have to use swing. So basically I made text fields to take in number of rows …

Member Avatar for timi_ca
0
2K
Member Avatar for skliz

Please can any body show me examples on how to enter values into the Date and Time column

Member Avatar for annaharris
0
214
Member Avatar for malathim

Hi. I planned to develop a product software as a execution file. The aim is ti calculate the efficiency of battery, Solar panels,etc. merely it should act as a calculator. i need to maintain a databse for product details.when each product is selected,the calculation should be calculated. what software can …

Member Avatar for pritaeas
0
79
Member Avatar for Nirmeen Ased

<tr> <td><strong>Department</strong></td> <td width="220" align="right"> <select name="Depcategory" dir="rtl" id="Depcategory" class="title"> <option value="-1">chosse department</option> <?php $rs=$db->GetAllDepCategory($_SESSION["Faculty"]); while(list($name)=mysql_fetch_array($rs)){ echo "<option ".($DepSearch==$name?" selected=selected ":"")." value='$name'>$name</option>"; } ?> </select> </td> </tr> <tr> <td> <strong>Teacher name</strong></td> <td width="200" align="right"><label for="TeacheSearch"></label><select name="TeacheSearch" dir="rtl" id="TeacheSearch" class="title"> <option value="-1">choose teacher</option> <?php $rs=$db->GetTeacher($_SESSION["Faculty"], $_SESSION["AdminWorkName"]); while(list($Fname,$WNO,$Lname)=mysql_fetch_array($rs)){ echo "<option ".($Lname==$TeacheSearch?" selected='selected' …

Member Avatar for paulkd
0
233
Member Avatar for ricardojorge.net

# Creating a register and login page, by creating a mysql database and all php files. # ## I was reading a [thread that is dead](http://www.daniweb.com/web-development/web-design-html-and-css/threads/97183/to-create-a-registration-page-and-login-page) now, so i started this one: ## **Simple PHP login:** Create a database (mysqladmin) Name the table "dbUsers." It will need 4 fields: Name …

Member Avatar for Ank1
0
459
Member Avatar for imti321

include_once 'PATH/TO/swift_required.php'; //put info into an array to send to the function $info = array( 'username' => $username, 'email' => $email, 'key' => $key ); //send the email if(send_email($info)){ //email sent $action['result'] = 'success'; array_push($text,'Thanks for signing up. Please check your email for confirmation!'); }else{ $action['result'] = 'error'; array_push($text,'Could not …

Member Avatar for imti321
0
677
Member Avatar for sonicx2218

So I'm using this program that has 2 important sections of code that determine the iframe height and width. if (!images[imageIndex][2]) images[imageIndex][2] = ''; // Thanks to Leo Feyer for offering this fix WH = images[imageIndex][2].split(' '); WHL = WH.length; if (WHL>1) { mediaWidth = (WH[WHL-2].match("%")) ? (window.getWidth()*((WH[WHL-2].replace("%", ""))*0.01))+"px" : …

Member Avatar for sonicx2218
0
207
Member Avatar for Mr.UNOwen
Member Avatar for mike_2000_17
0
187
Member Avatar for jamunadevi

hi to all.. i am using mshflexgrid to display records in vb6.0.. i used **like** query to find the text in database.. i finished everything.. my problem is whatever i give in search textbox that should get highlighed in mshflex grid. example: to search telephone ill type phone in flexgrid …

Member Avatar for Jx_Man
0
350
Member Avatar for adeeb.keyaam

Advance thanx to all, i am having problem with my multistep form when validations happened. please help/suggest any ideas to solve it. > image uploaded properly with condition but do not show messages and then go next step $filename = $_FILES['photo']['name']; // get extension of the image $ext = strtolower(substr(strrchr($filename, …

Member Avatar for Eng. Hadi
0
197
Member Avatar for Stefano Mtangoo

Hi, I know how to make C++ plugin based application with C++ plugins. I need to add ability to code plugins in Python. I want users to be able to write Plugins in any language (C++ or Python). What are fundamentals of writting app in C++ but support plugins in …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for fatalaccidents

Hello everyone, I'm trying to basically get a cmd variable to pass into commands.getstatusoutput. The problem is that the command has a lot of single and double quotes in it and I can't seem to get it to store as a variable. When I print the cmd it comes out …

Member Avatar for fatalaccidents
0
390
Member Avatar for fheppell

How can I delete a file using php? Using a linux server (if that matters). Thanks for any help

Member Avatar for Eng. Hadi
0
283
Member Avatar for geewebid

hi master, i have problem with my ci web, i use force_download in my controller but why redirect() cannot work, please tell me what my problem. $filedown = $this->input->post('filedown'); $datas = file_get_contents(base_url() . "down/" . $filedown); // Read the file's contents $name = "$filedown"; force_download($name, $datas); i have error, if …

Member Avatar for Dani
0
2K
Member Avatar for Mr.UNOwen
Member Avatar for mike_2000_17
0
199
Member Avatar for HelpWanted2115

Hey guys... I keep getting an error(Error 26: Type Mismatch) in line 19(Until num='';) and I don't know how to fix it... Can you guys please assist me.....Thanks.... program sequence; uses wincrt; var num,count_zero,count_non_zero:integer; Begin count_non_zero:=0; Repeat writeln('Enter a number'); readln(num); IF num=0 then count_zero:=count_zero+1 Else count_non_zero:=count_non_zero+1; writeln('Non Zero Count: …

Member Avatar for kalo150
0
214
Member Avatar for somjit{}

can the members suggest some books/links that takes advantage of what i already know about oop (the basics , from java) and utilises it to make learning C# a faster process? perhaps i should have posted this on the C# forums , felt i should keep it here as my …

Member Avatar for somjit{}
0
251
Member Avatar for naveen19

Hi, I want to know how to read multiple text files in this program... I have 5 text files(order1,order2,...order5) Can anyone pls help me with this? I use DevC++. #include<iostream.h> #include<fstream.h> #include<conio.h> #include<windows.h> using namespace std; class{ public: void menu() { ifstream menu; menu.open("menu.txt"); string STRING; string inFile_contents; string previousLine=""; …

Member Avatar for Lerner
0
962
Member Avatar for schroaus

Is there any way to change all of the text inside a label to another character? It would still be the same length, but all of the text within the label would be the new character.

Member Avatar for schroaus
0
705
Member Avatar for ajike

Hello, I am new to python programming, and was attempting to get my feet wet by trying the popular telnet program on the web; here is the program. The problem is; I am trying to telnet to a switch, and execute some programs, but I am getting no where: Please …

Member Avatar for Schol-R-LEA
0
4K
Member Avatar for sirlink99

I am just starting out with c++, but I have a goal in mid. I have already programmed the logical portion of what I wish to acomplish in Java, but it doesn't work, because I can't set a usb to read only for the whole system in Java (if I …

Member Avatar for sirlink99
0
392
Member Avatar for salomonsk8

Hello all, So I have been scouring the internet trying to find an answer to my question. I usually never have to post a question because someone somewhere has asked it, but I guess there is a first for everything. I am a VERY intro level, brand spankin new 'programmer' …

Member Avatar for salomonsk8
0
520
Member Avatar for jasminjew
Member Avatar for UKnod

I am in this position again with warning that I cant get rid of, Here is the code: Public Function POPErrors(ByVal strMsg As String) MsgBox("POP3 ERROR - " & vbNewLine & strMsg, MsgBoxStyle.Critical) End Function Here is the warning: Function 'POPErrors' doesn't return a value on all code paths. A …

Member Avatar for UKnod
0
93
Member Avatar for s4ualex

Hi, This is Alex, After upoading the image, i dont want to store the image immediately, i need to display the image in confirmation page and the user is confimed i need to store it in physical location. i know how to store in physical location. but i dont know …

Member Avatar for Srujan1
0
249
Member Avatar for sciwizeh

Hello All, So I'm working on hand-coding a forum-like website, just for the experience, and I want to have a similar feature as you'll see above where a thread will have its ancestors linked: "Web Development > JSP > Parent traversal of tree-like Structure" I have several beans for different …

Member Avatar for sciwizeh
0
279
Member Avatar for abra_ka_dabra

In the code below, I am trying to convert the target[] strings to a given format in target1[] and then sorting them using bubble sort and store it in target2[] which is a date object array.. However, when the desirable format is "EEE MMM dd kk:mm:ss z yyyy", it is …

Member Avatar for JamesCherrill
0
256
Member Avatar for poopuh

Hey guys, I'm planning to develop a java web text editor which stores its entries on a MySQL database and is then private for every user. This is a learning curve for me and I will share all of my findings and such on here. Can anyone give me any …

Member Avatar for stultuske
0
257
Member Avatar for grubby

Hi,I am a c++ beginner. I am using vs,and I got a problem in my code which check a sentence whether a palindrome or not. #include <iostream> #include <stack> #include <queue> using namespace std; int main () { bool palindrome = true; char character; StackType stack; Queue queue; char stackChar; …

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

Can anyone point me to a sample use case of a very lightweight PHP-based example of a Google Analytics API pull?? I'm looking for two things: * Registering a pageview * Fetching pageviews per day/week/month/all for a particular page Thanks!

Member Avatar for davidkroj
0
125
Member Avatar for Mr.M

Hi DW I'm a VB.Net user and I have a project which I'm doing and the problem is that I didn't find the answer to my problem in VB.Net I found it in Java so now I'm forced to complete this project in java, I must say this is a …

Member Avatar for stultuske
0
226
Member Avatar for mallows.yum

hi all! i have here a code to delete a record <?php define ('DB_NAME', 'vincegac_vince'); define ('DB_USER', 'root'); define ('DB_PASSWORD', ''); define ('DB_HOST', 'localhost'); $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if (!$link) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db(DB_NAME, $link); if (!$db_selected) { die('Can't use ' . …

Member Avatar for mallows.yum
0
134
Member Avatar for overwraith

Hello, I am working on a program, and I noticed that all my threads are starting and stopping in exactly the same order I put them in, and they are not trading places in the output, or mixing output like concurrent objects should. Here is my code: public class RaceHorseAppII …

Member Avatar for JamesCherrill
0
134
Member Avatar for LeonardK

Hi There, I got a saved query in my database like this: # id rapport_query # 12 SELECT tablename.tablerow, tablename.tablerow FROM tablename Now what i want is to do execute this query with a php script and put the results in a array and then make an csv of it. …

Member Avatar for LeonardK
0
155
Member Avatar for deej_uptheowls

http://codecanyon.net/item/ajax-contact-form/full_screen_preview/50846 I bought this contact form that validates and produces a message when its complete. The validation messages are all in with the form. But when I try to integrate it into my page "contact.html", the validation messages popup in a new window "contact.php" and I dont know how to …

Member Avatar for deej_uptheowls
0
698
Member Avatar for rexdon
Member Avatar for rexdon
0
273
Member Avatar for atikah8890

Hi. I'm using JS for d3. What I intend to do is get some data from database and plot them in a diagram I've created. Here's what I've done so far: Fetched the data from database: <?php while($row = mysql_fetch_assoc($query)){ $q_id[] = $row['q_id']; $res_val[] = $row['response_value']; $chpt[] = $row['cr_chpt']; $lvl[] …

Member Avatar for atikah8890
0
333
Member Avatar for turpentyne

I have a script that loads in content using jquery. With the popstate/pushstate function everything is working beautifully, when they click on navigation links. But I also have some a href tags on one of the loaded pages for sliding down to anchor points on the page. This seems to …

Member Avatar for LastMitch
0
137
Member Avatar for SirMahlon

which programming language would be cool for a web app that would be able to syschronize sim contacts to a server and could be retrieved should sim be missing by logging on to the web.as well should u get a new sim u can get contacts back on phone by …

Member Avatar for LastMitch
0
276
Member Avatar for hbmarar

we have a form and if we would like to pass some hidden fields.say,username is hidden but required and email and password is what the user form is about:-

Member Avatar for LastMitch
0
152

The End.