199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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]; … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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) … | |
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, … | |
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 | |
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) … | |
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 | |
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 … | |
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: … ![]() | |
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"; }} … | |
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. … | |
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). … | |
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 … | |
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 - … | |
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 … | |
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 … | |
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. | |
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. | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
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 | |
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 | |
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 … | |
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. … | |
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 … | |
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 … | |
![]() | 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 … |
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'; … | |
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 … | |
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 … | |
**can u help me how to convert a pdf to docx file extension using a php or javascript?** | |
**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(); … |
The End.