199,113 Archived Topics
Remove Filter ![]() | |
Hey everyone, So I know you all are probably getting tired me posting questions and are wanting me to look this up. I have looked and searched to my wits end.. I want to be able to gather my post id's (pid)'s and my album id's from different tables to … | |
HI, Is it possible to be able to upload a load of images in one go from a camera, using there file name and saving them in to my database? I have created a table called images, with fields, image_num and image. ![]() | |
I have an odd problem with a Java-based Internet program that I would like to use on a regular basis on my Windows XP computer. I have not done Java programming, so I would be interested to know if anyone has ideas about what might be happening. The program runs … | |
Hi guys, With Python, I am using genfromtxt (from numpy) to read in a text file into an array: `y = np.genfromtxt("1400list.txt", dtype=[('mystring','S20'),('myfloat','float')])` Which works okay, except it doesn't seem to read my 2 columns into a 2D array. I am getting: [('string001', 123.0),('string002', 456.0),('string002', 789.0)] But I think would … | |
I have a small database of about 30 names that are all unique. The variable $member equals "Ann" but will change depending on the person to search for. I need to be able to return the exact match of the person's first name. I have tried many combinations of the … | |
Hello forum, I believe that i have the design problem that i need to discuss about. Intersectable is the super-class; Triangle and Sphere are the sub-classes of the Intersectable i believe that you already realized class inheritance structure. I have the following pure virtual functions declared inside the INTERSECTABLE virtual … | |
Hi Guys I am currently setting up a cookie message to tell users of the site that cookies are being used (EU cookie law) I have managed to get this working on all desktop browsers, however I am having issues with mobile device ie iPhone, iPad, Galaxy tab etc I … ![]() | |
Type the following lines and save them as a.php <html> <body> <? echo "hello world"; ?> </body> </html> ![]() | |
Here is my issue, I am really perplexed when it comes to string parsing and manipulation in php. I am writing a database driven inventory using mysql and php. One of the issues is that there are multiple people who are able (by company rule) to add to this database. … | |
I'm trying to read from a text file. Pretty simple, right? I guess not. It gives me this error message: Debug Assertion Failed! Program: F:\Debug\lab1431.exe File: fscanf.c Expression: stream != NULL For information on how your program can cause assertion failure, see the Visual C++ documentation on asserts. [code] #include … | |
Hello! We have an older site that was recenlty scanned and shown to be vulnerable to cross-site scripting and SQl injection. It was suggested that we modify our code to use prepared statements/PDO. They even offered this as a sample snippit of code: $user = 'xxxx'; $pass = 'xxxxx'; $dbh … | |
i have a script which will fetch content from a website, what i wanna do is modify all that links. Suppose: $html = str_get_html('<h2 class="r"><a class="l" href="http://www.example.com/2009/07/page.html" onmousedown="return curwt(this, 'http://www.example.com/2009/07/page.html')">SEO Result Boost <b> </b></a></h2>'); so, is it possible to modify or rewrite it in this way> <h2 class="r"><a class="l" href="http://www.site.com?http://www.example.com/2009/07/page.html">SEO … | |
I have a variable variable defined, suppose: $array[1] = Hello World; $i = 1; ${"name" . $i} = $array[1]; I then have the following: $val1 = "Hello World"; However when I try to compare $name1 to $val1, they are never equal. I've tried all of the following: if ($name1 == … | |
i want to put likes button in my website, yet its running on LOCALHOST (IIS). e.g FACEBOOK like button in showing likes , google+ button etc. how ? | |
Hello everyone I'm having a bit of trouble with C. Its been awhile and I was wondering if I'm on the right track I'm trying to read from a file and manipulate the data with a structure I created. The problem is the first two values in the text document … | |
Hello all. I have a simple quoting system I am developing for a project, and need help with how to query rates. There are two tables, one for zips (with state, county, zip code, and a zip lookup code associated with each zip), and one for rate data (company name, … | |
hello everyone I really need help so I have to make functions that find vowels, digits and uppercase and lowercase letters from a sentence inputted. So i was able to do it all in main but i cant seem to make the new program work with the functions properly, it … | |
I am trying to use function reference, to return values from an array inside an function. I need to echo info to 8 different places on a page, and was trying to do this by using a refernce. But havent much exp. in that, so as of now, I am … | |
What I'm trying to acomplish is to have a list of years in a <form> with a checkbox for each year and let the user select what year applies to the post such as: 2008, 2009, 2012 (they might select 4 out of 5 years, not just one year). Then … | |
So, maybe this is a concept out of the domain of programming... but I think not. Lets say we have a 400MB video file that we want to either send somewhere, or stream. Can we use python to break it into binary, break the binary into chunks, and then send … | |
I'm a beginning programmer and am stumped on the last part of this assignment. I can't seem to figure out how to have the Letter Grade show. Here's what I have so far, any help as to where I'm going wrong would be much appreciated!! import java.util.Scanner; public class Lab1 … | |
So, I'm merely just a student learning and all that. The assignment has four components: write a bubble sort function with test program, write a quick sort function with a test program, write a shell sort function with a test program, then finally write a main program. For each compare … | |
I was coding up a class template a little while ago and I came across an error while debugging: error: invalid conversion from âstd::basic_string<char>*â to âcharâ [-fpermissive] It was in the code template <typename T> void ArrayList<T>::insert(const T& x, unsigned int i) { if (i >= m_max) cout << endl … | |
public static void drawIndentedLine (int spaces, String begin, int n, String middle, String end) It should print a single line, terminated with a newline, that begins with the specified number of spaces, followed by the begin string, followed by n copies of the middle string, followed by the end string. … | |
Greetings, I want to add some numbers to a combobox, i want the numbers to be from 1-100 but instead of writing example combobox1.items.addrange({1, 2, 3, 4, 5, etc, 100}) how can i else write it ? :) TY | |
Hi all, I am new to Ext JS, I have tried 'drag and drop' and it is working fine when i drag rows. What I am trying now is dragging a row (a field from MySQL) from left grid and dropping it on right grid that gives data from database … | |
Ok what I mean is if i build say a client and server side (network) program in c++ on linux. Will i be able to run it on windows? i know that linux creates .o files and those are executed. were windows create .exe files and thos are executed. I … | |
Im trying to write a c# programme that will generate a random number, check if this number is in my array, if it is, repeat generate number step, else insert this number into slot [i] of my array. Here is my code so far - Any help would be greatly … | |
Hi all i am doing a littl chat page for a internal site, but what i really whant to kno is how do i refresh all the users on tha chat page? | |
hai! I am new to visual studio 2010. I am trying to develop a miniproject related on atm. But I have syntax error(missing operator) in query expression on 'Accountnumber=and PIN='. are you help me to correct this error? My coding is, op = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source = F:\atm1.mdb") op.Open() cd … | |
Hello, I'm sorry I bumped old and solved article, so I'm opening new. The problem is here: http://www.daniweb.com/web-development/php/threads/419063/updating-single-record-in-mysql-table-with-php-using-toggle-button This works fine, except that I have to click button two times the first time to change the status. later itr works fine. Anyone knows how to fix that? Thank You! | |
The procedure for Insert/update.I use datagridview get and display the data. I get the error message "Procedure or function Updatedata has too many arguments specified." // this is my Procedure ALTER PROCEDURE [dbo].[Updatedata] @item char(30), @uom int,@group int,@orqty int,@avgcons int,@reorder int AS BEGIN SET NOCOUNT ON; IF EXISTS( SELECT * … | |
(a) (b) (c) (d) * ********** ********** * ** ********* ********* ** *** ******** ******** *** **** ******* ******* **** ***** ****** ****** ***** ****** ***** ***** ****** ******* **** **** ******* ******** *** *** ******** ********* ** ** ********* ********** * * ********** I managed to do a and … | |
Dear All, I Have developed a application that converts text to speech. Here text to be converted comes from database on entering some information by user. There are default voices sam and mary ,those are working fine for this application but I want a more clear voice (more like indian … | |
hello frends, i m havig a problem with the deletion of node int the tree plz help me to get my code debugged void delete_node(struct node *temp,int data) { struct node *temp2=NULL,*temp3; if(temp->data==data&&temp->left==NULL&&temp->right==NULL) { temp=NULL; } else { while(temp->data!=data) { printf("\n temp = %d",temp->data); temp2=temp; if(temp->data<data) { temp=temp->right; } else … | |
I was just wondering if anyone can give me some info on converting C++ to C. I don't really care about finding a program to do it for me, I would just like to know what is different between the two. My program is 'fairly' simple. uses file IO, prints, … | |
In my registeration form i have fields named country and city. I want that i select a country lets say USA then city field should show all the cities in USA. i know that i have to put all the cities in Database and then bind it to dropdown box … | |
Good day! I just one to ask if there is a function in C++ that can format a currency directly. Example if I have a float of *10000.00*, it shoud output *10,000.00*. Note the comma separator. Thank you! | |
anyone plz help me with it...... i have a signup form in asp.net but the only thing left the facility to upload files to page (server) from hdd e.g pdf, docx, .jpg etc. now i am using localhost. how to do it ? ? | |
package cs1410; import javax.swing.*; public class P2 { public static void main(String []args) { drawDiamond(); } public static void drawDiamond() { int x,y,z; int a=1; String out="\n"; int i=Integer.parseInt(JOptionPane.showInputDialog("Enter your size")); if((i%2)!=0) { int in=(i/2)+(i%2); int bb=in-1; int b=bb+(bb-1); for(x=in;x>0;x--) { for(y=x;y>1;y--) out+=" "; for(z=0;z<a;z++) out+="*"; a+=2; out+="\n"; } for(x=0;x<in-1;x++) … | |
Hey! I'm a beginner in Assembly language. I want to know the difference between a declaration enclosed with ' ' and without it. For example, variable1 db '0' variable2 db 0 I know that the one with '' is when printed, it will show what's inside the ''. Thanks~ :) | |
Can anybody write a program for me in C by Thusday morning? | |
hi everybody, i want to read data from Ms Excel 2007 . So i used this connection string string connectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;"+"Data Source="+txtFilepath.Text+";"+"Extended Properties=Excel 12.0;"; but it display error :Could not find installable ISAM. i also installed AccessdabaseEngine.exe but still display the same error. please help me | |
Hello, i have made a code that strips off html tags using regex but i have issue. Now in file i have multiple tabs. example: nesa<tab><tab>pera<tab><tab><tab><tab>nn<tab><tab><tab><tab><tab><tab>kkn how can i remove extra tabs and keep only one tab ? example: nesa<tab>pera<tab>n<tab>kkn Thanks in advance | |
How can I get parameter from servlet with a specific name in android activity? like in java servlet request.getParameter("name"); | |
Im sorry to bother all of you but im a complete retard when it comes to scripting etc. More to the point: I downloaded a completed script but im getting error Notice: Undefined index: input_name in \index.php on line 17 and Notice: Undefined index: input_text in \index.php on line 18 … | |
can i send Email via local host ? if have email class and every necessary elements. in php its not allowed . but in asp.net ????? | |
i want to execute Store procedure via asp.net code, behind submit button, (SIGNUP) and also for login . how should i run store procedure ? and store procedure is in DB(sql). | |
CAN anybody help m please i need it fast create interface where user can enter animals that he/she is buying from list of partner on a single cattle receipt. All data must be stored into temporary data container where data will always be available to view and edit. Maximum width … | |
I got 2 Declaration syntax error... i really need help :D Thanks! Btw .. i'm using Borland C++ #include<iostream.h> #include<graphics.h> #include<stdlib.h> #include<stdio.h> #include<ctype.h> #include<conio.h> void main() {clrscr(); int opt,opt1,opt2,opt3,opt4,opt5,opt6; /* request auto detection */ int gdriver = DETECT, gmode, errorcode; int style, midx, midy; int size = 1; int x,y; … |
The End.