199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
can anyone please tell me how to edit the summary of a file(e.g *.txt,*.docs,*.pdf,*.avi.....etc) through by java programming. | |
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 … | |
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. … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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() { … | |
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[] = … ![]() | |
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, … | |
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 … | |
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 … | |
' 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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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)] | |
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 … | |
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 … | |
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 … | |
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 … | |
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 :) | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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> … | |
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) … | |
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: … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … ![]() |
The End.