199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for old_apache

i developed a system in xampp 1.7.2, and now i run it in xampp 1.8.2 (lastest version) i got this error Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\ hint: in xampp 1.7.2 no error anybody can tell me why?

Member Avatar for old_apache
0
245
Member Avatar for ManishGaikwad

Hi All, Can anybody help me in finding this out? I want to delete csv file using C#.Net? I am using:- File.Delete("E:\TestFolder\filename.csv"); OR if (System.IO.File.Exists("E:\TestFolder\filename.csv")) { System.IO.File.Delete("E:\TestFolder\filename.csv"); } But both above are giving exception as:- Cannot access the file "E:\TestFolder\filename.csv" because it is being used by another process. Test Folder …

Member Avatar for deceptikon
0
502
Member Avatar for trishtren

Hello, Iv been trying to compile a simple opengl / wxwidgets program in c++ on linux mint. However when i try to compile with : g++ MyGLCanvas.cpp MyGLCanvas.h openGLProjectApp.cpp openGLProjectApp.h openGLProjectFrm.cpp openGLProjectFrm.h `wx-config --cxxflags --libs --gl-libs -lGL` -o simpleprogram I get an error message : cannot find -lwx_gtk2u_-lGL-2.8 collect2: error: …

Member Avatar for trishtren
0
136
Member Avatar for Priti_P

I have an array which contains data as: array(name,contact1,e_mail ,reference_type,resume_source,current_employer,highest_degree ,skill_set,track) now i want to create an excel sheet(.xls file). In short I want to generate a reropt for query. Array is nothing but the query result. I want to just put this data rows into excel sheet. How can …

Member Avatar for iamthwee
0
211
Member Avatar for Diogo Martinho

I'm currently having an issue while trying to pass Data to my controller in my MVC application. Here is my code $('#idNumber') .autocomplete( { source: "/@Resources.Global.Lang/Client/AutoComplete?ID=" + $("#idNumber").val() + "&country=" + $("#country").val(), select: function (e, ui) { var temp = $("#idNumber").val(); var temp2 = $("#country").val(); $.ajax({ type: 'POST', url: "/@Resources.Global.Lang/Client/searchClientByID?ID=" …

Member Avatar for iamthwee
0
120
Member Avatar for LD-005

Hi! I have a table with few thousand records on few pages in a simple html table.. I made a search function that works fine apart from one thing... It displays only one result in a table (which is great cause it means it works!).But... I was wondering is there …

Member Avatar for diafol
0
370
Member Avatar for disposable_zero

DynDNS has recently changed their policy so that if you want to maintain your "free" account you have to login to their site at least once every 30 days. I'm trying to write a script that I can kick off on a scheduled task. I'm not very adept at coding. …

Member Avatar for disposable_zero
0
178
Member Avatar for mmcdonald

Hey all, I'm trying to make a link outside of the nav-tabs class, specifically in a paragraph, that changes to another tab on the same page. Granted that I know this requires JS and that I know nothing of JS (Another book i ordered this morning :) ) here is …

Member Avatar for mmcdonald
0
230
Member Avatar for cguan_77

hi guys, is there a way to create in Javascript or Jquery to have a search box and search for the data within the HTML page. In the HTML page, there's a lot of links. Basically the HTML page looks like this: File No 1 - Link to File No. …

Member Avatar for crescendo
0
191
Member Avatar for Shizuo

Heres my code [CODE]import java.applet.Applet; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Order extends Applet implements ActionListener { String password = "pword"; TextField txt1 = new TextField(10); TextField txt2 = new TextField(10); Button btn1 = new Button("Ok"); Button btn2 = new Button("Ok"); Label lbl1 = new Label("Choose Your Order"); …

Member Avatar for JamesCherrill
0
453
Member Avatar for wallet123

why does this thing keeps on showing? what should i do? ![a8bc6b5cc903d7ad96a55f4a95e2f57e](/attachments/large/3/a8bc6b5cc903d7ad96a55f4a95e2f57e.png "a8bc6b5cc903d7ad96a55f4a95e2f57e")

Member Avatar for pritaeas
0
139
Member Avatar for Tony.Z

My code only outputs 0.00 when 'y' is entered. Clearly, I'm a beginner. #include <iostream> #include <iomanip> #include <string> const double ADULTFEE = 18.00, CHILDFEE = 7.50, TRAINFEE = 6.00, BIRDFEE = 5.00; using namespace std; int main () { char reply = ' '; double adultNum = 0, childNum …

Member Avatar for RonalBertogi
0
409
Member Avatar for nutrion

All, I have a personal script that I'm trying to write, and I've run into a small problem. The problem is that I want to be able to support a '-s' argument no matter where the argument is. I also want that argument to be allowed more than once. For …

Member Avatar for Gribouillis
0
208
Member Avatar for Mark Alonzo16

is it possible to use two different databases in vb 6.0? I will use DB A to fetch the records and save it to DB B,,Thanks :) Godbless

Member Avatar for RonalBertogi
0
108
Member Avatar for newbie26

help. all of a sudden, UPLOADING of files in all my forms didnt work. i tried may things as i had googled it. i tested the code, $_FILES seemed to be empty. > free-up /tmp folder > check php.ini; increase post_max_size, upload_max_filesize, memory_limit > restart apache after each configuration > …

Member Avatar for pritaeas
0
174
Member Avatar for bradly.spicer

Hey guys, just a quick one. Got this: $memmath = $memcache + $memfree; $memmath2 = $memmath / $memtotal * 100; $memory = round($memmath2) . '%'; Which finds the % free. How would I find the % used? Been messing with algorithms and I'm screwed in the head now

Member Avatar for bradly.spicer
0
104
Member Avatar for sanbhu2105

hello guys i have created the below codes. the first one is the mysql select statement which works fine when i echo. the second one is an html/css table i created. i am stuck to the point where i can merge both of them so that i get a nice …

Member Avatar for broj1
0
990
Member Avatar for austin.datong

Please I want to know. between ASP and PHP, which is better for web development?

Member Avatar for spiralclick
0
115
Member Avatar for cguan_77

hi guys, I have this code which I get from the link below. http://stackoverflow.com/questions/3826963/php-list-all-files-in-directory Need your help, why the current directory is the directory of the root server. Like i'm using WAMP for windows. The current directory for this code below that is recognizing is: c:\wamp I want the code …

Member Avatar for cguan_77
0
623
Member Avatar for winbala5

i have create a table for analytics purpose month wise. so how can i fetch the all the tables in dynamic. help me how to form the query for fetch the records from multiple tables

Member Avatar for diafol
0
276
Member Avatar for deepak.fugo

Hi All, I want to select rows from dynamic created tables i.e we have tables like web_analytics_mm_yy(ex: web_analytics_06_13, web_analytics_05_13, web_analytics_04_13 and so on) web_analytics -> table name mm_yy -> month_year. I know this can be acheived in PHP by using for loop { // CONSTRUCTING SQL STATEMENT USING // UNION …

Member Avatar for diafol
0
298
Member Avatar for Jahliah

I have two files: apple.html banana.cs apple.html contains a html table. So my question is: Is it possible to write values to the html table in apple.html using banana.cs? Any help is appreciated. Thank you!

Member Avatar for ddanbe
0
96
Member Avatar for Priti_P

Hello All, need one help! How can I send iwo invitation in one mail only? two inivitaion has diffrent time obviously! So how can I do this in PHP? Help is needed urgently :(

Member Avatar for diafol
0
317
Member Avatar for JukesK

firstly I apologise in advance if this has been asked 100 times over.. I've been ambushed by my company i "HAVE" to use an old Mysql 4.1 server something to do with an atiquated system still running that cannot be upgraded for x,y and z reasons. but they want a …

Member Avatar for JukesK
0
204
Member Avatar for bibiki

hey there, in a project I am involved, someone put a test class in main code. eclipse would not find the bug but mvn, not that in eclipse, would report a compile error, and we found the bug. because of that, I wanted to build my new maven project without …

Member Avatar for peter_budo
0
173
Member Avatar for rofln

Hello. I am currently working on a huffman code program for my class. As of right now, I am currently in the development/debugging stage. I've got the whole thing pretty much covered, but I am having trouble with my tree traversal. I am trying to do an inorder traversal but …

Member Avatar for rofln
0
199
Member Avatar for robotakid

Hey there! I'm currently trying to get my first text-adventure-game in python started,and I wanted to import some features that are totally unnecessary. just for the lulz. So,I want to start a timer,that starts when the game starts,and ends,when the player is dead or won the game. I want it …

Member Avatar for Gribouillis
0
729
Member Avatar for skliz

Is it possible to have more than one custom provider in a system. Suppose you have a project that as a blog and a forum rite in the same project. Can we have a Custom Membership provider for the blog. And a Custom Membership provider for the forum. Cos I …

Member Avatar for skliz
0
101
Member Avatar for commando1200

I've recently build my first website (yay!) and when I go to google search it (or bing or yahoo) my website comes up, but underneath where there is normally a brief description there is nothing under mine. Are there meta tags that can help this? Please help. Thanks :)

Member Avatar for commando1200
0
87
Member Avatar for firdousahmad

dear members of daniweb i m new to asp.net can u help me my first querry is what is the difference between ASP and ASP.NET

Member Avatar for BMXDad
0
373
Member Avatar for yavindu

I've created a web app using PHP version 5.12.If I host this in a server which supports PHP version 5.3+ will it be a problem.If so how can I update PHP version.I'm using Apache2triad as my server. Thanks.

Member Avatar for Atli
0
270
Member Avatar for milan.sabic

Hello I have a mysql table with 2 columns, Id and date. How can I insert one more Column "dayname" that will be filled through sql query with day names related to The value in the column "date". Thanks

Member Avatar for milan.sabic
0
78
Member Avatar for mmcdonald

Good'ay all, I'm looking for a method of saving a users session (I.e. automatically logging them back into the same page they logged out from). But I have a few things to consider: 1) Will they logout or will they just close the browser? This means I can't add the …

Member Avatar for mmcdonald
0
178
Member Avatar for Marie22

I have a problem that I've racked my brain with for two weeks without success. I have a table named 'user_answers' containing columns 'user_answer_id' and 'user_name'. Each 'user_name' has 25 rows. I'm trying to compare/count the number of rows where user A and user B match answer_id. SELECT COUNT (*) …

Member Avatar for Marie22
0
677
Member Avatar for yssirhc

Further along in this code I'm trying to access processRow, which is of type DataRow, but I get a RowNotInTableException This row has been removed from a table and does not have any data. In an attempt to figure out when this data is getting deleted, I added a bunch …

Member Avatar for lolafuertes
0
212
Member Avatar for aido89

Hi Please see code below, when I query my db I am getting an unefined variable issue, any ideas? I am quiet new to PHP so please help. mysql_connect("localhost","root",""); mysql_select_db("db"); $id = intval($_GET['id']); $res = "SELECT * FROM table WHERE id=$id"; echo "<table>"; echo "<tr>"; echo "<td>"; echo "<h4>".$row['item']."</h4>"; echo …

Member Avatar for broj1
0
230
Member Avatar for untio

Hi, First, thanks for reading this stuff. I am learning java. I recognize that I am a beginner. Last weekend I have coded a clock. Sourcecode is: import javax.swing.JFrame; import java.util.GregorianCalendar; import java.awt.image.BufferedImage; import java.awt.Canvas; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Color; import java.util.TimerTask; import java.util.Timer; import java.awt.BasicStroke; public …

Member Avatar for untio
0
216
Member Avatar for fmasroor

How can I get the mouse position even when an event hasn't been performed, eg. I haven't clicked or left window, etc. Kind of like mousing over something. I am currently using a class that implements MouseListener, MouseMotionListener for events such as clicking and releasing but I would like a …

Member Avatar for JamesCherrill
0
209
Member Avatar for showman13

Good afternoon.. Was wondering if anyone had a short and simple resolution to implementing Paypal IPN and data validation for a pay now button in a shopping cart. I have developed a shopping cart for our dealers to order their business cards, sales agreements, brochures, etc. that I am trying …

Member Avatar for showman13
0
212
Member Avatar for hardus

Hi, I have a little project to do relating picture boxes in visual c++. I have googled for very long and cant find a solution. I have a picture box with 3 buttons, previous, play pause and next. It involves a timer control which will run and enable the slideshow. …

Member Avatar for tinstaafl
0
728
Member Avatar for M.Waqas Aslam

Hello All ! I want to make my gridview pagination look like this First -prev -- 1 -2 -3 -4 -Next -Last How can i do this , by using options of Mode it is not possible. Best Regards

Member Avatar for BMXDad
0
168
Member Avatar for brandon66

Hello, I was wondering how i would create the Units table for this. Would i just set both Unit_ID and Customer_ID in the Units table as foreign keys or do i need to have a primary key like Customer_Unit_ID then have the two foreign keys? Customers Customer_ID Customer_Full_Name Contact_Name Address_1 …

Member Avatar for brandon66
0
164
Member Avatar for virendra_sharma

Hi, User "A" logged in to your web site and he is using Mozilla firefox browser after his logged in , i have stored some value in Session , now user again logged in from Internet explorer. So what will happen , can i get the session value for this …

Member Avatar for BMXDad
0
114
Member Avatar for yuvjeeth

Hi, How do you get the WebBrowser's Url in a Combobox? I've tried the Url member but it says "Value of type 'System.Windows.Forms.WebBrowser' cannot be converted to 'String'." I also tried the LocationURL member also but it was in VB6 and not VB.NET. Please help me. Thanks in advance

Member Avatar for yuvjeeth
0
176
Member Avatar for mmcdonald

There has got to be a better way of doing this. First of all pay no attention to the lack of validation and error checking. I just want the core of the script to work first. Also, Block 1 and Block 2 execute, Block 3 does not. Whats the best …

Member Avatar for mmcdonald
0
1K
Member Avatar for keishawndavid

<table width="300" border="5"> <tr> <td>FirstName:</td> <td><input type="text" id="fname" name="fname"/></td> </tr> <tr> <td>SurName:</td> <td><input type="text" id="sname" name="sname"/></td> </tr> <tr> <td>Age:</td> <td><input type="text" id="age" name="age"/></td> </tr> <tr> <td><input type="radio" id="gen" name="gen" value="Male"/>Male <input type="radio" id="gen" name="gen" value="Female"/>Female</td> </tr> <tr> <td>Subject:</td> <td><input type="text" id="subject" name="subject"/></td> </tr> <tr> <td>Score:</td> <td><input type="number" id="score" name="score"/></td> </tr> …

Member Avatar for diafol
0
347
Member Avatar for annitaz

#ifndef LOTTO_H #define LOTTO_H #include <QWidget> #include <QLabel> #include <QTextEdit> #include <QPushButton> #include <QGridLayout> class lotto : public QWidget { Q_OBJECT private: //widget data members QLabel* numbersLabel; QTextEdit* numEdit; QPushButton* lotusButton; public slots: int generateLotteryNumbers (); void displayNumbers(); public: lotto(); }; #endif // LOTTO_H #include "lotto.h" #include <stdlib.h> #include <time.h> …

Member Avatar for plenty.groover
0
285
Member Avatar for jspence29

I have this contact form that I use for everything and for some reason it is not working on this one site. If you could visit it and see what is wrong. http://www.spencedesign.netau.net/lori/me.html the php code is here <?php $field_name = $_POST['cf_name']; $field_email = $_POST['cf_email']; $field_message = $_POST['cf_message']; $mail_to = …

Member Avatar for jspence29
0
288
Member Avatar for wallflips

Hello dear DaniWeb users and thanks for reading this thread. Eight months ago I started a forum CMS project, but alone it's very hard to develop fast and quality. My intentions of writing this thread are to make some interest over the developers of this massively huge website and to …

Member Avatar for vanessa001
0
667
Member Avatar for devianleong

Hi, how to make a category tree in php? Recently I've a table called 'category' and inside containt ID,Name,ParentID. Please give me a simple example code to do it. Very appreciated if you could help me to solve this problem.

Member Avatar for pritaeas
0
189

The End.