199,114 Archived Topics
Remove Filter ![]() | |
![]() | Need help! As you can see, I'm working with a crosstab report that will display the product's "Total Sales" or "Quantity Sold" on a particular year in a monthly basis. Now my problem is, I can't figure it out how I can display the monthly total sales or quantity sold … ![]() |
Hello you wonderful people you. I am getting most upset with a pathetically unimportant bit of code. I have an iFrame. This iFrame loads a php script, the php script is not however html, it is a pdf document generated on the fly with FPDF. I have a second iFrame, … ![]() | |
When there is a if while else in pseudocode how do you interpret it in a flow chart. For example, a1 if c1 { a2 while c2 { a3 } } else { a4 } is the else statement connected to the if statement or the while statement and if … | |
Please consider the code below. This is a smaller version of what I'm trying to accomplish. Point instances will get random values to be printed in a 2D grid. In order not to have duplicates, I'm inserting them in `positions`. `ret` pair is used by me in order to know … | |
I have to build a program which takes a password as input and then the password machine hacks it. It should do it by looping through the ascii character map 4 times i.e a, b ,c etc followed be aa, ab, ac. It's meant to simulate a "brute force attack". … | |
Hi All, I'm a little stuck with one table's design. I have a table called tblConference_Board that will be updated approximately 3 to 4 times per year. The following is my table design: `CB_ID int (PK)` `CB_Mnemonic_ID int (FK)` `CB_Value decimal (18,10)` `CB_Year int` `CB_Quarter int` This table is loaded … | |
My forgot password is not updating the token table nor is it updating the password when changes it keeps echoing the error message below is the form code: Forgot Password</strong></h3> <form name="forgot" method="POST" id="forgot" action="includes/reset.php"> <div align="center"> <table width="372" border="0"> <tr> <td width="181"><p> </p> <p><strong>Password</strong></p></td> <td width="181"><span id="sprytextfield1"><br /> <label for="label"></label> … | |
Hi All, I have a table that holds monthly data in it. I need to average that data into Quarterly and Annual data but I'm not sure how to go about that. For annual I tried something like: SELECT TOP (100) PERCENT b.vSeries_Type as [Description],b.vSeries_Number as [CANSIM], Year(a.IPI_Ref_Date)as [Year], avg(a.IPI_Value) … | |
Hi anyone can help, am having this error on line 10: uncaught TypeError: Cannot read property '0' of null. I have use the same code other places, same array but never got this error. I dont know why am having this error here. this.addEventListener("message",function(e){ importScripts('test.js'); var object=e.data; object=JSON.parse(object); mArray=object.array; var … | |
Hello everyone... I've searched a lot for this but i can't really figure this out. My project consists of 5 .c files and 4 .h headers. all in the same folder. I compile them separately succesfully but when it comes to group compiling (gcc -o progname and all the code … | |
Hi: i have site contact form that validates required fields w/ .js And php. if browser has javascript turned on, the req'd info error message will show next to the field boxes .. if javascript is turned off, then user will see the same thing but coming from php instead... … | |
When using the Grep command to find a search string in a set of files, is there a way to dump the results to a text file? Also is there a switch for the Grep command that provides cleaner results for better readability, such as a line feed between each … | |
Hai everyone. I am new to this discussion. Can anyone tell me about basic XML site map creation | |
I have a carousel that works fine on it's own, but something's killing it when I load its page into my main page. Not sure what would cause it? i'm using "Caroufredsel". Here's the main page, with script to load page based on which navigation selected. If the user selects … | |
I have a question about php mail() function. This function allows multiple recipients that separated by comma, for example: $mailto="a@test.com,b@test.com,c@test.com"; mail($mailto,$subject,$message,$headers); If all recipients address are correct, no problem, mail can be sent properly. However if one address is no longer valid (for instance he leave company), this mail function … | |
I'm including these three files in my C++ program: [CODE] #include <stdio.h> #include <cstdlib> #include <iostream.h> [/CODE] The C++ compiler I am using (Dev-C++ 4.9.9.2) Allows me to run this program. but I still receive an error message saying: [CODE]#warning This file includes at least one deprecated or antiquated header. … | |
hey guys, I've been working on that moodle database link and I have it somewhat working! I have it logging in and echoing the username. This is the login section: $query = "SELECT * FROM moodle_user WHERE username = '{$_POST['username']}' AND password = '$password'"; $result = mysqli_query($con,$query) or die(mysqli_error($con)); //setup … | |
Quick sort is a faster way to sort a given array by recursion The algorithm goes like this: it first takes some index element and seperates all elements lesser than this with larger numbers then places this element in right place and does the same thing with all other | |
Hi guys,i was using crystal reports in my vb.net project.I read in some books and in the internet that you can create a grand total for some fields like total cost calculation.And using 'sum' you can calculate the total result.well in my case i can't find 'sum' in my crystal … | |
i have decleared all variables as double. Sub kaat() goldkaatinratti = (Val(txtbox_tolagoldweight.Text * 96) + Val(txtbox_mashagoldweight.Text * 8) + Val(txtbox_rattigoldweight.Text)) * 8 / 96 End Sub but when i leave the textboxes empty it gives ma the error (Conversion from string "" to type 'Double' is not valid.) i CANNOT … | |
hey could anyone please tell me how to create a dialog from a background thread that is not a UI thread in Android?? something like this.. Thread t=new Thread(new Runnable() { @Override public void run() { Thread innerThread=new Thread(new Runnable() { @Override public void run() { /////***** i need to … | |
hi.. i'm new in using j2me,, and currently i'm using eclipse to build the j2me.. and i'm using mysql for the database, how do i connect them? and how can i retrieve the data from the database? | |
Hello all, This is a two parter. One is an error that I'm receiving and one is a question in general about the capabilities of PyUSB. 1) So I've installed libusb from the tar file by just doing ./configure && make && sudo make install and I have checked that … | |
I have been getting used to c++ as I have been trying various scenarious on programs and exand on them with new concepts. This is my first try at exporting data from command line to a text file and the program runs fine with all the calculations. The real issue … | |
Hey guys, I'm trying to learn how to use classes and work with seperate files, and I been reading about it and now I tryed making a little short "Hello World" thingy but I don't really understand the self. things, I thought I did but it's not working so I … | |
Hi All I am trying to format the sql ouput reg_date into a date format current details echoed out 2013 - 03 - 08 12:12:11 I just require the date only echo stripslashes($row['reg_date']) $result = $mysqli->query($query) or die ($mysqli->error.__LINE__); if($result->num_rows > 0) { while($row = $result->fetch_assoc()) { echo stripslashes($row['reg_date']) . … | |
For a script that needs to be run on multiple pages with different coding etiquettes, I need to be able to figure out when there is some dynamic change occuring in the DOM. MutationObservers cater for Chrome and Firefox but I'm having problems with IE so onpropertychange event is something … ![]() | |
hi i am new to sql i want to get some values from different tables and i have made my own logic like that "SELECT course_name, course_id FROM tbl_course WHERE course_id = (SELECT course_id FROM tbl_enrollment WHERE student_id = '" + lbl_StudentID.Text + "')" what could the correct sytax for … | |
Hello This is one of those stupid questions but you gotta ask to be sure What is var h=0; h += 5; var l=0; l -= 5; Is it the same as: var h=0; h = h+ 5; var l=0; l = l- 5; Thanks and sorry for the stupidity | |
Hi all, I have been getting ImagickException with imagick on my server but cannot reproduce it on my computer(localhost). This is when I try to call thumbnailImage(with, height, true) for a JPG exception 'ImagickException' with message 'Memory allocation failed `/tmp/funYYmdPl[0]' @ cache.c/AcquireCacheNexusPixels/416' This is when I call writeImages(path, true) for … ![]() | |
Hi all, I'm trying to run a stored procedure: BEGIN SELECT YFR_Master_Fundraisers.FRName, YFR_Master_Fundraisers.FRActive FROM YFR_Master INNER JOIN YFR_Master_Fundraisers ON YFR_Master.FundRaiser = YFR_Master_Fundraisers.FRNameCode GROUP BY YFR_Master.FundRaiser HAVING MAX(YFR_Master.CollectionDate) < DATE_SUB(CURDATE(),INTERVAL 2 MONTH) AND YFR_Master_Fundraisers.FRActive = 1; END But I'm getting the following error: Procedure execution failed 1312 - PROCEDURE db355379982.Deactivate can't … | |
Hai everyone. I am new to this discussion. Can anyone tell me about xml site map creation. | |
Hi buddies how are you, now am using replication for mysql database from one server to other Master-slave replication, using this article https://www.digitalocean.com/community/articles/how-to-set-up-master-slave-replication-in-mysql but this not satisfied my needs, I have multiple server and all their databased replication to single slave server to be more accurate, I have servers **A**, … | |
Hi, I am working on an hotel booking system for a small hotel.I finally found a nice tutorial on HTML.it.It is in Italian but that's not a problem for me as Italian is my mother tongue.The site consists of the usual tables like clients, reservations, etc.I ran all the scripts … ![]() | |
Hey guys, I wasn't exactly sure where to put this post, but this was my best guess: I'm on a HPC and wanted to use vim as a python IDE and was trying to install my own version of vim (7.3) with a python interpreter. I use configure to enable … | |
i just want to make a mp3 player, but i got problem at my mp3 path. this is my code: Public Class Form1 Private Sub Import_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Import.Click FBD.ShowDialog() TextBox1.Text = FBD.SelectedPath Dim folderInfo As New IO.DirectoryInfo(TextBox1.Text) Dim arrFilesInFolder() As IO.FileInfo Dim fileInFolder … | |
I am a final year student. My supervisor had asked me for creating one chat program using java. i don't have any idea on how to started it. he asked me for doing a standalone system. please help me solve this problem? | |
when include file to dreamweaver i cant edit anything in design view. <?php require('header.php');?> What should i do? | |
I currently have $tableName="thenameofthetable"; $someid=$_GET["someidthruget"]; $result = mysql_query("SELECT name,age FROM ". $tableName. " WHERE idp=". $someid); Which looks really insecure. How can I do it using a stored procedure which I think will make it a lot more secure? Thanks | |
I want to pass a combo box value from url in php. I have no idea how to do it. I just try like this. This my combo box html code. <select id="ID1" name="place" > <option value="Colombo" selected="selected">Colombo</option> <option value="Matara">Matara</option> <option value="Galle">Galle</option> </select> //What i want is pass selected value … | |
Why does this code snippet keep getting Undefined offset: 2, Undefined offset: 7, Undefined offset: 11, respectively? I'm not sure where I'm going wrong, for($i = 0; $i < $user_length; $i++) // CHECKS IF THE USERNAME, FIRST NAME, IC NUMBER AND CONTACT NUMBER IS ALREADY BEEN REGISTERED AS A MEMBER … ![]() | |
Hy All I have another problem. When somebody going to my download link [Click Here](http://www.filemonster.org/download.php?id=11) a window pop up to download the file called get.php. I dont want that to appear. Because its not the file which is under the "regulr downlod button" . The get.php its the file which … | |
Hi everyone I'm studying the part about while-statement but I don't understand the explanation in the book really well and the example doesn't work for me so I can't see it with my own eyes how it works. Can someone explain what the while-statement means and does? Also can you … | |
I want to show popup on item selected in dropdown control. I tried popup script on this but doesn't works. my code is as below <select> <option value="1990">1990</option> <option value="1991">1991</option> <option value="1992">1992</option> <option value="1993">1993</option> <option value="1994">1994</option> </select> now if I have select option i.e 1992 popup window should display the … | |
![]() | Hello All, I'm having trouble with a little string search. My code downloads a webpage that contains a table of a list of sharenames, the company name and a margin rate in the following format: [CODE]<tr class="odd"> <td>AAC</td> <td>Australian Agricultural Company Limited.</td> <td>35.00%</td> <td> No </td> <td> No </td> <td> … |
Hi, I would need help in getting this logic done. I am having an input file in below format: AAAAA HsfAgr345S 001 pos gfdgojog AAAAA HsfAgr346S 001 pos gfdgojog AAAAA HsfAgr347S 001 pos gfdgojog BBBBB POSgfgh571 002 ipo postalap BBBBB POSgfgh572 002 ipo postalap BBBBB POSgfgh573 002 ipo postalap BBBBB … | |
Hi, I was wondering if there is a possibiity that you can put a PHP form into a Jquery Accordion. SO when you slide it open and close a new form appears? If there is can sombody point me in the direction of a tutorial or article explaining this. | |
I am having trouble animating a div on the same page as the div that is not animating. Here is my code: Page 2 <?php mysql_connect('127.0.0.1', 'root', ''); mysql_select_db('table'); $query = mysql_query("SELECT * FROM `blog`"); ?> <script> $('.post').click(function() { var value = $(this).attr('rel'); $('.load_post').html('Loading...').load('load_post.php?value='+value); $('.load_post').animate({"left": "-=1500px"}, "slow"); $(".posts").animate({"left": "-=1500px"}, "slow"); … ![]() | |
Not sure if I can do this but I'm reading through JavaScript: The Definitive Guide, and I'm going to be posting practice scripts that work. They may not make sense, but they work. I'd also like responses on how these simple snippets could be used and how they can be … ![]() | |
Hi, i am biggener to VB.NET and ADO.NET. I have created a VB.NET form contains "Date From" and "Date To". i want to pass these two range parameters to crystal reports to manipulate the result. What is the way to do so using ADO.NET. Kindly some one explain Step by … |
The End.