199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for branding4you

What am i doing wrong, It works when I hard code it, but when I try get the names from MySql it gives me the finger, cannot access docs OR it sends the mail wth no attachemnts is there a better way or something that I am missing, Look my …

Member Avatar for branding4you
0
101
Member Avatar for php_noob

My article title is a bit misleading but since it is my primary concern so I made that my title. Anyway, this is the problem I have form and it generates a list of people that is needed to be scheduled. this is (more-or-less) the code. <?php $strQuery = "your …

Member Avatar for adam.adamski.96155
0
155
Member Avatar for Blousey17

1. I need to store numerous records in one binary file. Each of the records needs to include a name and an answer to a question. I know how to set up and add one record but how do i set it up so that I can add others at …

Member Avatar for pritaeas
0
584
Member Avatar for lulu79

Hi, Is it possible to send an email from SMTP server, for example from do_not_reply@xxxx.xxx.com, without have the server credential (username and password) inside my code? I tried one code, it works, but it send from my email account. Not from SMTP server. I also tested several code but I …

Member Avatar for lulu79
0
2K
Member Avatar for fdkallday_1

hi. im developing an inventory system. my problem is i need to create a datareport with date range so i created a query in ms access and i got the result but to get the result i should run the query first then a dialog box will pop-up to get …

Member Avatar for AndreRet
0
158
Member Avatar for slygoth

I am trying to store some values return from a function. Its returning three values that i want to use in the main function. int display() { int iter; int num[4]; if(dl!=-1) { for(iter=0 ; iter<=al ; iter++) { cout<<t[iter]<<", "; num[iter]=t[iter]; } } else cout<<"EMPTY"; return num[0]; return num[1]; …

Member Avatar for Despairy
0
204
Member Avatar for sneha_07

i am working on making a scientific calculator in netbeans using wing components and i used combo box for conversion purpose but the handler code i wrote isnt working for all conversion, it only works for the 1st item. and please help me with "action" and "item" on the right …

Member Avatar for stultuske
0
132
Member Avatar for geneh23

Hey everyone, So I'm starting a new thread because my other thread was solved and I had forgotten it was. Anyway, I am creating a forum stite from scratch as a side project and I have a main forum page that "includes" two tables that get data from three different …

Member Avatar for LastMitch
0
145
Member Avatar for jamd200

Someone asked me to code a program that translates French-language PDF files to English, and I thought that maybe I could convert the PDF files to Word documents or some other text document with a program I coded in C++, and then translate the text using Python's xgoogle library. Is …

Member Avatar for zarfishan
0
2K
Member Avatar for daino

I'm tryhing to configure, then build f**ontconfig version -2.10.1** on **Windows XP**. My compiler is **MinGW 4.4.1.** Initially I try to configure this using MSYS and I get an error telling me I'm missing **intl.dll** . I eneded up downloading this then runing the **./configure** command again and I get …

Member Avatar for daino
0
299
Member Avatar for Khav

Greetings, I have two tables named 'copyright' and 'logs'. Table : copyright Field : Copyr_md5 Table : logs Field : md5checksum Problem 1 Say i have a value stored in `$md5check` in php , now i want to check if the value stored in `$md5check` is found in field `Copyr_md5`.If …

Member Avatar for Khav
0
247
Member Avatar for moneypro

Hi, Thanks to all in advance. I am a newbie java learner. I have to create a project on java for my final term exam. But I cant find the topic of the project. Please suggest me some good but unique project topic. note: I would not like to create …

Member Avatar for moneypro
0
130
Member Avatar for daniel.moore.5099940

okay so i have this program that is basically like moving the sides to a 2 dimensional rubiks cube. for example 111 222 333 is a 3X3 two dimensional array and when coordinate (0, 1, 2 being 1, 2, 3) 1, 1 (meaning in our number system as 2, 2) …

Member Avatar for daniel.moore.5099940
0
3K
Member Avatar for hotblink

Hi, I need some help to make a program where python reads each line(a string) of a .txt file. -sample txt file-(EOF stands for 'End of File) I need it to be able to read up to 300 students. ID , Last , First, Lecture, Tutorial, A1, A2, A3, A4, …

Member Avatar for snippsat
0
428
Member Avatar for syfyguy

i need help with changing a text box for a calculator ex: 1. if (textbox3.text = 0) then (textbox.text = 1) 'i need help with that thx

Member Avatar for Reverend Jim
0
157
Member Avatar for tonyfonseca

I have the following code to search the stores by name and and order by transaction date by Asc which works perfect. My questions is how to performe a subtraction by row (checkamount-redeposited-replacement-paidcash = balance) and totalize by columns (total checkamount, total redeposited, total replacement, total paidcash and total balance) …

Member Avatar for tonyfonseca
0
302
Member Avatar for raghuvbhat

Hi.. i am new to python and I want to put logfile to get the logs for every function including that function name with arguments. could any one help on this. Thanks raghuvbhat

Member Avatar for woooee
0
64
Member Avatar for NoUserNameHere
Member Avatar for sean.walker.3785

I am making a maze that consists of 48 nodes and the user needs to start in A1 and make there way to H6. The maze is created by reading a file, each line in the file looks something like A1 A2 B1 - - - where A1 is the …

Member Avatar for sean.walker.3785
0
189
Member Avatar for Dino000

Hello. I've been through dozen of tutorials about regex, and obviously still don't understand everything. I'm trying to get data (a whole DIV field and its contents) from another website, and display it on my page. It seems to get everything, but the DIV field. This is what I want: …

Member Avatar for LastMitch
0
294
Member Avatar for jayson.ako

i want to make a crical repot that notifies the admin if the products in inventory is running out lol. need some help :) <?php include ('config.php'); ?> <?php $result=mysql_query("select * from inventory"); $num=mysql_num_rows($result); $qtyleft=['qtyleft']; $name=['name']; if($qtyleft <= 5){ while ($row=mysql_fetch_array($result, MYSQL_ASSOC)){ echo '<span>'.$name.'</span>'; echo "almost out of stock"; }} …

Member Avatar for jayson.ako_1
0
128
Member Avatar for Brick Wall

Hi im wondering if someone can help me i have to create the following program but dont quite know where the hell to start here is the scenario Operation • A local recording studio rents its facilities for £200 per hour. Management charges only for the number of minutes used. …

Member Avatar for Brick Wall
0
128
Member Avatar for rocket3443

Hi, I am having a problem when I'm trying to open and read a file with python. My code goes as follows: def main(): f = open('nummer.txt', 'r') text = f.readlines() print(text) main() But when I try to run the code, I get an error. (No such file or directory). …

Member Avatar for woooee
0
448
Member Avatar for Dili1234

Please help me I got a error:Incorrect syntax near ')'. It pointed to the update_product.ExecuteNonQuery() Dim update_product As SqlCommand = New SqlCommand("Update sell Set Mode_Of_Payement(Cash)='" & TextBox9.Text & "',Payement='" & TextBox6.Text & "',Balance='" & TextBox8.Text & "', Mode_Of_Payement(Cheque)='" & TextBox9.Text & "',Cheque_No='" & TextBox4.Text & "' where Bill_No='" & txtbillno.Text …

Member Avatar for Dili1234
0
117
Member Avatar for branding4you

I have a page that has to display how many documents the user has given in for him to recieve commission I tried count but it gives me totals, Im new to sql "count" and "group" tabel has three fields: id, user, date, refnum 1 - mike - 2012/01/01 - …

Member Avatar for pritaeas
0
1K
Member Avatar for joshmac

I have a plugins system with update notification. The update notification works, but I made some changes so that the script will execute every hour instead of everytime the page loads. This is handled by the (time() + 3600) being written to a check.cfg file. I wanted to to cut …

Member Avatar for joshmac
0
201
Member Avatar for sapure

I've been studying C++ for two years, then started Java two months ago. My performance in C++ wasn't good at all although I study hard. I thought that the problem is in not understanding the language concepts but when I started a new language with the intention of building up …

Member Avatar for sapure
0
181
Member Avatar for pjh-10

trying to do a 2D array of a square sorta shape, and want to display it in the format 1-12 in the order 1 2 3 4 5 6 7 8 9 10 11 12 im an absolute novice if you cant tell, just wondering how i go about this.trying …

Member Avatar for pjh-10
0
135
Member Avatar for coder91

Have a drop down list that is populated using a stored procedure, however instead of the first value constantly showing I would like to have a default value saying "Please select" not sure how i do this though.

Member Avatar for JorgeM
0
191
Member Avatar for coder91

Hi I have a gridview with a select button that when the user hit's It will take them to a new page. Just wondering how I do this? Thanks in advance.

Member Avatar for JorgeM
0
102
Member Avatar for Kronolynx

the applet compiles fine(no errors) but while running when i press the accountButton(only button in the applet) i get errors, what is wrong with my applet ? thanks in advance Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException at AppletMetodos.actionPerformed(AppletMetodos.java:96) at java.awt.Button.processActionEvent(Unknown Source) at java.awt.Button.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at …

Member Avatar for Kronolynx
0
311
Member Avatar for TexasJr

I'm writing a program for my class that is due tomorrow. I thought I was done, but as I starting using it to get an output file, I ran into a problem, and I can't get past it. I have also gone over my code to see if I made …

Member Avatar for TexasJr
0
176
Member Avatar for johnjo

I am trying to update a edit profile in mysql. the first bit of code is when the submit button on forum is hit the data in my table users willl change. the secound bit code get the user info from the database it work fine you can select what …

Member Avatar for LastMitch
0
227
Member Avatar for Tsaou

Hi, recently i started taking lessons on c programming and my first assignment was to make programm which would name all the perfect multiperfect or superperfect numbers within a set (whose limits will be given as #define constants) and their percentage. Anyway apart from any logic errors (which i would …

Member Avatar for Gonbe
0
319
Member Avatar for vjjohnson04

public class hello_world { public void sample(){ System.out.println("Hello World"); } }; /*Now I can access this method using an Instance of it in my Main Class or by inheriting it.* Public Class main{ public static void main(String args[]){ hello_world sam = new hello_world(); sam.sample(); }; } /*Class using inheritance Public …

Member Avatar for Taywin
0
311
Member Avatar for Eggstraordinary

I'm trying to clear a value in a textbox whenever i click the clear button. But i keep on getting a syntax error expected "=" in the line document.getElementByid. Is my code wrong? <?php function clear(){ document.getElementByid('textinput').value=""; } if (isset($_POST['textinput'])){ echo $_POST['textinput']; } if (isset($_POST['clear'])){ clear(); } ?> <form action="index.php" …

Member Avatar for Eggstraordinary
0
394
Member Avatar for Growl

Hi, friends! I got a serious problems... Tomorrow I need to send this assignment to my professor. I tried a lot of hours but still no useful results.. :( You guys are my last hope :(! > There is an integer n. > Find numbers that: > *can be expressed …

Member Avatar for NathanOliver
0
124
Member Avatar for McLaren

Hello, could you explain me why in my code it does not work when I put the ball with the mouse inside red road path. http://pasteboard.co/BtiWYXE.png I think it 'thinks' that the space inside red is not empty and pushes the ball out. What could I do? http://images.thumbshots.com/image.aspx?cid=1162&v=1&w=300&url=http://www.html5canvastutorials.com/labs/html5-canvas-physics-engine-with-curve-detection/ I was …

Member Avatar for McLaren
0
257
Member Avatar for adishardis

Hi, I'm trying to format an array like this: `[['Apr,2012', 5],['May,2012',10],['Jun,2012',20],['Jul,2012', 13]]` from this: while ($row = mysql_fetch_assoc($result)) { $dates[] = date("M,Y", strtotime($row["Datum"])); $data[] = $row["forsta"]; } But I don't know how to combine them in the right format?! Any hints on how to accomplish this? /Adam

Member Avatar for adishardis
0
114
Member Avatar for amith_ami

hi guyz, pls help... what does this warning means??? is there any alternative for implode();? Warning: implode() [function.implode]: Invalid arguments passed in /home/tjconsul/public_html/admin/actions/act_addcandidate1.php on line 40

Member Avatar for adam.adamski.96155
0
2K
Member Avatar for hwoarang69

i spent about 1 to 2 months building a php website on my localhost. i feel like its finish and i would love to put it online for whole world to see it. on this site iam also using xampp database to keep track of user and passwords. note i …

Member Avatar for pritaeas
0
250
Member Avatar for techgeek420

Hey Guys, This is my first program where I have used JLabel and JText. Im trying to create a program that will solve a simple quadratic equation. I have the program to the point where it will solve the equation, I just cant get it to display in the window. …

Member Avatar for stultuske
0
188
Member Avatar for samsonmitu

Public Class txtSurname Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cn As OleDb.OleDbConnection 'Dim con As OleDb.OleDbConnection Dim dbProvider As String Dim dbSource As String Dim DS As New DataSet Dim DA As OleDb.OleDbDataAdapter Dim sql As String dbProvider = "PROVIDER=Microsoft.Jet.OLEDB.4.0;" dbSource = "Data …

Member Avatar for Reverend Jim
0
218
Member Avatar for jemz

Hi, can you help me please how can i populate data from my listview using sqldatareader. by the way can you please explain me why is it that listview in first column we call item but the other column we call it subitems.can you please enligthen my mind on this.I …

Member Avatar for Reverend Jim
0
1K
Member Avatar for FakeTales

Hey i have three forms on one page , i am getting them to write the data to seperate text files. If i use on form to post the colour it will write the colour to the text file but if i use the form to select which display i …

Member Avatar for neatric
0
337
Member Avatar for PriteshP23

I want to display table by default in ascendind order with dynamically changing header. Here is my code. It is displaying the rows unordered. It should be in ascending at first look and then can change by column. $order = (isset($_GET['sortCostCode']) && strcasecmp($_GET['sortCostCode'], 'desc') == 0) ? 'DESC' : 'ASC'; …

Member Avatar for PriteshP23
0
257
Member Avatar for krunalk

hi all, while uploading javascript for the google analytic code on my live site i am getting below error. Server Error in '/' Application. A potentially dangerous Request.Form value was detected from the client ((ctl00$ContentPlaceHolder1$txtanalyaticcode=") <script type=”text/j..."). Description: Request Validation has detected a potentially dangerous client input value, and processing …

Member Avatar for habeeb_matrix
0
645
Member Avatar for anonb

I am trying to store a file into an ArrayList and then have user input from console search for an element in the Arraylist and return found or not. It keeps giving me -1. public class arrayl { public static void main(String args[] ) throws FileNotFoundException { System.out.println("Please enter title …

Member Avatar for stultuske
0
347
Member Avatar for Mitnick06
Member Avatar for SautinSoft
0
186
Member Avatar for dr_iton

**I created a text file using following method:** using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace FajlliTekstual { class Program { static void Main(string[] args) { FileStream fileStream = new FileStream("shenime.txt", FileMode.Create, FileAccess.Write); TextWriter writer = new StreamWriter(fileStream); Console.WriteLine("Someone Else"); writer.WriteLine("Bla Bla"); writer.WriteLine("Bla Bla"); writer.WriteLine("Unkown Person"); writer.Close(); …

Member Avatar for Mike Askew
0
208

The End.