199,114 Archived Topics
Remove Filter ![]() | |
Hi everyone, I am working on a site, just one page with all the information on it. What happens now is when I scroll down the page, and I get past the navbar, it gets fixed to the top like I want. Its all working fine, but my question is, … | |
struggling with this update in PDO, i have hacked away at it in frustration, but i cannot see my error | |
![]() | Table 'user' fields: UserID* (Primary Key) Address FirstName LastName Email UserName Password UserLevel RegDate Table 'transaction' fields: transactionID* (Primary Key) MonthID UserID (Foreign Key) UserName transactionDate transactionType transactionAmount OpeningBalance Balance Desired output table (for the logged user): transactionDate transactionType transactionAmount OpeningBalance Balance Advance recordset details is like this : <?php … ![]() |
I'm playing with all the cstring and string functions, getting familliar with how they work. Below I have a function call to strcata, and all I'm doing is declaring a string within the function, I'm not even using it with anything other than cout. Everytime I run the code it … | |
Hi everyone. I wondered whether you could help me. Basically i have a list of items in a table. Each item will have a hyperlink on it and i would like it to change the contents of an iframe i have on the page - which i guess means changing … | |
I am am experience Mainframe programmer, but new to SQL-Server & learning vb.net so I realise that this is probably very basic ... I have a DataTable called MailTypes which contains 2 Columns, the ID & the Name. I have a DataTable called Leagues which contains a lot of Columns, … | |
Hello, I wrote a library for arbitrary precision arithmetic recently and spent a long time implementing efficient multiplication algorithms. Now I am looking to see if it is possible for me to optimize anywhere else. One place that I thought should be more optimizeable is my division algorithm. Right now … | |
Here is online demo - http://cs-bg.info/news/archive/ I want to show my news like that. (like archive for each year) I want to work with epoch time. Thanks for any help. ![]() | |
Hi, I have some deals with this. I can't make this run. It says that "Microsoft.ACE.OLEDB 12.0 is not registered on the local machine". I tried with diferent providers, but still not running. I tried installing the Access Database Engine Driver, and the application seems that don't want to run. … | |
i just want to enter the world of programming but i didn't know from what i'm starting i took a short look in C also C++ and Java,i just want to get into this nice world | |
hello every daniweb friend. i have a javascript code which check if a field is empty `onSubmit` it alert a error line 15 but i don't it to alert i want to tag this link to open this html link `<a href="#login-box" class="login-window">Login / Sign In</a>` and i don't have … | |
Hi, i did create the following class in my Models folder and i create the Styles controller, everuthing is fine... but muy problem is the following. When i clicK on the link style i got my list of styles and when i click in one style i got the idin … | |
Hello guys. I've seen another thread with this name but it was in C i'm interested to do it in C# okay the program how I can add the digits of a number. Could you give me an idea? **I have source, but i need another source with the same … | |
I was wondering, how do I make it so users can login. I have an SQL database, I have a VPS, I have a VPS. I just need help setting it up and adding an account.. This is the login form: Public Class Form1 Private Sub FlatToggle1_CheckedChanged(sender As Object) End … | |
Hello good day. I have an idea for my program. I have a Table in my display. I want to add a Component to - let's say - the right of my screen. When I click this component it should display to me buttons and other components that I have … | |
Hi, I have written some software, one aspect of which is a TCP client. It sends messages to a designated address and port and receives a number of messages in response. This is all working perfectly on some PCs, but on others, it loses connection. I have done some digging … | |
I am trying to make the notification Led blink in a certain way and when i run the app from Eclipse with my phone connected it works as expected, but when i run it directly from my phone it doesn't work as it should (showing the colors not respecting the … | |
I am very new to visual basic 2010 and am really struggling with it. My assignment is a fat gram calculator and the example is there are 200 calories in the food and there are 8 grams of fat in the food. The calculator gives the percentage of calories that … | |
I am learning MVC and i would love to do my web site with different languages... if the site come from my domain mysite.fr i wanna show french, if comes from mysite.it i wanna show italian.. etc etc So, i did all what the e tutorial asked me to do … | |
Alright, so I am thinking about an idea of a useless application, however it is interesting me. A 3D "perspective" of color. I know, confusing. But think of it this way: Movement given an x, y, z coordinate. Color given r, b, g = x, y, z I was also … | |
I am wrapping the Windows API CreateProcess. Here is my code. int __stdcall _Execute(LPTSTR program, LPTSTR workingdir, WORD show){ // Check if program has content if (!program || !*program){ MessageBox(NULL, L"You must provide path to executable", L"Error", MB_OK); return 0; } // Create buffers and copy program param to szCmd … | |
ei can u please help me to do a program that accepts username and passaword using java JFrame... | |
I have a Rad gridview that databinds and popluates date according to a seacrh. There is a linkbutton that i want to be able to change on column from saying false to true or vice-versa. Please help protected void rgUsers_ItemCreated(object sender, GridItemEventArgs e) { if (e.Item is GridDataItem) { GridDataItem … | |
I want to pass an array from one cpp file to another. first: void wrapper(float **A,int N){ N=2; printf("Allocating Matrices\n"); *A = (float*)malloc(N*N*sizeof(float)); for(int i = 0; i < N; ++i){ for (int j=0;j<N;j++){ *A[j+i*N] = i; } } for(int i = 0; i < N; ++i) { for (int … | |
Is there a program for mac that i can use to connect to my mysql Database instead of opening Fire fox and going in and logging in?? | |
I am new to VB, and I am trying to add data to an array from a textbox and have the data display in a listbox on a different form. Can any body give me some generic examples. Thank you in advance for your time. JLJ | |
hai .... i want to upload the image from my system to database without using fileupload , i mean i want to upload the image from specific path for example ("c:\project\image\winter.jpg").. i use the asp.net C#... plz reply for my question ,if any one know's ........ | |
This is the code I have and I am trying to get rid of the error but there is always an error after error even with me looking it up: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lesson02 { class Rectangle { private double length; private … | |
I have an assignment for my cps class in which we have to create a program that will import a file from a server that has a bunch of numbers in it. The program is suppose to take those numbers, sort them, give the minimum and maximum value, average, median, … | |
dear all, I just want to know how can i open any jsp page of my project from swing button of jframe. Do i have to use URL class and its methods or i can directly pass localhost address and run it. please reply. Thank you. | |
![]() | Hello, im trying to make a mulitple choice quiz in for android. Im a newbie at this and i am having some difficulites with the logic. As you can see what i have done below is create two arrays, questions and answers. The first option within each of arrays of … |
I had a technical interview last week for a Java Software Engineer position. They asked some pretty basic questions such as: 1) What's the difference between an abstract class and an interface? Which do you use more? 2) How does garbage collection work in Java? 3) What is the difference … | |
Dear all, I am making MS Access database connection with my java program. As i know that in Connection Following things are required: Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection("jdbc:odbc:DSNname","Username","password"); Now i have created System DSN in Odbc data connection and also i have attached database with that DSN. While creating DSN, … | |
<?php $query=mysql_query("SELECT model_no,images1 FROM nokia"); echo"<div>"; while ($img = mysql_fetch_array($query)) { echo $img[0]; echo "<img src = cms/pages/images/".$img[1].">"; } echo"</div>"; ?> what is actually wrong in my code.. its not displaying images($img[1]) but it displays the content 'model_no' ie. $img[0]. plz any sugesstion would be greatly helpful... | |
Hello, i have the following column in mysql table. number | name 123 | ABC XYZ 456 | DEF QRS hre is my mysql query: $query = "SELECT name, extension FROM users ORDER BY name ASC"; $resultID = mysql_query($query, $linkID) or die("Data not found."); $xml_output = "<?xml version=\"1.0\"?>\n"; $xml_output .= … | |
I need a help in coding this program... write a C++ program to read a set of n numbers where n is defined by the user and print the contents of array in the reverse order using class template, numbers should include int and double data types... please reply soon.... | |
Hi to all,i have to make project with the classes.Can anyone suggest the topic for the project?Or show the idea.Thank you. | |
Assignment is as follows: **Create a GUI-based program to accept name of donor, name of charity, and amount of pledge from the user. Display a list of entries in a JTextArea or JTable. Submit the .java source file or files for this program. Do not use any package statements in … | |
![]() | So, I checked the first 5 pages and couldn't find anything like what I'm asking. When a user registers on my site, it automatically creates a new directory and uploads a picture of their choice, to the directory. When the user logs in, the webpage shows their photo, taken from … ![]() |
![]() | SELECT transactions.UserName, transactions.transactionDate, transactions.transactionType, transactions.transactionAmount, transactions.OpeningBalance, transactions.EndBalance, users.FirstName, transactions.transactionID FROM transactions, users WHERE users.UserName = transactions.UserName AND users.UserName = $_SESSION (['MM_Username' ]) ORDER BY transactions.UserName, transactions.transactionID DESC I am getting syntax error with this code. can anyone help please? |
[code=Java] package newuser; import java.io.BufferedReader; import java.io.FileReader; public class Main implements ServerConstants { public static void main(String[] args) { BufferedReader lnr = null; String line = null; int N=1000; int totalRecords = 0; String [][] array = new String[N][]; try { lnr = new BufferedReader (new FileReader("LoginData.txt")); for (line = … | |
Hello guys would someone please help me fix my program. I have two classes the one is named GetValues and the other one is SampleReturn. The GetValues class has an error illegal start of expression in the line `public static String kuhaName()` . The code is below. GetValues class codes: … | |
I have this: dic = {'ál':1, 'él':2} string = "ÉL" number=dic[string.lower()] and it's giving me a KeyError. I realize then that 'ÉL'.lower() is giving me 'Él', i.e. it is not affecting the É at all because some weird Python 2.x encoding issue. Can somebody help me please? I can't tell … | |
When i reload my registration page, duplicate data gets entered in to database ...should i clear cookies..any solution | |
I'm writing a program that works with two sets of numbers put into arrays. The program uses overloaded + and - operators. Array one = 2 7 4 2 9 7 Array two = 2 9 8 9 1 10 12 The output should be: For +, New Array = … | |
Hello, I uploaded some pictures on my website and i want to watermark them on preview. the watermark file is <?php // Load the stamp and the photo to apply the watermark to $stamp = imagecreatefrompng('images/watermark.png'); $im = imagecreatefromjpeg('imgs/products/picture.jpg'); //needs to be dynamic instead of static // Set the margins … ![]() | |
hello friends. i have a function in where i move all table content to another table and delete from preview table, the `DELETE` DON'T work i can't understund why but here is my code i need your helps friends all your reply count for me. $query_suppr_panier = sprintf ("DELETE FROM … | |
Hello all, I get the following error when hitting submit in my form to post to the spreadsheet: > Fatal error: Uncaught exception 'DOMException' with message 'Namespace Error' in /home/pedrum/public_html/Buzz25/Zend/Gdata/App/Base.php:220 Stack trace: #0 /home/pedrum/public_html/Buzz25/Zend/Gdata/App/Base.php(220): DOMDocument->createElementNS('http://schemas....', 'gsx:') #1 /home/pedrum/public_html/Buzz25/Zend/Gdata/Spreadsheets/Extension/Custom.php(64): Zend_Gdata_App_Base->getDOM(Object(DOMDocument), 1, NULL) #2 /home/pedrum/public_html/Buzz25/Zend/Gdata/Spreadsheets/ListEntry.php(77): Zend_Gdata_Spreadsheets_Extension_Custom->getDOM(Object(DOMDocument)) #3 /home/pedrum/public_html/Buzz25/Zend/Gdata/App/Base.php(329): Zend_Gdata_Spreadsheets_ListEntry->getDOM() #4 /home/pedrum/public_html/Buzz25/Zend/Gdata/Spreadsheets.php(336): Zend_Gdata_App_Base->saveXML() … | |
a1 = 1 a2 = 2 a3 = 3 ....... a10000 = 10000 So, I want to create a function that will autoassign names to numbers. In the the code above, for x in range (desired range): a(quantity of x) = x how do i get my code to call … |
The End.