199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for xjshiya

Hello! I have a code here that has a dropdown box which is populated with data from mysql table, itinerary to be spicific (e.g. Tokyo- London, London - Tokyo, etc.). I also have a textbox that displays the block time (no. of hours required to travel a specific itinerary) of …

Member Avatar for xjshiya
0
1K
Member Avatar for crag0

I am hoping someone might point me in the right direction. I am still very newbie with coding and python. I am currently trying to open a zip file and I keep getting "file is not a zip file". I have checked using “file” in terminal and it shows as …

Member Avatar for crag0
0
1K
Member Avatar for bLuEmEzzy

I'm doing a verify login in php and when i put my username and password correctly. It prompts 'Incorrect UserName Password' ?php $user = $_POST ['txtuname']; $pass = $_POST ['txtpass']; $encryptpass=md5($pass); // used mysql_connect_db instead of mysql_connect mysql_connect("localhost", "root", "") or die(mysql_error()); // This line is missing mysql_select_db("intranet") or die(mysql_error()); …

Member Avatar for bLuEmEzzy
0
3K
Member Avatar for xjshiya

Hi! I have a php code that generates an excel file that is populated with mysql data of course through a mysql_query.. Here it is.. <?php require("aacfs.php"); header("Content-type: application/ms-excel"); header("Content-Disposition: attachment; filename=Reservation Summary_sortbydate.xls"); header("Pragma: no-cache"); header("Expires: 0"); $head1="Ayala Aviation Corporation"; $head2="RESERVATION SUMMARY"; $head3="For the period ___________"; $heads="$head1\n$head2\n$head3\n"; $query = "select …

Member Avatar for xjshiya
0
219
Member Avatar for phpHelp

Hi, I need to display testimonials in a sliding way (one after another) in my website(drupal 6)....can anybody help me with this requirement???? Thank you

Member Avatar for phpHelp
0
270
Member Avatar for Gé48

Hi all, I build a scrolling text that starts running when I start up my Computer. I can stop it by clicking on it, no problem. Is it also possible to stop it when I start up another programm ?

Member Avatar for Gé48
0
200
Member Avatar for yosia.tama

I want to build an application to compute operations research with linear programming simplex method using Visual Basic 6.0 I need anybody help to finish my project. sample program will be helpfull. thanks verry much I say to anybody who want to help me.

Member Avatar for Nutster
0
877
Member Avatar for nagatron

Hello to all vb programmers. I need a little help on how to run a dos command line using visual basic. I have this dos command line: C:\Documents and Settings\nagatron> echo Main-Class: ProgressBarStep >manifest.txt where it create a manifest.txt file inside the directory "C:\Documents and Settings\nagatron". How can I execute …

Member Avatar for Nutster
0
14K
Member Avatar for jackfusion

Not to sure what to do say but here it goes. I am trying to test when a certain part of my page is in focus to display a message box. Here is the page [Click Here](http://yftg.ca/Untitled-5.html). I would like this code to running at all times when on this …

Member Avatar for jackfusion
0
83
Member Avatar for razree

Hi all I have a quite complex problem and I don't exactly know how to "step into it" so I really need your help. Little briefing: lets say I go on a business trip. My company gives me up to 2 advances in different currencys (but there also could be …

Member Avatar for Nutster
0
175
Member Avatar for vishalonne

My code is working in IE 8 but not working properly in FireFox and Google Chrome. Actually by JQuery I am loading html page in div in same page this working properly in IE but in FF and in GC page opens but not in div it open like target_self …

Member Avatar for Atli
0
233
Member Avatar for PhilEaton

Here is my code for this page: phileaton.est-a-la-masion.com/Day Care/contact.htm <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <META NAME="description" CONTENT="Looking for an affordable daycare for your child? Are you worried that your precious one is not learning basic skills? If so, this …

Member Avatar for PhilEaton
0
207
Member Avatar for akosijansel

I'm looking for a really good 3D and/or Game engine to work with? I currently use VB.net, :) Thanks in advance.

Member Avatar for jsherm101
0
232
Member Avatar for hedwards

Hi, so im writting a Python program, and ive hit a spot of bother "TypeError: unsupported operand type(s) for %: 'list' and 'int'" #if n is 1 the sequence ends #if n is even the next n of the sequence = n/2 #if n is odd then the next n …

Member Avatar for hughesadam_87
0
180
Member Avatar for ckarlss0n

Hello! This is my first post here, hehe. Seems to be a great site. Anyways, I'm quite new in PHP, but it's fun and I think I'm learning quite fast :) There's appeared a problem for me now though, and I can't see what the problem is...? I have made …

Member Avatar for Atli
0
236
Member Avatar for klemme

I am about to create a video upload function to a cms. But havent dealt with video and video player functionality before. So my question is what file extensions i should tjeck for under validation in the upload script? Are the a video player which is working in all browsers, …

Member Avatar for nikesh.yadav
0
164
Member Avatar for ali3011

today i was working on a php script that uploads the images and makes a thumbnails out of them.. well, i had the idea, i wrote the outline then i finished the script i had a couple of syntax errors and i fixed them,, but still there's some thing wrong …

Member Avatar for hr.Ziggurat
0
245
Member Avatar for extjac

Hello, i have this code to the insert: class test { function __construct() { $this->table = 'testtable'; } public function insert($values = array() ) { foreach ($values as $field => $v) { $data[] = ':' . $field; } $data = implode(',', $data); $fields = implode(',', array_keys($values)); $sql = " INSERT …

Member Avatar for cereal
0
124
Member Avatar for CriticalError

I got SQL Server Compact I got a database called Pages and a row called pName the row contains page names, but some are upper-case I now want to make all these lowercase. So there is a page like Downloads, I want to change it to downloads is this possible …

Member Avatar for BitBlt
0
93
Member Avatar for mrclark

I am working on sessioning scripts however my cookies are not carrying over from page to page. I include the session script on every page which checks the $_COOKIE['session'] cookie, and if set, keeps the session data, if not, creates a guest session and sets a cookie with a new …

Member Avatar for mrclark
0
104
Member Avatar for toyotajon93

Hey guys, I've done alot of work coding a script that works great in Python. I hope to move it into java then hopefully into an android app. Any advice on getting started? I have searched and searched and cannot really find a good way to do this. I had …

Member Avatar for M.S.
0
152
Member Avatar for emmanuell

what programming language can i use so that i make my files on a cd not to be copied?(ie.copy protect?).please help

Member Avatar for np complete
0
147
Member Avatar for PinoyDev

Good day. I have this running query that I want to pivot the sum of CurrentBalance where in Monthdate =[2011-11-30],[2012-12-31]...etc. But everytime I try to put the Pivot, it cannot detect the CurrentBalance column alias. Here is my query so far. use MFR_Merchandise go declare @MonthColumns as nvarchar(max) declare @SQLtext …

Member Avatar for BitBlt
0
201
Member Avatar for vaayaa1

There's a lot of discusion of web services in the industry. Have any one used web services using php. I want to learn web services using php.

Member Avatar for garima.nanda.50
0
90
Member Avatar for didi00

My Borland C++ vresion 3.1 isn't working. It works with simpler codes, but it doesn't works with graphics and animations. Is there any settings that will make Borland work? I'm using Windows 7 but the same happened with Vista and XP also, so help? Please? Thank you all!!!

Member Avatar for gibson.elliot.5
0
254
Member Avatar for jefferson9

Say i have a complete mp3 file with 10 seconds of silence at the end of the track. How can i chop off the X seconds from the end?

Member Avatar for jefferson9
0
105
Member Avatar for coolikedat99

I decided to get rid of windows xp and switch over to Ubuntu entirely. In order to do so I had to uninstall XP and Ubuntu so I could start over on my computer. I did this, and everything has been working better. Except for the most important part: my …

Member Avatar for np complete
0
233
Member Avatar for I_m_rude

hi.. can anybody please tell me that how can i print the execution time for my code ? Actually, what exaclty i want is that my program should also print the time which is elapsed while executing it or for maupulating any i/p. any pre-defined or user-defind function which can …

Member Avatar for I_m_rude
0
107
Member Avatar for swathys

Hi. i have an application which send email upon submission of the loan application. if the recepient email ID is yahoo or hotmail i dont have any problem but when the email ID is **gmail. it treated it as spam.** How do i get rid of this. Please help me …

Member Avatar for Reverend Jim
0
153
Member Avatar for Gus_19

Right now if a user closes the form (either by clicking 'X' or chosing exit from a menu option) and changes are detected in the form, a messagebox will display asking the user if they would like to save any changes. The user has the option of clicking "yes, no …

Member Avatar for Reverend Jim
0
398
Member Avatar for extjac

Hello, i wanted to know what you guys use with PDO. Do you use ->fetchAll() or ->fetch() + while based on some reading i have done, it seems that PDO->fetchAll() is faster but uses more momory...

Member Avatar for pritaeas
0
252
Member Avatar for gemanthony.gonzales

#include <stdio.h> #include <stdio.h> #include <stdlib.h> #define p printf #define s scanf int total( int q, int w); void gemar(void); void gem(void); int setfunction (int *team1score,int *team2score); static int team1score_set1 ; static int counter1_set1 = 0; static int team2score_set1 ; static int counter2_set1 = 0; static int team1score_set2 ; static …

Member Avatar for I_m_rude
0
215
Member Avatar for manishanibhwani

can anyone tell the output of following code and also explain it #include<stdio.h> #include<stdlib.h> union employee { char name[15]; int age; float salary; }; const union employee e1; int main() { strcpy(e1.name, "K"); printf("%s %d %f", e1.name, e1.age, e1.salary); return 0; }

Member Avatar for I_m_rude
0
109
Member Avatar for Metobu

Hi. I would like to convert empty string "" to zero in C#. The data is stored in (string) arrays. There is jagged array which contains all 5 string arrays. Could someone help? // Jagged array intialization string[][] all_prices = new string[5][]; all_prices[0] = nordpool; all_prices[1] = tvh; all_prices[2] = …

Member Avatar for nmaillet
0
1K
Member Avatar for ND2

I just started taking Logic and design and Im not understanding the whole concept. I try writing it but know that its wrong and im leaving to many things out and dont know what to write or how to write it. My book tells me "this is how its done" …

Member Avatar for stuart.mwalo
0
184
Member Avatar for Manu Krrish

Hi , I am new to Dani Web after browsing so many sites i have found this site as usefull. Saw replied to all queries that posted here.In the same Hope i am posting my Query here. I want to automate a webpage using excel macros.The issues i am facing …

Member Avatar for Manu Krrish
0
150
Member Avatar for Newten

I am trying to write a script to grab images from my CCD camera. I can already do this with C++ usung VFW and OpenGL, but I want to find a way to do it with Perl. It needs to be able to run on windows though. I am pretty …

Member Avatar for vikitech
0
204
Member Avatar for DaveTran

I have two classes. One main Game class and an Entity class that needs to point to the Game class so it can call its various functions # Entity.h # class Game; class Entity { public: Entity(Game *game); ~Entity(void); void Draw(float dt); void Update(float dt); protected: Game *m_game; // Missing …

Member Avatar for JasonHippy
0
409
Member Avatar for sathya88

1.in my project...if user want to exit from the application... it first check yes no cancel option,if the user want to choose ,no or cancel button .. the application is not closed..but my problem is what code placed for no or cancel button...to prevent closing window... code is...[CODE] class wl …

Member Avatar for hoon85
0
3K
Member Avatar for TMacFarlane

Hi! I referred to this forum thread when trying to build a MySQL search query for my site: http://www.daniweb.com/web-development/databases/mysql/threads/53025/mysql-select-rows-in-a-date-range But I just keep getting this syntax error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to …

Member Avatar for smantscheff
0
246
Member Avatar for asadullah

Assumption: 32-bit Machine. Here I am going to explain How Virtual table, Virtual pointer for Virtual functions are internally working. First we have understand memory layout. Example 1: How the class's memory layout Code: cpp [code=cpp] class Test { public: int data1; int data2; int fun1(); }; int main() { …

Member Avatar for kresimir
0
3K
Member Avatar for solomon_13000

I created an EJB project using Spring toolkit Suite. The JDK is version 7 and the JBOSS application server version 7. However I keep getting the following error message: 17:57:35,015 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA 17:57:35,140 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 17:57:35,202 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final …

0
122
Member Avatar for Utharan

Hi, I have 6 radio buttons. When I select the radiobutton I need to get the value of the radiobuttons to a php variable. Please help me. I'm new to php. Thank you in advance

Member Avatar for Utharan
0
99
Member Avatar for george.badole

Hi, I used fpdf lib to print pdf. And I want my php class be integrate in fpdf? Can anyone help me?

Member Avatar for george.badole
0
404
Member Avatar for bLuEmEzzy
Member Avatar for willjohn.wrar393

Hi I want to Clarify what is the Problem of this code? if you feel free to answer Thanks alot... Private Sub addakoordr_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles addakoordr.Click Dim tr As String = tID.Text Dim qo As String = tquanOrder.Text Dim arw As String = cdateselec.Text …

Member Avatar for daniel955
0
106
Member Avatar for akuvidz

as the thread name $query2= "alter table employee_leave_quota auto_increment= LAST_INSERT_ID()"; That is my query to reset auto_increment in my table, but it show error.. anybody know how to do it?

Member Avatar for pritaeas
0
170
Member Avatar for khair.ullah

ASALAM ALIKUM Dear !... I'm doing INVENTORY PROJECT... I'm using Ms sql 2005 as BACK-END... My tables are PURCHASE and SALES... In PURCHASE table, fields are CODE(primary key), PRICE, DATE, TOTAL, QTY... when I'm entering datas in form and when i click submit, the data stored on database... but when …

Member Avatar for daniel955
0
232
Member Avatar for Xcelled194

I've noticed an "awkward" issue in VB.... how to escape from things like nested loops or nested IFs, where the standard Exit Loop, Exit For, or Exit If simply starts a new iteration. For example, assume we have a 3-dimensional array (TheArray) that we want to brute-force test to see …

Member Avatar for basharyassin
0
358
Member Avatar for ngocham2001

Hi every one, I have 3 table table temp: Name | Description A | Description A B | Description B C | Description C table temp1: Name | order A | 5 A | 4 B | 2 C | 3 table temp2: Name | Payment A | 3 B …

Member Avatar for ngocham2001
0
210

The End.