199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for liphoso

new to php and mysql. i would like to build a system that will allow me to save to two databases at the same time. i know how to send data from my interface(i use html for the interface then use php to link with the mysql to design the …

Member Avatar for broj1
0
106
Member Avatar for Jessurider

can anyone please tell me how to edit the summary of a file(e.g *.txt,*.docs,*.pdf,*.avi.....etc) through by java programming.

Member Avatar for JamesCherrill
0
345
Member Avatar for Joemeister

Hi! So I managed to upload the picture via php to a folder BUT my problem now is that I want to INSERT the location path of the uploaded picture to the user's pic_location in the database and I don't know how the query will look if I want to …

Member Avatar for lps
0
235
Member Avatar for kgizo

Hello, I'm trying to read a text file which is on the web and then insert its contents in a database using PHP. I think my code is okay but I keep getting this error message which I think might be permission problems so I just need clarity on this. …

Member Avatar for kgizo
0
137
Member Avatar for Simon180

Can sumone please give me a helping hand here am trying to do a simple sql search were it will look all items in SQL database and pull up the names that match but am having a abit of trouble with it it brings all my accounts up regardless of …

Member Avatar for pritaeas
0
204
Member Avatar for mohan_iyyar

HI Friends, I am using html and php for designing a report i want coding for displaying 2 table headers in subsequent pages.As I have 207 datas retrieved from mysql format: categoy brand name model xxx rtrt ghg iio yyy jhkjk opo loo i have to display the above data …

Member Avatar for mohan_iyyar
0
146
Member Avatar for Silvershaft

Hey! I am making little map editor for my game, I got a textbox where I from the map with numbers and program writes them to bytes so my game can read them, but my problem is how can I read character by character from the textbox?

Member Avatar for Vorac
0
150
Member Avatar for sethiasaril
Member Avatar for thetwig

Hey guys.. this isn't a coding qs... my php cant read any of my mysql functions... eg. mysql_connect, etc.. everything else in my php works... but even if i echo after mysql_connect it wn't print, but if i echo before it will... its not a coding problem because it works …

Member Avatar for smantscheff
0
254
Member Avatar for Nandomo

I am doing Gui's on Netbeans and am writing a program that sells flower ornaments and such. I have everything added to an arraylist. But when it comes to showing, I am on another tab and need to pass the arraylist to that method for display, any help? Link me …

Member Avatar for Zaad
0
182
Member Avatar for jeffrey blanz
Member Avatar for mangal123

hi i am creating a lab attendance mgmt s/w in C# and i want to do when the computer start then the login page of my s/w is be open ..... so please tell me the process and if any one have code then please give me the direction to …

Member Avatar for Seten
0
123
Member Avatar for Karthik J

Hi all, Does anyone know how to convert raster images(bmp) to vector images using C#?. My task is to convert raster images(bmp) to list of vectors using C#. I surfed in the net, got many open source tools which does the job, but my constraint is not to use any …

Member Avatar for VIeditorlover
0
2K
Member Avatar for jonnyboy12

Hello. I am i'm recently taking off in building a game. The problem at the moment, is that i fear i'm programming to much! I wouldn't know this because i'm new to c++, but how much code is too much for a modern processor? In my engines render loop i …

Member Avatar for sundip
0
301
Member Avatar for daudiam

I want to reorder the rows by dragging them which is accomplished by the code below, but the void (placeholder) should be of a red color while the drag is taking place - this part is not happening : [CODE]<html> <head> <script type="text/javascript" src="jquery-1.3.2.min.js"></script> <script type="text/javascript" src="jquery.ui.sortable.min.js"></script> <script> $(function() { …

0
142
Member Avatar for Tom_Weston

What i basically want is more than one character to be found. If h and a are in the string then it will print it. But it will only work if there is a single char. [CODE] #include <iostream> #include <stdio.h> #include <string.h> int main () { char str[] = …

Member Avatar for MonsieurPointer
0
115
Member Avatar for lobstar

Hi, I am having an issue with updating my database with info from an excel spreadsheet. I am using php-excelreader from: [url]http://sourceforge.net/projects/phpexcelreader/[/url] Here is what I have thus far: [code=php] <?php require_once 'reader.php'; $Host = "..."; $User = "..."; $Password = "..."; $DBname = "..."; $Link = mysql_connect ($Host, $User, …

Member Avatar for rrpandiarajan
0
297
Member Avatar for Mideoan

Hello. I'm having some trouble understanding linked lists. I've been working on trying to figure this out all week, reading through the text, looking at examples and I still can't figure it out. This is due for me by midnight tonight, so I'm reaching out as a last ditch effort …

Member Avatar for JamesCherrill
0
191
Member Avatar for PlUmPaSsChIcKeN

Im a beginner to python and my professor has assigned the following assignment: You buy an international calling card to India. The calling card company has some special offers. a) If you charge your card with $5 or $10, you don’t get anything extra b) For a $25 charge, you …

Member Avatar for PlUmPaSsChIcKeN
0
238
Member Avatar for 8mir

' I want to get some idea about my new project I my project take the text from web site to text box and that the code coming like this exam: #DESCRIPTION ---------- 1 ---------- #SERVICE 1:0:1:1FAD:2454:13E:820000:0:0:0: #SERVICE 1:0:1:1FAD:2454:13E:820000:0:0:0: #DESCRIPTION ---------- 2 ---------- #SERVICE 1:0:1:1FAD:2454:13E:820000:0:0:0: #SERVICE 1:0:1:1FAD:2454:13E:820000:0:0:0: >>>to end ok …

Member Avatar for lolafuertes
0
202
Member Avatar for BlurrieBlue

Hi, I had some problems on setting the value for a variable when user clicks on the image button. This is wat I have in the aspx file [CODE]<asp:ImageButton ID="NewBtn" runat="server" ImageUrl="image/plus.png" Width="24px" onclick = "newUser = 'True'"/>[/CODE] At first i tried to declare the variable in code behind as …

Member Avatar for BlurrieBlue
0
510
Member Avatar for DmytriE

I am having the hardest time figuring out how to pass a pointer as an argument. All of the examples I have come across are using predefined array sizes while my array is dynamic. The following code is a simple representation of what I am trying to do in a …

Member Avatar for DmytriE
0
122
Member Avatar for violette

hi all! i'm not sure where to post this. i hope i'm posting at the right section. previously i use formula as below; [CODE] Dim total1 As Label = CType(e.Item.FindControl("total1"), Label) total1.Text = e.Item.DataItem("receivable").ToString * 365 / e.Item.DataItem("revenue").ToString[/CODE] note that the 'receivable' and 'revenue' are taken from database(mysql) however,if the …

Member Avatar for violette
0
93
Member Avatar for Sana'a Ala'a

so,i found a voice chat code that i tried to run it,but all i got was a list of "Reciever.java": Error #: 200 : <identifier> expected at line *, column *" this is the code ************************************************************************ Receiver.java ************************************************************************ [CODE] import javax.sound.sampled.*; import java.io.*; import java.net.*; import java.util.*; public class Receiver …

Member Avatar for harinath_2007
0
504
Member Avatar for clide890

Hello, I've been having problem with this problem since yesterday and i just recently started C++, so please don't judge. I have very confused to what the question is asking and how the C++ program will look like. Effective January 1st of each year, Gabriela receives a 5% raise on …

Member Avatar for WaltP
0
217
Member Avatar for crane476

I am writing a program that should allow the user to enter however many payroll amounts they want for 3 different stores. It should then display the total payroll for the three stores. The first time through the loop is fine but the second time through, even though it appears …

Member Avatar for crane476
0
111
Member Avatar for techyworld

Anyone can tell me how to do this question: A program that creates an array of 5 student names and an array of 5 student Ids. You can choose to input the values or directly assign them. The program should then create two threads. The first created thread executes a …

Member Avatar for techyworld
0
121
Member Avatar for danchapman91

In addition, i will need it to be scalable and highly customizable. For example, consumers will be able to group together in a yahoo groups/social networking fashion and then discuss and buy together as a group; merchants will have minimum volumes and time tools similar to those available on present …

Member Avatar for chrishea
0
157
Member Avatar for Rian19

Hi I'm just starting with php programming and need some help. This is just a test script I'm writing to see how it works. I'm trying to search for phone of a certain make and price using a different search box for Make and price. I want the results to …

Member Avatar for cwarn23
0
240
Member Avatar for peste19

[CODE] for elem in sentence: .setdefault(elem, 0) repeat[elem] += 1 print sorted([ (freq,elem) for elem, freq in repeat.items()],reverse=True)[:3] print repeat [/CODE] i have this loop which analyses the elements in the loop and then prints by frequency, i wanted to print by frequency and alphabetically. example [(5,apple),(5,orange)]

Member Avatar for woooee
0
1K
Member Avatar for HackRabbyt

Hello, I was wondering if I could get a little guidance regarding an error I keep running into on this assignment. I'm not necessarily looking for any answers as I'd like to complete as much of the assignment myself as possible. However, I've been beating my head against a brick …

Member Avatar for HackRabbyt
0
117
Member Avatar for fairy1992224

I had created a registration page for users to sign up an account and a database to store all information such as username and password. I had also created a login page for users to login after registering an account. How do I link the database so that I will …

Member Avatar for fairy1992224
0
263
Member Avatar for linux

I have to rewrite the atoi function - that is, convert a string given by a command line argument and convert it to an integer. It works for single digit numbers, but when you give it two or more digits, it only converts the first number. I'm not sure what …

Member Avatar for linux
0
303
Member Avatar for George_91

My first thought was [CODE] int size = 0; cout << "Enter size of the array" << endl; cin >> size; int a[size]; [/CODE] Now I know that an array has to have a constant value, but I need that the user enters an integer and use that integer as …

Member Avatar for gerard4143
0
160
Member Avatar for glut

Hey, I need to make a function that returns an array. How would I do so? And how would I make a variable that gets all the values in that function? Thanks, you guys :)

Member Avatar for sergent
0
277
Member Avatar for markdean.expres

Guys I just want to inquire if it's possible to create a program that can lock not only the application but the whole system(PC)? What I want is that, if my application wasn't used within a specified time frame, it will automatically o\lock the whole computer and it can only …

Member Avatar for NetJunkie
0
129
Member Avatar for davy_yg

kategori_berita.php [CODE] <?php include('koneksi.php'); $_REQUEST['catid'] = isset($_POST['catid']) ? $_POST['catid'] : ''; $result = mysql_query("SELECT * FROM kategori_berita") or die(mysql_error()); echo '<ul>'; while ($data=mysql_fetch_array($result)){ if ($_REQUEST['catid']==$data['id']) echo '<li>'.$data['kategori'].'</li>'; else echo '<li><a href="./?catid='.$data['id'].'">'.$data['kategori'].'</a><br/></li>'; } echo '</ul>'; ?> </div> [/CODE] I am trying to print bullet button list for each kategori: [CODE] if …

Member Avatar for cwarn23
0
119
Member Avatar for AndyPants

hello I'm NOT new to vb.net but i have never used a UserControl in the following manner: In need to make a UserControll that can be put in a list of them depending on how many the user chooses and then if there are more than 4 to have a …

Member Avatar for AndyPants
0
191
Member Avatar for johmolan

I have made a crystal report with subreports, In my subreports I have added commands like: SELECT * FROM Orders where orederID = {?orderID} When I run the report in viewer the report prompts for the orderID with a dialogbox. But I have several subreports that requires the same orderID …

Member Avatar for johmolan
0
92
Member Avatar for newbie14

Dear All, I have a number of data from mysql database to be populated into a graph format. The graph is speed vs time. The time will be in every minute. So far I have tried two tools one phPlot and PhpGraphLib. The first one will only plot say at …

Member Avatar for cwarn23
0
276
Member Avatar for AndyPants

Hello, i was wondering how would i make a search kind of thing, for example if string1 contains all the words in string2 words. like a search(not just if string1 contains string 2). it should work something like this: If string1 is "an apple" and if string2 is "djsjfsfg apple …

Member Avatar for AndyPants
0
476
Member Avatar for George_91

I've this quicksort code, and it compiles. The thing is, I don't know how to give random values (integers) to the vector. The program should ask for the vector's size and then create the x random integers so it can apply the quiksort method. [CODE]#include "stdafx.h" #include <iostream> #include <vector> …

Member Avatar for George_91
0
2K
Member Avatar for Inny

Using an apache webserver, im currently redirecting hotlinks to a certain image. [code]<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?camosreptiles.com.au/ [NC] RewriteCond %{HTTP_REFERER} !google\. [NC] RewriteCond %{HTTP_REFERER} !search\?q=cache [NC] RewriteRule \.(jpg|jpeg|png|gif)$ http://i14.photobucket.com/albums/a345/Instar/nedry2.gif [NC,R,L] </ifModule>[/code] What id like to do, is redirect to a certain page (my own domain) …

Member Avatar for Inny
0
118
Member Avatar for NuGG

This is problem that I have struggled with for some time, but im sure the answer is very simple... I have a sub report that performs calculations on 2 fields ( [Rate] [Hours Worked] ) from a table called [Hours]. The report is GROUPED by [Rate] and is as follows: …

Member Avatar for NuGG
0
2K
Member Avatar for digipak

Hello, I have a class Pdisk [CODE] class Pdisk { public : Pdisk(string diskname, int numberofblocks, int blocksize); private : string diskname; int numberofblocks; int blocksize; }; [/CODE] Now I want to make a class filesys which can access an object of class Pdisk. I am not sure how to …

Member Avatar for StuXYZ
0
507
Member Avatar for Slyvr

I made a basic JUnit test to set up this oracle database on my computer with hibernate. The database works and everything, but trying to hook it up to Hibernate is proving to be a challenge. My config file is below: [code] <hibernate-configuration> <session-factory> <!-- Database Connection Properties --> <property …

Member Avatar for Slyvr
0
1K
Member Avatar for TheChosen0ne

Hey guys, I need some help. I'm using Microsoft Visual C++ 2010. I've heard about being able to write html in c++ I found a few tutorials but I can't understand them they're not very noob friendly. :( Can some of you guys give me a few codes so I …

Member Avatar for Moschops
0
143
Member Avatar for samsnov

Please help me out her, I am building a website using wordpress I have created a post with four different categories in the post page, categories named : Action. Terror, Documentary, and News, and these four named Categories are automatically inserted into one of the eleven tables automatically created by …

Member Avatar for blocblue
0
169
Member Avatar for techyworld
Member Avatar for techyworld

am having these errors: /home/Desktop/L5Q1.c: In function ‘main’: /home/Desktop/L5Q1.c:15:9: warning: incompatible implicit declaration of built-in function ‘printf’ /home/Desktop/L5Q1.c: In function ‘funct1’: /home/Desktop/L5Q1.c:26:9: warning: incompatible implicit declaration of built-in function ‘printf’ [CODE]#include <pthread.h> void * funct1(void * arg); main() { pthread_t threadid; int i,j; int x=1; pthread_create(&threadid,NULL,funct1,(void *)&x); for (j=0; j …

Member Avatar for Mouche
0
167

The End.