199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mark103

Hi guys, I have got a problem with scraping the data from a third party website. I'm currently using a preg_match_all method with each different title tags including the values to output the data from a third party website to my website where I can see some of the data …

Member Avatar for diafol
0
267
Member Avatar for lostC#

I run this program but it does not assign the value of or 3 to s, instead before running it gave the sintax error unassigned local variable 's' private void button1_Click(object sender, EventArgs e) { int i, y, s; i = 8; y = 6; if (i == 6) { …

Member Avatar for lostC#
0
167
Member Avatar for somjit{}

Since the underlying data-structure used here is an array , which is itself iterable via `for-each()` , i'm wondering how much benefit implementing `Iterable` will provide here. I would appreciate if someone could review my code and suggest any further improvements. **Code:** import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; class ResizingCircularArray<E> …

Member Avatar for somjit{}
0
1K
Member Avatar for strongpot

I am completely new to Triggers but I hear they can help me with a specific problem. I have a table: picid picture recordListingID 1 danny.jpg 0 2 jane.jpg 0 3 ralph.jpg 0 In the recordListingID column (int) i would like to generate numbers sequentially upon an INSERT. Is it …

Member Avatar for strongpot
0
265
Member Avatar for lewashby

In the following small c++ program I'm trying to add '0' (zero characters) until the number of characters in the users input can be evenly divided by 3. I'v got it working except that it doesn't work when only on character is feed to the program. input -> 123 -> …

Member Avatar for vijayan121
0
182
Member Avatar for Jacklittle01

I am trying to make a save feature in a game so that a player could save, then quit the game, then open the window again to select proflie and play from when they left off. Thanks!!

Member Avatar for james.lu.75491856
0
432
Member Avatar for devianleong

Hi, How can I use modulus to add TR tag for my output below? <tr> <td>data1<td> <td>data1<td> <td>data1<td> <td>data1<td> <td>data1<td> </tr> <tr> <td>data1<td> <td>data1<td> <td>data1<td> <td>data1<td> <td>data1<td> </tr> <tr> <td>data2<td> <td>data2<td> <td>data2<td> <td>data2<td> <td>data2<td> </tr> <tr> <td>data2<td> <td>data2<td> <td>data2<td> <td>data2<td> <td>data2<td> </tr> In the example above got 2 set of …

Member Avatar for devianleong
0
397
Member Avatar for GuardinoM

I'd like to find out what's the best route to take. I want to build a website for a small company that allows online bookings on vehicles. What's the best database to use and what storage medium may i use as backup?

Member Avatar for GuardinoM
0
186
Member Avatar for mukulnimker7751

Hi All, I need to access cmd of a remote server from local machine using batch scripting or shell scripting. Can anyone help me out in this. I need this very urgently. Regards Mukul

Member Avatar for mukulnimker7751
0
232
Member Avatar for M.Waqas Aslam

Dear All! I have an ASP.net page , and my page is supportted in two language , english and arabic . when user click on arabic , i want to make my all text right align. Regards

Member Avatar for M.Waqas Aslam
0
126
Member Avatar for gmmorpheus

Private Sub Save_Record() Dim cmd As New OleDbCommand Dim sSQL As String = String.Empty Dim arrImage() As Byte Dim myMs As New IO.MemoryStream Dim bSaveImage As Boolean = False Dim strImg As String = String.Empty Try If Not IsNothing(Me.pic1.Image) Then Me.pic1.Image.Save(myMs, Me.pic1.Image.RawFormat) arrImage = myMs.GetBuffer Else arrImage = Nothing End …

Member Avatar for Kishan Tilak
0
645
Member Avatar for RH-Calvin
Member Avatar for happygeek
0
162
Member Avatar for toldav

Any one can give a hand figure it out were is my errror in my clean url. This code is on my vhost and it's not working as I expected. I have try to rewrite the code and put in .htaccess file and still is not working. RewriteEngine On RewriteCond …

Member Avatar for minitauros
0
295
Member Avatar for nocal

Hi im new to html and fairly new to programing i've been waching youtube vidios on html and they all do the same thing to put up a phot but whenever i try the photo eror shows up by the way i use notepad ++ <!doc type html > <html> …

Member Avatar for asaa
0
160
Member Avatar for ZombieKnight93

Hi, I need help , the assignment I have to do is for a healthprofile class but I am having issues . It doesn ' t show the month , day , or year in mm / dd / yyyy format it only shows 0 / 0 / 0 . …

Member Avatar for asaa
0
252
Member Avatar for fugio

I'm trying to create a HScrollBar same scrollbar in datagridview, when resizing the form and columns the impact HScrollbar make it work. expect people to help, thank

Member Avatar for Alhlwany
0
111
Member Avatar for IT_Techno

hi Iam new for php and trying to learn, i want to know what is this line of code mean : $_PROFILER->mark('afterRoute') : null; $_PROFILER ?? -> ?? what does it used for and what is it mean ? mark()??? : ?? null?? and 'afterRoute' ??? thanks for all ;)

Member Avatar for IT_Techno
0
262
Member Avatar for sshinde

Hi can anybody please let me know how to print barcode in visual basic 6.0 with code 93 font,i am using printer object to print on to the printer.also code through which i can minimize the width of the barcode so that it can print completly on the label.

Member Avatar for asaa
0
3K
Member Avatar for beanboy

hi,.... i am trying to develop a one-to-one [B]chat application[/B] as a part my j2ee web app (jsp and servlets used) ,... help me with this. what els should i learn in addition to socket programming? which architecture should i follow? how many days wil it take for an avaerage …

Member Avatar for JamesCherrill
0
201
Member Avatar for Jay_3

<?php include_once("connectDB.php"); if ($_SESSION["loggedin"] != "true") header("Location : member_login.php"); $aname = $_SESSION["aname"] ; $aid = $_SESSION["aid"]; $result = mysql_query("select * from member where m_ID = $aid"); $row =mysql_fetch_assoc($result); $ticketid = $_REQUEST["ticketid"]; // Use this var to check to see if this ID exists, if yes then get the product $result …

Member Avatar for pritaeas
0
249
Member Avatar for techyworld

Hi i need some help on jsf/primefaces layout. i created 3 tabs, but the labels and text box in tab1 is not displaying.instead it is being displayed in tab2, and content of tab2 in tab3... I would like to know why am having this issue and how to solve this? …

Member Avatar for techyworld
0
241
Member Avatar for momonq1990

hello boss! can any one help me to do this. :S my .ajaxForm() code is working but i want to have validation first for the field before ajax start to work. here's my code: my script: <script> $(document).ready(function() { $('#myForm').validate({ rules: { newsletter: { required: true, email: true} } }); …

Member Avatar for pixelsoul
0
245
Member Avatar for zmem32

I'm not sure what the the code is addressing in each of these addressing modes. I know that the opcode is moving data, but where is the code addressing the code at in each addressing modes: register addressing > mov ax, bx immediate > mov ax, 1 or > mov …

Member Avatar for zmem32
0
88
Member Avatar for Garidius

Hello to all, Maybe you can help me with this, I would like to know if it is possible with Perl read from binary and get a string pattern given by a regex? If possible, may you show me an example please. Thanks for any help.

Member Avatar for Garidius
0
132
Member Avatar for anto_nee

hi frnds here i found many solutions for vb thanx for all your help and now i came with a new problem i have a file (doc,xls,txt, jpg or whtever it is) here i have to open that file from vb i have the filename i cant imagine i have …

Member Avatar for Md Saiful
0
224
Member Avatar for mbatipen

I'm a novice in c++ and intend to carryout a project on automatic control of an egg incubator. This project is to be used as an end of course defence. Soebody should kindly give me a c++ code for a temerature and humidity sensors. This will be used to programme …

Member Avatar for mbatipen
0
218
Member Avatar for Rebecca_2

Hi, I am very new to programming but am hoping it will be able to speed a few things up for me. However I am struggling to work out how to write a Python3 script that does the following and am wondering if you could help me out. I have …

Member Avatar for Gribouillis
0
332
Member Avatar for Thundermax

Hello guys, I need to make a program that counts the number of times a particular word appears in a text file on a line. For example, the User chooses the word "test" to be told at the end of each line of txt should show how many times that …

Member Avatar for Adak
0
153
Member Avatar for talha.nehal

I use Dev 5.4.1 and so far I have not found libraries which work properly for making user-interface. Allegro or graphics.h or QT or some other libraries. For Qt I have heard that you need another IDE What about the others

Member Avatar for mike_2000_17
0
347
Member Avatar for yachile

hi, hope if someone can help me, my conact form works and i receive the mail, but it shows me just the email and phone this is a test: Email = test@live.fr Name = Phone = 06 09 56 89 45 Message = Email = forza-ayoub@live.fr Name = Phone = …

Member Avatar for minitauros
0
344
Member Avatar for Israel_1

Hi I need help with finding the area underneath a curve. Here is what I have so far; #include "stdafx.h" #include <iostream> #include <string> #include <cmath> using namespace std; struct term { float coeF; float exP; char name; }; struct function { int size; term terms[10]; }; struct Integral { …

Member Avatar for Israel_1
0
1K
Member Avatar for TechSupportGeek

BACKGROUND: ----------- **1 Button** **1 File** That Needs To Be Written To **1 TextBox** **1 NumericUpDown** So, in my application I need to write to a file that will contain several lines. Input is taken from a TextBox and a NumericUpDown control and it comprises a string of general format …

Member Avatar for TechSupportGeek
0
162
Member Avatar for PerplexedB

My version of Netbeans 7.3.1 freezes at startup. I've already deleted the cache to no avail. Cannot say I can make a lot of sense of what I read on Google. Should I use another ide?

Member Avatar for PerplexedB
0
163
Member Avatar for klemme

Hi All, I am pulling out info from my db and need to tjeck if a column is 0, if it is then i need to SUM 3 other columns and pull out that total. I want to use the CASE keyword and tjeck for this, but am doing something …

Member Avatar for klemme
0
226
Member Avatar for rakwel10

Hello I've been getting these weird code on my site. Here is a sample "#74ed9f# if(empty($doo)) {$doo = "";echo $doo;} #/74ed9f# ". My antivirus also gets alerted when I received visit my site. Here is my site's link http://callumco.com/agranex_cms/ What is this and how to fix? Thanks!

Member Avatar for veedeoo
0
1K
Member Avatar for JadeRayne

I'm pretty rusty on my Java skills but I was trying to write a program that prompts the user to enter a string and displays a maximum length increasing ordered subsequence of characters. For example, if the user entered Welcome the program would output Welo. If the user entered WWWWelllcommmeee, …

Member Avatar for JamesCherrill
0
511
Member Avatar for domingo

Hi all, i was trying to create a URL rewrite regex. The regex is something similar to this: \/pa\/*([0-9,a-z,A-Z,-]*) This regex works fine but i want to make this regex more dynamic so instead of "pa" i want that it matches any characters a user inputs. I create a regexr …

Member Avatar for domingo
0
192
Member Avatar for james.lu.75491856

I tried downloading the file and playing it using `winsound` to play it with the flag `SND_MEMORY`, but it only accepts `str` instead of the `bytes` object I got from `urllib.request.urlopen`. Using `decode()` needs a valid encoding, but I don't have one. CLARIFICATION:downloading the file I mean as using `urllib.request.urlopen` …

Member Avatar for snippsat
0
1K
Member Avatar for darylglenng

package numberpyramid; public class Numberpyramid { public static void main(String[] args) { int x = 9; for (int i =1; i<=x; i++){ for (int j =1; j<=x-i; j++) { System.out.print(" "); } for (int k=i; k>=1; k--) { System.out.print((k>=10)?+k:" "+k); } for(int k=2; k<=i; k++) { System.out.print((k>=10)?+k:" "+k); } System.out.println(" …

Member Avatar for pallav89
0
643
Member Avatar for Chirag_97

Here is my Code ::: <?php if ($handle = opendir('images/')) { echo "Directory handle: $handle\n"; echo "Entries:\n"; while (false !== ($entry = readdir($handle))) { echo "$entry\n";?><br/> <?php } /* This is the WRONG way to loop over the directory. */ while ($entry = readdir($handle)) { echo "$entry\n"; } closedir($handle); } …

Member Avatar for AndrisP
0
206
Member Avatar for Ismatus3

Hello , I am making tries to display images in different tkinter windows , in every window displaying a different image , for this i made this code : # -*- coding: cp1252 -*- from Tkinter import * import Tkinter as tk import ttk from PIL import ImageTk, Image import …

Member Avatar for Ismatus3
0
5K
Member Avatar for friendly1

http://www.getfriendlynotes.com/index.php?q=topic_disp&subsno=3&prog=431251#tpc1

Member Avatar for best4earn
0
92
Member Avatar for zack000smith

I need to add the following features to my existing code (posted below) in Rails using Jquery, JSON, Ruby and HTML. I have a lot of ideas and researched a bit but Itd be great if someone can help me with integrating them: I need to add a feature to …

Member Avatar for LastMitch
0
318
Member Avatar for devianleong

Hi, now I've a function which is add product to cart: function addtocart($pid,$q,$attribute){ if($pid<1 or $q<1) return; if(is_array($_SESSION['cart'])){ $max=count($_SESSION['cart']); $_SESSION['cart'][$max]['productid']=$pid; $_SESSION['cart'][$max]['qty']=$q; $_SESSION['cart'][$max]['attribute']=$attribute; } else{ $_SESSION['cart']=array(); $_SESSION['cart'][0]['productid']=$pid; $_SESSION['cart'][0]['qty']=$q; $_SESSION['cart'][0]['attribute']=$attribute; } } And now my remove product function is : $id is generate from for loop in cart page which is same …

Member Avatar for LastMitch
0
176
Member Avatar for kiail

Hello, I have a list that holds transactions. Currently I'm trying to write it to the console and have each transaction numbered with the transaction amount included beside it. I currently have code that produces something like Transaction #1: $400 Transaction #1: $400 Transaction #2: $599.99 Transaction #2: $599.99 How …

Member Avatar for Momerath
0
150
Member Avatar for jason.craft.5439

So I have this assignment for school and I've got the program working, but some minor issues (maybe major issues with cleanilness of code, but working on it). I'm having to make a Guess My Number program and it seems to work, but when I start a new game it …

Member Avatar for kRod
0
460
Member Avatar for tiff2013

I have created a calcuator that takes in single ints and appends them together to make larger numbers and can do basic functions. Now I have to take this program the .cpp and the .h files and convert them to allow decimal point numbers. I am thinking about changing all …

Member Avatar for tinstaafl
0
130
Member Avatar for hahanottelling

Can anyone help me with displaying text in a C++ window? I've read the chapter 9 at winprog but it makes no sense to me. here's the code I'm using: [code]#include <windows.h> #include "resource.h" /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class …

Member Avatar for Nick_3
0
5K
Member Avatar for shrikanthnk

Sorry guys, asking simple question for which i don't have the solution. please help me. Can you modify my query to return single column with both name and sname ?(rename the column if required) select name, sname from claim,CV where claim.num=cv.cnum

Member Avatar for 1stDAN
0
213
Member Avatar for riyu930
Member Avatar for riyu930
0
90

The End.