64,152 Solved Topics
Remove Filter ![]() | |
HI. I've tried other codes, but they don't seem to work. What I'm trying to do, is grab a result from google's shopping page, and display it on my page. I only want the title, which is in the tag:[CODE]<h3 class="result-title">TITLE</h3>[/CODE] How do I do that in PHP? Thanks! | |
Hi, I have been looking at a few tasks I want to do using a MySQL DB and Python. Therefor I'm spending some time looking at the MySQLdb module for Python and how I can use it. I've worked out a few bits but I want to be able to … | |
hello, hello! im probably being really dumb again, but i can't get java to run keyPressed() when i press a key. do i need to initialize the keylistener somewhere? any input is appreciated!(even if it's not help) import java.awt.Graphics; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.JPanel; import … | |
i am using strrev function and also included the header file string.h but i am getting the compile error **‘strrev’ was not declared in this scope**. what else is required? | |
i am just trying to populate this array with some information. i have no idea why, but i am getting: java.lang.ArrayIndexOutOfBoundsException: 0 im probably just stupid 0_o... but, here is my code: private boolean populated = false; private int blockList[][] = {}; public void update(){ if(populated == false){ int a … | |
Dear All How can I send mail from my site using SMTP outgoing mail server. I tried and checked may way but not achive any positive result. Here is my mail server detail- SmtpServer="mail.cbsecsnip.in"; SmtpPort="587"; SmtpUser="support@cbsecsnip.in"; SmtpPass="password@123"; // assume this is the password Can any body help me out in … | |
Hi, I have a simple question On my page I have two text boxes, a button and a label. I have a database DB_rental which contains a table TB_credentials (empID, username, password) User enters the username and password in the textboxes and clicks the button. The application should check the … | |
I have a form that has a dropdown list with all the ID's of a particualr table in my database what i want to do is whenever the user selects a particular ID the remaining fields along with the id selected are loaded in a listview. and this dynamic list … | |
hi guys i have a table in a database with data of which i want to display in a tabular format. In addition i want also to be able to edit a particular column of the displayed tabular data but the editing will only allow for the rentering of numbers, … | |
public int CalculateProduct(int num1, int num2) Requires a return type of int. However, in main, when CalculateProduct is called, no variable is assigned to accept the int being returned. I don't understand why. Thanks! using System; delegate void NotifyCalculation(int x, int y, int result); class Calculator { NotifyCalculation calcListener; public … | |
![]() | Hi I want to know has anyone used **PEAR** or **htmLawed**? **PEAR**: http://pear.php.net/ **htmLawed**: http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php I download the both files (**PEAR** & **htmLawed**) For **htmLawed** it's looks very simple to used but not sure how I can adapted to the websites? As for **PEAR** I finally got it installed! There's … ![]() |
Hi All, I have managed to get my program working now using UDP to send a message to a sensor and get a reply.The last major issue i am having is the data i recieve back. data, addr = sock.recvfrom(782) # buffer size is 782 bytes This is my line … | |
i created a custom installer for my mobile application, the problem is if device is not connected to cradle it tries to install the application next time the device is connected. i dont want it to happen, i want to check if device is connected to cradle. help please. come … | |
I am trying to create a program that converts a fahrenheit number to a celsius number, and convert a celsius number to a fahrenheit number. It takes user input and decides which sub-program to run depending on which letter is entered. Once it decides this, it asks for the number … | |
Hello all, I am working on an upload script. This one is taken straight from php.net. I tried to get it to work but can't seem to. Could you help out? This is the code: <?php $uploads_dir = 'file:///PETBookPro09/Users/petuser1/Desktop/'; foreach ($_FILES["pictures"]["error"] as $key => $error) { if ($error == UPLOAD_ERR_OK) … | |
Hello all, I am working on an upload function and am having problems. This is the message that it says: Warning: move_uploaded_file(../../../../data/C0017593-Human_brain,_PET_scan-SPL.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/...(other stuff) on line 163 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/Applications/XAMPP/xamppfiles/temp/phpMtgNWy' to '../../../../data/C0017593-Human_brain,_PET_scan-SPL.jpg' in /Applications/XAMPP/xamppfiles/htdocs/...(other stuff) on line 163 … | |
I'm coding a encryption program where I need to generate random prime. I wrote this code for(i=3; i<10000000; i=i+2 ) { for(j=2; j <= sqrt(i); j++ ) { if(!(i%j)) break; } if (j>sqrt(i)) { cout<<i << " "; } } This tests a number till is square root. Its good … | |
Hello! It's me again. I making a library software and I using DataBase. When I remove any record from database and then click save i got a error message: **Update requires a valid DeleteCommand when passed DataRow collection with deleted rows.** , and one line of code with yellow background: … | |
Hello. I working on my Library software and I using database for my project. When i click save icon I save my record and when I close program and open it again, database is empty. All my records always gone! But when i create new project again and make new … | |
Good day ma'am/sir, i just wanna ask how to add color in a just specific word? because i tried this one printf("You chose"); textcolor(RED); printf("RED"); but still the whole output is colored red. please help, THANKS! | |
I have this code as shown below. I've modified a bit to update the markers dynamically according to xml file extracting from php mysql database. There's nothing wrong with the script. The only thing I would love to do is to move the marker smoothly instead of the markers flickering … | |
Hello , I have a 2D array. It has two columns. I have to find the top 3 elements of the second column and return the corresponding elements of the first column. for example say the 2 D array is as follows: 1 0.33 2 0.4 3 0.6 4 0.2 … | |
hello iam using oracle 10g express edition actually iam not able to connect to sql plus if i enter the commands it shows an error mesaage as "not connected".so i tried another way of opening by connecting in oracle 10g go to database home page and entered my password and … | |
Good day, please help, when i transfer my phpcode in ubuntu I am getting this error * Warning: include(includes/sidebar.php) [function.include]: failed to open stream: Permission denied in /opt/lampp/tg/index.php on line 47* but when I'm using Windows vista my pages are okey... please help thank You.. | |
hi all! i have two combo box in my program one has the subteam for example if you click the 1st combo box, the items would be A1 A2 A3 A4 A5 what i want to happen is that if i chose A1 only the members of team A1 would … | |
![]() | I can just buy a machine server kinda shapped like a desktop and create my own blog and my own way and my design.... I do not want to use Blogger or Wordpress lots of people made complaints saying Wordpress and Blogger deleted there content of posting expressing them selves. … |
Hi guys, as you know we can get a value from array by giving an index: int x[10]; int i; for(i=0; i<10; i++) x[i]=i; print(x[1]); // output is: 1 but how can I change this code to this: int x[10]; int i; x['a']=0; x['b']=1; x['c']=2; . . . x['z']=23; print(x['c']); … | |
Hello, I'm using images to show a sequence. For this I'm using image list and the code is Graphics g = this.panel2.CreateGraphics(); ImageList photoList = new ImageList(); photoList.TransparentColor = Color.Blue; photoList.ColorDepth = ColorDepth.Depth32Bit; photoList.ImageSize = new Size(40, 40); Graphics g1 = this.panel2.CreateGraphics(); Pen green = new Pen(Color.Green, 1); int j … | |
I have a little problem related to the white spaces in my program. Well, the actual program I'm trying to make is something else. so this program is just to check whether the text is properly broken or not. The problem I'm facing is, for the first word in my … | |
Hi, is there a way to get the FTP Welcome banner (not the welcome message, but the banner)? What I'm trying to do is to discover several AXIS security cameras over a network using FTP. When I try to FTP into a camera using cmd.exe, the camera answers like: C:\>ftp … | |
hi, I am recently very curious to know how I can make a connection between two computers which are not in a local network. I googled a lot but there are always solutions for local IPs Now I know that I should make a server and a client to send … | |
Hey guys! I am recieving this error on the code posted below: "Operator '&&' cannot be applied to operands of type 'int' and 'int'. I do not understand why this is not working. is there a workaround or a better way I should be doing this. Thanks in advance! C2, … | |
Hi all, My requirement is to add student marks into the system. In my form i have entered admission number of the student, term and year and click on "Add" button to enter marks. Thereafter the page should be redirected to the following page where it should be displayed marks. … | |
Hii.. I am doing project in java and i want to convert it to c#.is it any option available? Thank you.. | |
Hello all! I have hit a small bump in my development of a program I am working on. Basically what I need to happen is this; for each item in the listview it executes a SQL query to input values into a database. In this case it pulls the quantity … | |
Here is the code that can be copied into sql server to better assist with what I am trying to accomplish. Hope it makes sense and post back with any questions you may have: create table #temp(period int, location int, custnum varchar(10), driver varchar(25), dollar decimal(10,2)) insert into #temp values(201201,221,'ABC123','dwcustcomm',52.37) … | |
Not sure the best way to ask this question, but here goes... I have a Database table that has a column called pos_id that is an auto increment field, and I have used it as a tracking device for the next position number in a company forced matrix system... Now … | |
I am a volunteer at our local library. 5 months ago a clerk somewhere on the web shut down the site accidentally. Last week I had the site up after removing 18 MB of empty lines from both the index and default pages. Yesterday the Frontpage extensions went away from … | |
![]() | Hello guys ! Hope you're doing well. I have faced a problem in declaring linked lists inside a linked list. I made a picture because it speaks more than 1000 words  Here's my structure declaration: typedef struct author *link; struct author { char name[20]; link next; link down; … ![]() |
Hi guys, So I'm busy writing an application that needs to update a list from the web after a certain amount of time. main.py file class Gui: def ...... def ...... def ...... def on_update_click(): update() app=Gui() Gtk.main() So when the program loads up, user will click the update button … | |
![]() | hello i need little help with url rewriting i have page :: www.mysite.com/search.php?q=something desire url structure:: www.mysite.com/q/something .htaccess code :: RewriteRule q/(.*) search.php?q=$1 the above htaccess code work fine but i have little more htaccess code for my site .htaccess code :: RewriteRule www.(.*) web.php?url=$1 desire url structure:: www.mysite.com/www.daniweb.com so … ![]() |
Hi, I'm writing a small C program to clean the radius radacct table, removing ended sessions records and inserting on a separated database. The problem is that MySQL C API doesn't have an easy way to insert the result of a query on another database/table directly, you have to build … | |
Hey, iv been looking around for help with a problem with a program i am working on, but i cant find an appropriate category on any forum really. The program is a flash swf compiler. But at the moment i am having problems understand a certain data structure (the abc … | |
hi all, I am new to php and have started some coding.I want to insert values in one table1 and update values of table2. It worked for me last day..but today it doesnt work.I have hardly changed any code.i guess except fr deleting some comments in code..u plz tell me … | |
#include<iostream> #include<math.h> using namespace std; int main() { long int t,n; cin>>t; while(t--) { cout<<"abc"; } return 0; } i am getting run time error for t>10000. how to solve it. range of t>1000000 | |
hey people, I've been experimenting with some new (for me) java techniques, like keybindings. i've got a small app, where the bindings work fine, untill i press a JButton with actionListener. the actionListener doesn't do anything at all, but keybindings fail after i press one of them. here's my code … | |
**i have problem in setting an alarm program, when i write the code to set with the alarm with the system it did not goes through so what should i do to fix the problem. pls i need to fix it if you can send me the code i will … | |
How can I make my program generate random number between two given integers ? I use `srand ( time(NULL) );` `x = rand() % i;` to generate numbers modulo i. But I can't figure out how to generate between two numbers, suppose 1 and 3. | |
I just finished installing ODTwithODAC112012 (Oracle Developer tool for Visual Studio ODT) on my system . Now I am trying to deploy dbmsclr.plb as SYSDBA from SQLPLUS But I am getting the error SP2-024 nothing to change. Here is the command window:- C:\>sqlplus /nolog SQL*Plus: Release 11.2.0.1.0 Production on Tue … |
The End.