199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Vielardz

Hello there, I'm new to the community and kinda new to PHP and I'll leave it at that. I am currently developing an E-Leave System for my final project course of my university. I'm having difficulties in designing a form for a leave application which consist of two date picker …

Member Avatar for jmichae3
0
198
Member Avatar for momo219

I hope you guys can help me, basically... I have 2 database tables (note: the [B][U]U & B[/U][/B] here are my particular fields of interest - the id and fk_id are the PK and FK) (main)Table 1 gives the MAIN_TITLES (id, [B][U]TITLE[/U][/B], positioning, created, modified) (list)Table 2 (id, [B][U]FK_ID[/U][/B](= T1 …

Member Avatar for jmichae3
0
129
Member Avatar for iamthesgt

In writing a CGI script, I have come across several errors. As I went through and fixed the errors, I seemed to get all of the syntax errors but as I completed the last ones, a long list of errors came up that I did not understand. In trying to …

Member Avatar for iamthesgt
0
274
Member Avatar for Santi1986
Member Avatar for N1GHTS
0
96
Member Avatar for ben1996123

Hi, I'm making a console application, text based game, and what I need to do is be able to do more than one thing at the same time. For example, I need to be able to make a timer that runs constantly, whilst the game is being played. I also …

Member Avatar for ben1996123
0
121
Member Avatar for rajeesh_rsn

Hi I had a real estate web site and user/visitor can post their property into the database. Now What I need is After 15 days the post will be delete automatically. Please any give me the idea for doing this. "How to do delete using Date ?" Please Help me.. …

Member Avatar for PatrikIden
0
174
Member Avatar for bossman5000

Write a shell script that will accept any number of command line interger parameters a d do the following....I have to use a if statment for the lowest and highest values??? Determind the lowest and highest values? Determind the sum of all parameters entered?

Member Avatar for bossman5000
0
202
Member Avatar for Mojtabarahimi

Hi Actually i try to do this programming but i have some problems. I'll become thank you if help me to fix it. It is a simple Ferry Ticketing System with below conditions : FERRY TICKETING SYSTEM A small ferry company has just purchased a computer for its new automated …

Member Avatar for NormR1
0
2K
Member Avatar for PapaGeek

What project type is best for this application? I have the source for an old SSI emulator for website development. It is written in C using Visual studio 6. I want to convert it to C++ Visual Studio 2008. I started using a Windows Forms Application, but I’m not sure …

Member Avatar for PapaGeek
0
218
Member Avatar for dakerao

Hi I'm really struggling in finding an answer to my problem How do I read a folder and then I want to find a file inside that folder read with specific extensions like .obj or .bmp and to do things to those files with those extensions here is my attempt …

Member Avatar for gusano79
0
192
Member Avatar for TheOnlyRoss

I need to write a quiz program that generates random questions. My group and I determined that we would probably need to make use of the random function, so we did our research and were able to write the following program [CODE] #include<stdio.h> #include<stdlib.h> int main() { int i; int …

Member Avatar for TheOnlyRoss
0
2K
Member Avatar for sidd1994

hi people i am new to this site ... i needed a bit of help i have got an home work to create this :the use will enter 6 random numbers and the computer will print the series :input: 10,5,6,4,3,6 output: 10 5 6 4 3 6 5 1 2 …

Member Avatar for sidd1994
0
101
Member Avatar for VengefulToast

Hi forum, I just need help on my code. I am trying to find all the Armstrong numbers from 100-999(i.e. when the cubes of three digits added together equal the number - 1^3 + 5^3 + 3^3 = 153.) My code works until it gets to line 93, then it …

Member Avatar for skaa
0
687
Member Avatar for RaoxFaello

I'm new at programming, I was asked to create a program to find the GCD (Greatest common divisor) of two numbers my friend helped me create this program. All i am asking is how does it function?, I know how the whole program works (If... If else, While, Looping, Modulo …

Member Avatar for Schol-R-LEA
0
122
Member Avatar for coroshea

My primary objective right now is to get the program to display the following, when the user presses 1 at the main menu: Size of 1st pizza order: Small Topping of 1st pizza order: No topping Size of 2nd pizza order: Small Topping of 2nd pizza order: No topping I …

Member Avatar for Schol-R-LEA
0
171
Member Avatar for pato wlmc

Well, i'm pretty much a newbie into programming, merely because i'm just 15, but i really like informatics ( specially programing ) but i'm not that wealthy so, i can't pay for private teaching, or anything like that. But if you want to, you can, that's what i say. I've …

Member Avatar for Tumlee
0
5K
Member Avatar for subith86

Hi all, Here is a short summary of my piece of code. [code] double availableUnits = calculateAvailableUnits(some arguments); int minimumRequiredUnits = getMinimumRequiredUnits(some arguments); std::cout<<"minimumRequiredUnits = "<<minimumRequiredUnits<<std::endl; //prints 30 std::cout<<"availableUnits = "<<availableUnits<<std::endl; //prints 30 if (availableUnits < minimumRequiredUnits) { //throw exception; } //rest of the code [/code] Even though both variables …

Member Avatar for Tumlee
0
205
Member Avatar for patk570

I have a basic search result page going right now, but i want the code to generate a html link on the search name so I can see all the data associated with the customer name. I have a simple DB set up with Customer Name, Computer type, Model, etc. …

Member Avatar for pritaeas
0
987
Member Avatar for Zssffssz

I want to get unix time in my program, google just brought up how to get time on a unix system (I'm on a dos/windows system). Is there an easy (can fit in less than 20 lines of non-system dependent functions and without any API or WIN32 [unless simple] functions) …

Member Avatar for vijayan121
0
886
Member Avatar for vincezed

Hi all, I am trying to write a code that could show multiply values in a single cell of listview with comma separator... i am using C# with windows application... I have a attachment that show what i am asking for... Thanks in advance vince

Member Avatar for vincezed
0
203
Member Avatar for evanescence

Hi, there :). I have a form named 'Form1' in which I've added a custom control called 'first'. Inside 'first' there's another custom control called 'second'. I want to access and change the properties of 'second' using a function, declared in 'Form1'. Can you, please, tell me how to do …

0
87
Member Avatar for sugumarclick

Hi All, I installed php 5 in my linux pc. My phpinfo() says libXML support active libXML Version 2.6.23 libXML streams enabled But still I cannot use DOMDocument in my script. When I use it in my script, Class 'DOMDocument' not found in /var/www/html/getcontent_3.php Any pointers will be very much …

Member Avatar for cereal
0
946
Member Avatar for Tellalca

Hey, I am developing a game in C#. I have some question marks in my mind about properties. -Should I return reference in a get, or should I clone the reference and return a clone? If I return a reference then in another part of the program, it will be …

Member Avatar for Narue
0
173
Member Avatar for pingpongplaya

I have this assignment for adding two polynomials using operator overloading. I am new to C++ and am having trouble putting the pieces together for the operator overloading portion of the code. I understand how to add two poylnomials together, I just don't know where to begin to put down …

Member Avatar for pingpongplaya
0
4K
Member Avatar for rrlogu

Hi, I have two PHP pages, in first page I have a textbox which will accept the Google Map Embed Link and I want to accept the entered value in the second page and display the corresponding Google Map. But the second page is not receiving the full code, please …

Member Avatar for rrlogu
0
169
Member Avatar for abhinav1986

Hello to all, I have a problem that how can i fetch value from database when i select dropdown list option related information should be show in textbox in php. Value should be retrieve from database. In dropdown list values are also coming from database.

Member Avatar for abhinav1986
0
4K
Member Avatar for Liuhh00

hey everyone on Daniweb, I'm liuhh00 in need of some dire suggestions for my program. I can't seem to solve why my program is not working right after i select my choice for case. The program is suppose to accept any 20 random integers, store them and allow the user …

Member Avatar for D33wakar
0
128
Member Avatar for MDanz

i've done this [code]RewriteRule ^([A-Za-z0-9-]+)/?$ profile.php?user=$1 [L][/code] to make [code]www.example.com/profile.php?user=testing[/code] into [code]www.example.com/testing[/code] What i'd like to do is change.. [code]www.example.com/profile.php?user=testing[/code] into [code]www.example.com/user=testing[/code] What is the RewriteRule to accomplish this? Also if i used $_GET['user'] with the second clean url would it still work?

Member Avatar for hijabihtohai
0
142
Member Avatar for daniel36

I need to implement video streaming in my page with adobve flash player.IN this a user can seek any part part of video.

Member Avatar for daniel36
0
157
Member Avatar for alaa sam

hi everyone I have been programing in c++ for a while now, but I'm asked to write project in c#, so is hard to learn it ?? also I have never wrote a program with interface , so is it possible to write console application then build the interface ? …

Member Avatar for alaa sam
0
123
Member Avatar for kay19

Hello all. Well, I posted about search results and thanks for the help. I modify even more that it includes a select option next to the person's name. This is where I have the trouble. Objective is the person that I search, I can click "select" on that person, and …

Member Avatar for cereal
0
135
Member Avatar for TonyG_cyprus

Hi, I have a mysql database for stock records in the pub I work in. The code below displays the list of items and sizes, what I need is to be able to update several rows by subtracting the number in the qty column from the bal column in the …

Member Avatar for urtrivedi
0
165
Member Avatar for giancan

Dear all, I wrote 2 scripts and at a certain point of the first I would like to run the second, and when the second is done, to go back to the first and continue with it. How can I do it? I put at the desired point of the …

Member Avatar for giancan
0
190
Member Avatar for newbie-java

I have the user enter a string e.g. subject of book using a scanner then a for loop, to print out all the books with the same subject to what the user entered. But I'm having a problem in that it will only print out the first occurrence. For example …

Member Avatar for stultuske
0
249
Member Avatar for softDeveloper

Hi all, I have several sections in a text, and I would like to highlight each section as mouse rolls over.. I've tried to span the fragments of text but it doesn't work in my jsp...any suggestions?? Thanks

Member Avatar for softDeveloper
0
101
Member Avatar for Joey_Brown

Hello Lets say I have these two classes; [CODE] public class BFF{ private String name; private String surname; private Object friendships; }[/CODE] [CODE] public class BFFG<T>{ private String name; private String surname; private T friendships; }[/CODE] Is it possible to create a generic method that could create a Set of …

Member Avatar for JamesCherrill
0
103
Member Avatar for davy_yg

product_edit.php [CODE] <?php // DATA BARU //if ($_REQUEST[mode]=='edit') //{extract ($_REQUEST); //do something //echo $_REQUEST['id']; //will give us the valid id from the previous page. //} $nama = isset($_POST['nama']) ? $_POST['nama'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $harga = isset($_POST['harga']) ? $_POST['harga'] : ''; $gambar = isset($_POST['gambar']) ? …

Member Avatar for davy_yg
0
252
Member Avatar for swink11123

i'm so frustrated about my coding :( now i cant even get it right :( assignment gonna due this coming week T^T and i really need help i hope you guys can really solve my problem for me T^T so here is what i did so far >< [code] import …

Member Avatar for jwenting
0
213
Member Avatar for vaanipala

i'm getting the following errors: Notice 8: Undefined variable: student_info [APP\controllers \motor_developments_controller.php, line 7] i'm getting the same notice in \motor_developments\search.ctp as well. The student_info data in $this->redirect is not getting passed from merry_parents_controller's login function to motor_developments_controller's search function. Does anyone know on why student_info is not getting passed? …

Member Avatar for ThLFR
0
2K
Member Avatar for Limiter

Okay, I am still trying to get used to C++ since I mostly write in Java. I am also new with the two constructor thing mentioned in detail below. Here, I am investigating on writing a class with two constructor. That is, I have heard that you are allowed to …

Member Avatar for Limiter
0
207
Member Avatar for bikashdas

Hello. I stored dateFrom & dateTo as String '11/11/2011' and '11/25/2011' [mm/dd/yyyy] format. now when i fired query as below [code] select (case when pp_send_date_to_district between '11/01/2012' and '11/25/2012' then 'Dec/2012' else 0 end ) as Months, sum(case when pp_send_date_to_district between '11/01/2012' and '11/25/2012' then 1 else 0 end ) …

Member Avatar for smantscheff
0
193
Member Avatar for RM@Bowdoin

I'm trying to find degrees of separation between any two actors in a movie database. I succeed when I reach my base case, which is 1 degree of separation (i.e. actor is in same movie as another actor) but I use recursion to find all other degrees of separation, and …

Member Avatar for Gribouillis
0
2K
Member Avatar for tanha

Hello everyone, I am creating UDF using CREATE FUNCTION statement. The question is how can I make them globally accessible to all the databases, rather than specific database? Regards,

Member Avatar for smantscheff
0
148
Member Avatar for eawedat

hey all,, I have this picture to be more clear: [URL="http://img846.imageshack.us/img846/5996/95028490.png"]http://img846.imageshack.us/img846/5996/95028490.png[/URL] My idea is when I paste (ctrl+v) for example this number : 4111111111111111 it would automatically paste them in textboxes one by one in order! so txtBox1 will contain : 4111 txtBox2 : 1111 txtBox3 : 1111 txtBox4 : …

Member Avatar for GeekByChoiCe
0
584
Member Avatar for em_dai_kho

I want to design a form to select the products for each step, such as select products, then page the next page to select accessories. My english is not good, so if you do not understand, this is what I want to do [url]http://www.vbcover.com/icart.php?do=order&productid=53[/url] Here is my form: [CODE]<form action="cart.php" …

Member Avatar for simplypixie
0
124
Member Avatar for davy_yg

Hi, I wonder how to create a search box like the following website: [URL="http://www.ferron-pharma.com/?q=en"]http://www.ferron-pharma.com/?q=en[/URL] The search box is on top right corner. Is it using jquery ? Besides the codes, how to create the outlooks ?

Member Avatar for davy_yg
0
135
Member Avatar for mole116

hi, i have a question in XPATH. i am reading from XML file and i would like to know how can i extract a name from this line: <Name><![CDATAEdi></Name> lets say i want to get Dani? my c# query is like this: strExpression = "A/B/C/D"; and i also would like …

Member Avatar for mrame
0
157
Member Avatar for kothaisaravan

Am using VB.NET with Ms Access. It worked fine before changing the field name in access database. After changing the field name i got an syntax error in catch block. And also there is no reserved words. [B]"Syntax Error in INSERT INTO Statement"[/B] Here is my coding str = "Insert …

Member Avatar for kothaisaravan
0
178
Member Avatar for Unethikal

So I have three files all in the same folder: dtime.h, dtime.cpp, and testapp.cpp dtime.h: [CODE] //This is the header file dtime.h. This is the interface for the class DigitalTime. //Values of this type are times of day. The values are input and output in //24 hour notation as in …

Member Avatar for WaltP
0
285
Member Avatar for praveendasika
Member Avatar for fawadkhalil
0
184

The End.