199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for collinskawere

am getting an error that "Notice: Undefined variable: new_string in C:\wamp\www\plus256 beta\search.p". someone help me figure out wat's wrong coz am goin nuts. <?php include 'header.php'; echo '<div align="center">'; include('class.stemmer.inc'); include('cleaner.php'); include('connect.php'); if(isset($_POST['submit'])){ $search = $_POST['search']; $stemmer = new Stemmer; $stemmed_string = $stemmer->stem($search); $clean_string = new cleaner(); $stemmed_string = $clean_string->parseString($stemmed_string); …

Member Avatar for pzuurveen
0
354
Member Avatar for TrustyTony

We can run Python2 script in most simple cases if we just use the 2to3.py script found in recent Python versions: F:\Python27\Tools\Scripts>copy \test\output_window_tk.py \test\output_window_tk2.py 1 tiedosto(a) on kopioitu. F:\Python27\Tools\Scripts>2to3.py -w \test\output_window_tk.py RefactoringTool: Skipping implicit fixer: buffer RefactoringTool: Skipping implicit fixer: idioms RefactoringTool: Skipping implicit fixer: set_literal RefactoringTool: Skipping implicit fixer: …

0
786
Member Avatar for Kert

I have 3 very simple classes and a question about their inheritance. public class A { int a; A(int a){ this.a = a; } void meetoda(){ System.out.println("a = " + a); } @Override public String toString() { return "A [a=" + a + "]"; } } public class B extends …

Member Avatar for delta_frost
0
118
Member Avatar for newbie1234

i made some pages. When i am running on xammp server, its working fine, every form gets submits and i can see data in database. After that i upload on net webserver, here page showing is ok. But when i am submitting the page than data is not comming in …

Member Avatar for phoenix_2000
0
93
Member Avatar for Iamateur

My doubt is : 1] I have got many forms and MDI container. There is close button on all the forms.One of the form name is Homepage. 2]Whenever the user clicks on close button,i.e.the cross button with minimize and maximize box, The form will close but at the same time …

Member Avatar for poojavb
0
249
Member Avatar for stereomatching

I found a lot of books introduce about objective C but can't find a book which talk about objective C++.Could you introduce me an objective C++ textbook? I learned C++ before but don't know objective C, where should I start if I want to learn objective C++?Looks like it is …

Member Avatar for stereomatching
0
422
Member Avatar for eoop.org

Hi, i am getting this error for an email activation function. can someone help me removing this error message and make it work? ## Error: ## Warning: mysql_result() expects parameter 1 to be resource, boolean given in /home/prevpxmj/public_html/core/functions/users.php on line 6 ## Code: ## <?php function activate($email, $email_code){ $email = …

Member Avatar for tyson567
0
209
Member Avatar for Pricess

hello, im have problem with my code..im used access database, when i select combobox1, the textbox will appear data set as value member....but data not appear on textbox..someone can help me :) this my code Sub fillcombo() Dim acscmd As New OleDb.OleDbCommand acscmd.CommandText = strsql acscmd.Connection = acsconn acsdr = …

Member Avatar for M.Waqas Aslam
0
2K
Member Avatar for tubzz

Assume that the following data is stored in file “data.txt”: 2 5 7 1 12 -999 1 4 11 55 66 3 43 23 -999 9 87 56 34 22 12 21 -999 8 7 5 4 6 111 -999 The number -999 at the end of each line acts …

Member Avatar for tubzz
0
192
Member Avatar for yayasya

Hi.. i'm new in vb.net and i have problem with my project. can anyone help me with this problem.. -update button Dim con As New OleDb.OleDbConnection(My.Settings.TREViS_03_ConnectionString) Dim com As New OleDb.OleDbCommand Dim adap As New OleDb.OleDbDataAdapter Dim ds As New DataSet con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Yaya\Desktop\TREViS(03).mdb;Persist Security Info=True") con.Open() Dim …

Member Avatar for poojavb
0
167
Member Avatar for Ritesh_4

hello, is there currently a tool which can convert C# codes to Java (for example to be used in NetBeans)?

Member Avatar for Ritesh_4
0
403
Member Avatar for prvnkmr449

<?php session_start(); if(!isset($_SESSION['userid'])) { print '<script type="text/javascript">'; print 'alert("Login to submit resume.")'; print '</script>'; header('location:login.html'); }?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> i try every thing still im getting the same problem Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/royal/public_html/submitresume.php:1) in /home/royal/public_html/submitresume.php on line 2 …

Member Avatar for Szabi Zsoldos
0
419
Member Avatar for j509

Display a product number, name (or description), and price for four retail products. They could be food, clothing, auto parts, plants, tools, kitchen utensils, or any other type of retail product. Prompt the user to enter the product number of each product they wish to buy, one at a time, …

Member Avatar for j509
0
963
Member Avatar for twistercool

Good Day Everyone: I am creating a tabulating system for a bikini open. How can you create a client-sever application with database on server without using winsock control? One server for monitoring and document printing. I need client for multiple judges (atleat 5) you can add and remove. And a …

Member Avatar for twistercool
0
238
Member Avatar for king03

hi guys can you help me create a database login form of this code to windows form application? Because this code is made for console application. also I already know how to create a database but I do not know how I can make a windows login form for this …

Member Avatar for hericles
0
168
Member Avatar for darthswift00

Id like to know how to display a logged in users name on a aspx webpage? The website is a music online store that can be view without logging into the site. If the user however wants to purchase a music album and they are not registerd to my site, …

Member Avatar for JorgeM
0
329
Member Avatar for jsj1411

how to save records in listview into ms access database table using a button , i've tried with my codes but nothing is saved in the database `Inline Code Example Here` private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim con As New OleDbConnection con.ConnectionString = …

Member Avatar for Reverend Jim
0
169
Member Avatar for perllearner007

Hello, I have a file inputfile abc pqr ghi lmn xyz How do I extract certain line in using perl? For example: I want rows pqr, ghi, lmn. I want to assign line numbers and extract these rows..so for pqr, ghi and lmn I will use lines 2, 3 and …

Member Avatar for 2teez
0
224
Member Avatar for king03

![qqq](/attachments/small/3/qqq.jpg "align-left") hi there guys got a question right here, what can be the problem with this? I mean I was calling the Form1 which I have designed as a login form so whenever you click the login button the Form1 is supposed to show up, but then I get …

Member Avatar for james6754
0
108
Member Avatar for jamojo

Hello everyone, can you please help me regarding on converting duration to milliseconds. I have a code below working but need to include the hours. I do not know what is the best practice regarding this but please advise. Thanks in advance. list($get_minutes, $get_seconds) = explode(':', '1:27:04'); $minutes = $get_minutes …

Member Avatar for diafol
0
116
Member Avatar for sunfutbol

The code is as follows and I wanted to know more about how and where \v and \f are used? printf("Vertical tab \v is tricky, as its behaviour is unspecified under certain conditions.\n"); Also, can anyone explain what the sentence in the print statement suggests?

Member Avatar for WaltP
0
179
Member Avatar for steven447

I use a parser called jsoup to parse html amd store it in a mysql database. The parser reads the files with an input stream. The problam is that some class en id atributes are given with class="". The parser cant find those atributes and returns a blank string. I …

Member Avatar for Shinedevil
0
157
Member Avatar for opticblaze

Hi there, I got the following challenge. I have a site that is hosted on a windows 2010 server and i am trying to get the website to send emails. The site runs on Apache 2.2.9, PHP 5.2.6 and we set it up to run on port 6000. I have …

Member Avatar for Squidge
0
193
Member Avatar for ak47carbon

header is not working in iframe tag of html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <iframe src="blog3.php" frameborder="0" width="100%" height="600px" scrolling="yes" ></iframe> </body> </html> and at blog3.php there is a an header command <? ob_start(); ?> …

Member Avatar for diafol
0
185
Member Avatar for emclondon

I'm trying to upload an Image to PHP. The most common method I found out to do this was using FORM/POST; But that doesn't help me for what I am about to do. What I actually am trying to do is upload an image to PHP, the PHP Script will …

Member Avatar for pritaeas
0
689
Member Avatar for crag0

I am a beginner to pything and I am looking to monitor a directory and run a script everytime something is input into the directory. I am wondering the best method for doing this using python? Any point in the right direction I would appreciate.

Member Avatar for TrustyTony
0
299
Member Avatar for neojiphre

So I'm trying to create a simple game, and right now the interface for the game requires a grid of buttons to be created based on a number required by the user. Currently I have a scale widget which a allows a user to choose a grid size, and a …

Member Avatar for HiHe
0
11K
Member Avatar for s0urce

Been working on this for so long I am lost and my mind is mush,lol. On line 106 i have this error (class camera is public, should be declared in a file named `camera.java`) I have a lot of incompatible types required: `java.lang.String found: camera.camera.string errors`. I do not know …

Member Avatar for s0urce
0
203
Member Avatar for s0urce

The program runs but I can not get it to add the totals from the three employess. Then when i enter an employee info the totals show after each employee instead of the end. Please help. If you can please explain what I need to do in simple terms. Its …

Member Avatar for s0urce
0
141
Member Avatar for GlenRogers

I'm pretty sure this is done with php, but have no idea how to do it! I built a simple website for a friend that owns a reptile shop. But I need to be able to sort it so that he can change/update his own stock list. The stoock list …

Member Avatar for Squidge
0
152
Member Avatar for veledrom

Hi, Let me explain with an example. I have a postcode `NW1 5LR` and its `LATITUDE:51.546069024064 LONGITUDE:-0.235949008191785` coming from user entry. I also have many other postcodes and their Latitide&Longitide values in database. What formula should I use to get only those postcodes which are in 1 mil away maximum? …

Member Avatar for veledrom
0
99
Member Avatar for phorce

Hello, I'm looking for some advice (NOT CODING) on a project I'm hoping to start.. Basically, I'm hoping to develop some shell commands that work a tiny bit like Github (if you are familular with it).. The language that I want to use is C++.. Could anyone offer any advice …

Member Avatar for Schol-R-LEA
0
136
Member Avatar for jsj1411

i have 6 collumn in a listview , how do i multiply each data by row in collumn 4 and 5 and display the result in collumn 6.?? `Inline Code Example Here` Dim itm As ListViewItem str(0) = txttarikh.Text str(1) = txtresit.Text str(2) = Txtkod.Text str(3) = Txtnama.Text str(4) = …

Member Avatar for jsj1411
0
291
Member Avatar for dwlamb

Good day, I am working on atomizing a template creating includes in a sub-directory called includes and calling them like this <?php include 'includes/head.php'; ?> I have also tried <?php include('includes/head.php'); ?> My page won't load. All I get is a blank browser window. I tried tailing the error.log and …

Member Avatar for Squidge
0
236
Member Avatar for vorlic

i was told tht from this: int main () { int i,j,vsota; for (i=1; j=10; i<=j; i++) { vsota=vsota+i+j; j--; } system ("pause"); return 0; } i must make it work with while ; but the oruginal doesnt work allso what should i doo??; please any help;? #include <iostream> using …

Member Avatar for marh
0
222
Member Avatar for Sorcher

Why is widdit loading on my website? it never stops loading and i havent used widdit before in any codes...etc. The widdit load is ruining my site.

Member Avatar for Widdit_Support
0
95
Member Avatar for unigrad101

Write a function named centeredSquares() that draws a set of squares of different size around a common center point. centeredSquares() takes four parameters. The first parameter is the length of the side of the first square to draw. The second parameter is the number of squares to draw. The third …

Member Avatar for HiHe
0
121
Member Avatar for pitic

Hy, I trying to create a windows forms app that also starts a webservice that hosts some webmethods. The webservice is used by different users that connect to it to generate some data. The webservice, in his turn, connects to a public webserver with a certificate from a usb token. …

Member Avatar for qadeer37
0
356
Member Avatar for jonny93

Hello again. I am trying to create a simple code that can compute the average of a set of numbers read in using a scanner. import java.util.Scanner; public class Average { public static void main(String[] args) { double number = 0; double total = 0; int count = 0; Scanner …

Member Avatar for delta_frost
0
265
Member Avatar for jereik

Got this error while trying to compile the code below: "Floating point exception" [code] #Create a simulator object set ns [new Simulator] #Open the nam trace file set nf [open out.nam w] $ns namtrace-all $nf #Define a 'finish' procedure proc finish {} { global ns nf $ns flush-trace #Close the …

Member Avatar for timetrex
0
229
Member Avatar for GeekTool
Member Avatar for StormHawk

I am trying to implement the following method: public void add (String a, b, c, d, e, f,...z) { ... } However, I get a compile time error... What am I doing wrong with this? (The parameter takes 26 strings).

Member Avatar for delta_frost
0
317
Member Avatar for dips_1982

I have table of three column like Identifier Description Value P1 x 20 P2 y 20 P3 x 20 P4 y 20 P5 x 20 P6 y 20 P7 x 20 P8 y 20 P9 x 20 y 20 x 20 y 20 x 20 y 20 x 20 y …

Member Avatar for JorgeM
0
183
Member Avatar for mani508

Hello i want to include searching from internet(World wide web) in our website how its possible in Asp.net using c# ...? kindly send me source code or helpfull material as soon as possible ... thanx in advance......

Member Avatar for JorgeM
0
204
Member Avatar for vinithktp

Hi All, I am facing an issue with apostrophe. Please look in to my code [CODE]String ss1="St: Mary's School."; out.println("<input type='text' name='shipTest' value='"+ ss1 +"'>");[/CODE] Output: St: Mary Not able to display letters after the apostrophe. Kindly help me to resolve this issue. Thanks in advance -- Vinith

Member Avatar for Manoj Phutela
0
904
Member Avatar for mancode1007

Guys, I having problem converting the sql server function to mysql function. It work perfect at sql server now it now working at mysql. Please help.Thanks delimiter $$ CREATE FUNCTION SortingAlphanumeric(ColValue NVARCHAR(255)) RETURNS NVARCHAR(1000) BEGIN DECLARE p1 NVARCHAR(255); DECLARE p2 NVARCHAR(255); DECLARE p3 NVARCHAR(255); DECLARE p4 NVARCHAR(255); DECLARE Index1 TINYINT; …

Member Avatar for kartisathis
0
311
Member Avatar for ChrisMackle

Im getting these errors, what do they mean? its DEFINITELY not my code because it works when i compile it in codeblocks but not in microsoft visual c++ 2008. 1>------ Build started: Project: DropBlock, Configuration: Debug Win32 ------ 1> player.cpp 1>c:\users\chris\desktop\c++\-zcomplete game\backup\player.cpp(43): error C2065: 'blocks' : undeclared identifier 1>c:\users\chris\desktop\c++\-zcomplete game\backup\player.cpp(43): …

Member Avatar for mike_2000_17
0
272
Member Avatar for mbarandao

Hello: I need to obtain the text value of the select list instead of its numeric value. <select name="categories[]" class="categories" ><option value="0">--Select One--</option><option value="2">BRAKE SYSTEMS</option>.....</select> Based on the code above, I need to be get text Value "BRAKE SYSTEMS: rather than "2". Making the value equal to the text value …

Member Avatar for mbarandao
0
203
Member Avatar for kim_boto

Guys please help me out here,i have a windows login form that needs to connect to my sql server 2005 database and check wether the username and password is correct or not.how can i do that please help me out here...

Member Avatar for syd919
0
149
Member Avatar for rayidi

# How to access $_SESSION in jQuery ? # I'm developing a existing chat using jQuery with PHP. here is the code function createChatBox(chatboxtitle,minimizeChatBox) { if ($("#chatbox_"+chatboxtitle).length > 0) { if ($("#chatbox_"+chatboxtitle).css('display') == 'none') { $("#chatbox_"+chatboxtitle).css('display','block'); restructureChatBoxes(); } $("#chatbox_"+chatboxtitle+" .chatboxtextarea").focus(); return; } $(" <div />" ).attr("id","chatbox_"+chatboxtitle) .addClass("chatbox") .html('<div class="chatboxhead"><div class="chatboxtitle"><a …

Member Avatar for pritaeas
0
222

The End.