199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Saboor880

Hi! i am writing a program in which i am reading a text file named "studentinfo". I have made a notepad file as "studentinfo" and then wrote a program to read this file. but there is an error occuring : " invalid operand of types 'char[20]'and '<unknown type>' to binary …

Member Avatar for Saboor880
0
141
Member Avatar for vivosmith

Hello, I have been trying to move this box, but so far all common ways of moving the javascript box (whitespaces, CSS) have not worked. I have tried searching the web, amongst other things, and so far nothing has worked. Here is the code: <html> <head> <title></title> <style type="text/css"> #AgodaSearchBox{ …

Member Avatar for mattster
0
257
Member Avatar for GingerDontCare

Hello Daniweb, So, I am currently working on a simple download time estimator program using JOptionPane and some loops. I have some beginning code and wanted to check how it is working, only it seems I messed up something and am stuck in my loop when I run it. I …

Member Avatar for GingerDontCare
0
1K
Member Avatar for rathiikk

hi sir, when i adding items into the listview ,i have added serialno and 5 other columns ,so whenever i adding new item the serialno will increase one but my problem is when i removing a row from listview how to rearrange the serial numbers pls help me

Member Avatar for tinstaafl
0
107
Member Avatar for paulogaiski

i have a simple php login script with session but all i get is just a white blank page after running my login,php script. Here is the login,php page <?php error_reporting( E_ALL ); ini_set( 'display_errors', 1 ); include('connect.php'); session_start(); if (isset ($_POST['submit'])) { $UserName=$_POST['uname']; $Password=$_POST['pswd']; $result=mysql_query("select * from bizness_profile where …

Member Avatar for Adrian_5
0
263
Member Avatar for markii.borabon_1

Im trying to dynamically add fields when add button is being press.. my code here works perfectly but.. what I want is when I click any of my fields it must add instantly and dynamically .. here:: $(document).ready(function() { var max_fields = 10; //maximum input boxes allowed var wrapper = …

Member Avatar for JorgeM
0
228
Member Avatar for amvx86

Hello everyone, So I have a quick question. Back when there was something written by BoFen and it was called codegenie and I have a copy of it and i've been using it with some success. What I'd like to know is are there any good api spies that generate …

Member Avatar for amvx86
0
309
Member Avatar for come_again

Hello everyone, I am putting together a project where people are able to upload multiple choice questions to a larger database and then create tests from them. I have several questions (and I apologize for the length of this post) about what is the best way to go about doing …

Member Avatar for diafol
0
221
Member Avatar for HuePig

Hi, I have an Item class, how can I make my Item object be composed of more Item objects? Say I have a gun and its composed of more items like bullet and magazine, how can i make it do that? /*Item.h handles the item in game*/ #ifndef ITEM_H #define …

Member Avatar for HuePig
0
118
Member Avatar for amal.sultan.5855

In the Following code, Function Delete_item is not working properly. it only works when we use break; statement... if some can do it without using break; stetement then please share and eplain the method... #include<iostream> using namespace std; struct node {int info; node *link; }; class list {private: node *head, …

Member Avatar for cheryllocascio
0
415
Member Avatar for Siick7

public class InventoryProgramPart1{ public static void main (String args []){ DVD dvd; dvd = new DVD(1, "Just Go With It", 8, 2.04); System.out.println(dvd); dvd = new DVD (2, "Gnomeo and Juliet", 2, 1.34); system.out.println(dvd); dvd = new DVD (3, "Black Swan", 6, 2.20); system.out.println(dvd); dvd = new DVD (4, "Zookeeper", …

Member Avatar for stultuske
0
115
Member Avatar for Razi_1

I am trying to make a simple calculator, unfortunately, it isn't going so well. Any ideas on how to make it simple? if gamemode=1 then {If gamemode 1 has been chosen} begin clrscr; title; writeln ('Welcome to Calculator'); writeln; writeln ('To begin, press <Enter>'); readln; clrscr; title; writeln ('Choose which …

Member Avatar for Razi_1
0
268
Member Avatar for A.Muqeetkhan

okay guys here is a thing i am new in asp.net and just love toying with technology and trying to learn asp.net through creating persnal projects. i am trying to create website that will basically take users info and users information and then store that in the data base. once …

Member Avatar for A.Muqeetkhan
0
197
Member Avatar for andrew mendonca

Define a C-string function void append(const char * v, const char * w, char * buffer) that appends the characters of C-string w to the characters of C-string v and stores the result in buffer. (Don't forget the terminating null character .) You can assume that the function is called …

Member Avatar for uonsin
0
409
Member Avatar for xuexue

Hi! I want to display a table in the Local Report using SQL Connection. Parameters will be user-defined. Example. sqlSearch = "SELECT * FROM shipment WHERE " & port & " BETWEEN @datePerformedFrom AND @datePerformedTo ORDER BY recno DESC" `@datePerformedFrom` and `@datePerformedTo` will be supplied by the user. Please help …

Member Avatar for xuexue
0
429
Member Avatar for terrymold

Hi. I have a little technical enquiry about PHP that I'm hoping someone here can help me with. I have a PHP/MySQL application on website A. This app takes a user input, does a few date/time calculations and presents the result onscreen as a series of 6 times. A friend …

Member Avatar for diafol
0
119
Member Avatar for LucasMNF55

void password(){ string fpass; string pass; cout << "Type the password " << endl; getline(cin,pass); cin.ignore(); ifstream fin(FILENAME1); string str; getline(fin, str); fpass = str; cin.ignore(); if (pass.compare(fpass) == 0){ cout << " Hello!" << endl << endl; cout << "What do you want to do?" << endl; }else{ cout …

Member Avatar for LucasMNF55
0
267
Member Avatar for KezLovesYou

Im not a programmer but I need to do it now. Our thesis is about creating a system for a specific company. I am just a systems analyst and I can understand codes. We already have a programmer but he is about to quit. I'm a newbie in c# and …

Member Avatar for humorousone
0
221
Member Avatar for James_30

Is the a model folder and file structure to follow if I wanted to build java projects in eclipse?

Member Avatar for peter_budo
0
192
Member Avatar for James_30

I have a couple java apps that run good in netbeans and in eclipse yet when I compile on the command line during the build.xml they all get these 100 errors. The list looks daunting but they are all dealing with joda time. Not sure what is going on. I …

Member Avatar for peter_budo
0
779
Member Avatar for ogsirus

Hi guys, Does anyone know if its possible to set and activate a bios password in .net? Regards.

Member Avatar for humorousone
0
202
Member Avatar for grakovski

Hi. Sorry for my english (is not good) I have sql query for get all results by some parameters: `$sql_string = 'SELECT SQL_CALC_FOUND_ROWS ip_ip, ip_time, ip_location, ip_referer, ip_username, ip_user_type, ip_browser FROM ' . IP_TRACK_TABLE;` Is for phpbb3, but it does not matter now. In this table have 7000 rows with …

Member Avatar for mattster
0
150
Member Avatar for tentrabyte

Can anyone help me? my problem is that when i enter my full name it forcefully close. i don't know why. please help me with my problem #include <iostream> #include <string> using namespace std; string name, zodiac, horoscope; int age, month, day; cout<<"Enter your Full name: "; cin>>name; cout<<"Enter Age: …

Member Avatar for Sarkurd
0
2K
Member Avatar for sudesh.yadav.104

HI I donot understand where to start . I need ideas and help. void InsertList(c4735list *destinationList,c4735list *sourceList,node *startNode) { //=====================not implementd yet } this fn inserts source list into destination list.the nodes are inserted after the startnode in destination list.source list should be an empty list after this operation. the …

Member Avatar for sudesh.yadav.104
0
270
Member Avatar for beanboy

hi helper, i've 3 .php and 1 css files downloaded from net. how could i run these files? Do i need any tool? thanks beanboy.

Member Avatar for diafol
0
1K
Member Avatar for toxicandy

I have the following code: <?php $fieldsClause = array(); $bindArray = array(); $fields = array('status','fname','middle','lname','address','city','state','zip','county','mailing','hphone','mphone','wphone','ext','fax','email','ethgroup','other1','occupation','poe','dob','gender','bhv','mrc','general','evv','allCounties','fillmore','johnson','otoe','richardson','seward','butler','gage','lancaster','pawnee','saline','thayer','cass','jefferspm','nemaha','polk','saunders','york','other2','aro','clergy','intskills','bus','child','law','cpr','data','security','emergency','computer','mechanical','administration','firstaid','translation','construction','basicclean','foodprep','animalcare','heavy','dataentry','identification','phone','runner','greeter','interviewer','safety','other2','interpt','cdl','cpryn','translate','other3','license1','verf1','num1','exp1','license2','verf2','num2','exp2','license3','verf3','num3','exp3','license4','verf4','num4','exp4','license5','verf5','num5','exp5','lsrd','syes','bcert','pauth','dist1','tdate1','dist2','tdate2','dist3','tdate3','dist4','tdate4','dist5','tdate5','felony','felonys','ename','erelation','ehphone','eaddress','ecity','ezip','hdyhau','bdesc','record'); foreach($fields as $field){ if($san = filter_input(INPUT_POST, $field, FILTER_SANITIZE_STRING)) { $fieldClause[] = "`$field` = :$field"; $bindArray[":field"] = $san; } } $sql = "INSERT INTO volunDB("; if (!empty($fieldClause)) $sqlF = implode(', ', $fieldClause); $stmtString = $sql; if(isset($sqlF)) …

Member Avatar for toxicandy
0
271
Member Avatar for davy_yg

Hello, I am creating login system with session for secure login and logout. Yet, I don't think it works as it suppose to be. This is my codes: admin.php <?php // Check if session is not registered, redirect back to main page. // Put this code in first line of …

Member Avatar for mattster
0
163
Member Avatar for hanspeare_1

Hello there Good day to each and everyone of us here. i have a problem displaying the image i have uploaded in the root directory folder. This is my codes in uploading image. I am using jquery.min.js and jquery.form.js. $path = "uploads/"; $valid_formats = array("jpg", "png", "gif", "bmp","jpeg"); if(isset($_POST) and …

Member Avatar for mattster
0
218
Member Avatar for HoverportMedia

I've been doing some research on Content Management Systems and for the most part, I was using Wordpress. From the vague experience and responses to professional web development, seo and implementation of CMS, Wordpress doesn't seem to be top choice. I've actually been investigating Adobe Business Catalyst, which seems to …

Member Avatar for PixelatedKarma
0
169
Member Avatar for network18

Hello All, I need to modify the default settings for the filesMatch in the apache httpd.conf file from - <FilesMatch "^\.ht"> Order allow,deny Deny from all Satisfy All </FilesMatch> so that to also include - <FilesMatch ".(eot|ttf|otf|woff)"> Header set Access-Control-Allow-Origin "*" </FilesMatch> I would appreciate the suggestions, somehow the combination …

Member Avatar for network18
0
600
Member Avatar for ankit1122
Member Avatar for myk45

Hi All, I run gdb server on a remote linux target and debug with the client. Are there some gui front-ends that might come in handy? I use gdb with --tui, but still sometimes find difficulty in "watch"ing variables. Is there some way i can perhaps use a gui based …

0
151
Member Avatar for Razi_1

So basically I want to make a tetris game with Pascal as a project I am working on. I wasn't able to make it complicated like you can move the piece and different types of piece come. From other responses, they involve more than 1 Pascal Program but I am …

Member Avatar for Razi_1
0
329
Member Avatar for erabxes

I am not able to get my email input even after defining my sessions, please look below: I have two scripts: The first is is to show the declaration of the session, while the second is to display the session's value: First Script:sessionTest1.php <?php session_start(); ?> <html> <head><title>Testing Sessions page …

Member Avatar for erabxes
0
393
Member Avatar for xuexue

Hi! The for loop works and it reads the value of `recno()`. However, the sql code itself is being executed once only. Is there any tweak I need to do for DB2 iSeries codes? For k = 0 To recno.Length - 1 sqlUpdate = "UPDATE shipment SET status=@status WHERE recno=@recno" …

Member Avatar for cgeier
0
267
Member Avatar for Saboor880

Hello to all frndz! i want to write a program in which i have stored some integer elements in an array and i want that my program searches for the largest integer and displays it. for example if i have some integers in my array like 23, 38, 81, 12. …

Member Avatar for dinad578
0
216
Member Avatar for Pravesh_1

Below is the code that not returning anything but echoing values; it should return 'something' on false of **if($return['status']=='Active')** function product($ids) { $return = mysql_fetch_array(mysql_query("select * from tbl_product where id = $ids")); if($return['category_id']) $recursive_return = recursive($return['category_id']); $recursive_return; } function recursive($category_id) { $return = mysql_fetch_array(mysql_query("select * from tbl_main_category where id = …

Member Avatar for Pravesh_1
0
193
Member Avatar for James_30

I have a JDesktop app using apache derby embedded db. Without totally rewriting the app can it have the same db but on a server?

Member Avatar for James_30
0
143
Member Avatar for Arjun_4

Hello everybody , i have a pending assignment and it is based on developing a Binary Search tree in C. One function which is required is Given As:- e. A function to convert the tree to a min-heap or a max-heap. Im really stuck guys , i dont have any …

Member Avatar for nitin1
0
557
Member Avatar for nadiam

Hi guys, so i know this question has been asked and answered on the web a million times but it seems that how my page is structured it doesn't seem to submit at all though it does refresh. I think i also need expert input on the structure of my …

0
167
Member Avatar for nitin1

I am curious to know how I can make my own library and use it for my C/C++ programs? I mean I want to make a library say "maths_example" which will have 2-3 files having some basic functions of maths. Then, I want to use that library for my programs …

Member Avatar for nitin1
0
163
Member Avatar for Silfro

Hello, on korean games I noticed that you always have to start the game through the website. First I want to know why they do it that way? Only to gain traffic? And second how can I do that too? Is it even possible with php? I couldnt find anything …

Member Avatar for cereal
0
130
Member Avatar for zeeshan009

<input type="hidden" id="" name="name[<?=$name;?>]"/><?=$name;?></input> .... <?php include('config.php'); @session_start(); $sessionName = $_SESSION['NAME']; $date = date('d-m-y'); $loc= $_POST['locationID']; $name = $_REQUEST['name']; $status = $_POST['status']; $class = $_POST['class']; $section = $_POST['section']; for( $i = 0; $i < count($loc); $i++ ) { $sql = "INSERT INTO tbl_attendence (fld_studentname,fld_status,fld_class,fld_section,fld_date,fld_takenby) VALUES ('$name','$status','$class','$section','$date','$sessionName') "; //echo $sql; exit; …

Member Avatar for zeeshan009
0
1K
Member Avatar for abelingaw

I'm trying to ban a user from logging in to a site after 3 failed attempts. Code: <?php require 'konek/dbcon.php'; if (isset($_POST['login'])) { session_start(); //$link = mysqli_connect('localhost', 'root', '','abra') or die("Could not connect database"); if (empty($_POST['uname']) || empty($_POST['passw'])) { header ('Location: login.php'); die(); } if (ctype_upper($_POST['uname']) || ctype_upper($_POST['passw'])) { header …

Member Avatar for hericles
0
3K
Member Avatar for game4tress

I'm trying to create an ASP .NET MVC WebSite that allows the user to enter the website without providing any additional information or by specifying an id or a name. Is this possible? How? I've tried the following method but it's not working public void Index() { //... ProcessClient(); } …

Member Avatar for wazz
0
296
Member Avatar for Sebastian_1

I have a app, that requires login with SQL server as backend. I have users who are on laptops and not always connected to the network. I want a way to check for the SQL server, and if it does not exist then roll over to local auth for local …

Member Avatar for Sebastian_1
0
182
Member Avatar for morfious90

This is what i want 2 form in my navigation bar. First is for Search Box second is for username and password.login button problem is if i put search box and login in same form then it gives weird look and formation error. Second Now I want to use buttons …

Member Avatar for wazz
0
329
Member Avatar for codewar

Hello, Working on this program as to where I need to cultivate this Message to retrieve both the First and Last Name. Working with Cookies with ASP.NET. A simple log in form. Here is the code to just retrieving the First name that the user inputted; Yes, it does work …

Member Avatar for JorgeM
0
304
Member Avatar for kiail

I have a site that I can't seem to figure out. I'm extremely new to asp.net/vb etc...I do C# forms but nothing with web dev. Anyway, my problem is my page declaration shows up on a live website and none of the controls show up(buttons, etc). It works great in …

Member Avatar for JorgeM
0
144
Member Avatar for Blueie

Hello I have a 'thank you for registering' page (success.aspx) for new users who have completed a 'new user registration form' and wish to use some CSS to make it more attractive. I intend to use these fonts, if possible, as follows: CSS <style type="test/css media="screen, projection"> @font-face { font-family: …

Member Avatar for Blueie
0
133

The End.