64,152 Solved Topics
Remove Filter ![]() | |
![]() | hello today i was trying to add search functioality to my site. my site actually display analysis reports for websites like google.com but what if user enter simply google so i thought why not to add search function that display results on keyword google. well i added search.php to my … ![]() |
i am having a problem, i downloaded the project from dev to my local, though it is running fine on dev but on local, it says me the following error Fatal error: Class 'DB' not found in F:\xampp\htdocs\timesheet\index.php on line 9 my index.php is <?php session_start(); error_reporting(1); include_once('classes/db.php'); include_once('classes/functions.php'); //========================================== … | |
Hi guys ! Anyone familliar with planetsourcecode? I downloaded a simple inventory sysyem and calculator to study the codes. But I don't know how to open them using Eclipse.. Help me pls ! Thanks! | |
Well I have a background in using Java 3yrs ago, a long time. We've used Jcreator for school. Now I want to review and study Java again but I saw too many types or kinds of JAVA and I am confused. What JAVA can you recommend? And what application should … | |
how i can make the cell on my DGV linked to other DGV ??? | |
Hi All, I am trying to run a second script from my first script and this works ok i can send it a variable and recieve back my answer however I am using Tkinter for my forms but when i start the main my program both scripts run although i … | |
Hi, I'm having some trouble. I am fetching a list of "training tickets" from a table and each has its own transaction id for ease of coding. Everything appears as it should (though I'm in the very basics of tweaking that) but when I hit 'reject' it is deleting the … | |
![]() | i want to design apps and software any kind of software for desktop computers.. like photo editing software video editing software basic software with photo effects etc |
I have a project where I need to get and count distinct values in tags in an XML document. If you look at the XML, I am specifically trying to count the distinct number of WorkOrderNumbers for Tuesday. Later I will do Monday and so on. I have tried the … | |
Hi All, I am developing a Java Swing application where I am using MS Access database. The problem is when I want to move this project to another location or machine or workspace, I need to change the data source properties in "Administrative Tools". Is there any work-around for this … | |
ArrayList<String> cs = CourseAssignments.getInstance().getStudentCoursesByName(sname); %> <table border="1" cellspacing="1" cellpadding="8" bgcolor= #EBDDE2> <% Iterator<String> i = cs.iterator(); while(i.hasNext()){ %> <tr> <td><%= i.next() %><input type= "radio" name= "courses" value="<%= i.next() %>"/></td> </tr> <%}%> </table> <center><input type= "submit" value= "Submit"></center> </form> <%} In ArrayList cs I have all the courses that a student … | |
#include <stdio.h> #include <stdlib.h> int i=-1; main() { int a[30],n; printf("enter the no of terms: "); scanf("%d",&n); store(a,n); } int store(int a[],int y); { if(i==y) { return \\it should return and terminate exit(0); } i++; printf("enter the number: "); scanf("%d",&a{i]); store(a,y); i know i had made a mistake but where … | |
i have made a queue using STL. the queue contains strings only. how to check for a particular string if it present in queue or not? | |
As the title said, how would I get text from a input tag and show it dynamicly. So whenever i press a, it shows up in a p tag. How would I do this in jQuery? EDIT: Here is what I have but its not working: <html> <head> <title>update text … | |
| |
Hello Everyone. I am making a tool in which I want a button to do the following job e.g; A=(1,2,3) Signature Guide B=(1,2,4) File Signature In short I am making an antivirus, every thing is done, except "clean" button. I want that the clean button should do the following job. … | |
Hi, I have several functions that I'd like to operate on both mutable and immutable containers (mostly tuples vs. objects) and I'm looking for the optimal way to test for mutability in these objects. I can think of many ways to do this. For example: try setattr: do mutable stuff … | |
hi, just want to maek sure some thing. so i have a table called user. in user table i want to add a field called date of birth. but i dont know which type to choice. it has int, varchar, date, datetime etc. but no date of birth. do i … | |
Hi everyone, I'm new here. I have a problem and I hope someone can help me with it. Actually, my problem involves arrays but its about the Gregorian Calendar class. I am trying to output a series of concentric circles . I have created two classes with two different types … | |
Hey, I was hoping someone can help me convert a piece of php code, im not really sure where to start pack( 'v', $test ); The pack php function above takes in an integer and converts it to an unsigned long. V - unsigned long (always 32 bit, little endian … | |
Hey Guys, I've got a question that's gotten me stumped. Granted, i've been away from MySQL and daniweb for well over 18months, i've picked up pretty much where i left off back then, and am just filling in the blanks as i go along. **My question is:** i have a … | |
I keep getting "None of the 6 overloads could convert all arguments". I only get this problem in visual studio though. When I compile with g++ or codeblocks, it works perfectly fine. The code I'm calling my templates with is: `MemDeSerialize(ListOfItems, SerializedData, size_t(Data[2]));` The definitions: template<typename T> void MemDeSerialize(T& Destination, … | |
Hi, I am new to Oracle. I have installed Oracle 11g R2 standard edition (server software, 2GB download from Oracle). I found that the 'Environment Variable PATH' has not been set. Which of these directory should I use for the PATH value:- 1. Oracle base, 2. Software location or 3. … | |
![]() | Hi I'm having issues with **get_magic_quotes_gpc()** function. I download this **Ajax File and Image Manager** from this site: http://www.phpletter.com/DOWNLOAD/ I install it on tinymce & fckeditor to test it out. They both work. I try to link the images and it didn't work and I also realizes the links are … ![]() |
My webservice which was working fine, all of a suddenly it has stopped working. I see no exceptions in the logcat. I can invoke the webmethod of the service from the browser of my android device but its not working from my android app. here is my code public class … | |
I have one div which contain UL and LI. In this I want to generate dynamic Id of that LI. right now I given static id of this . Now In this I want to generate my li's ID like given below. Now I'm bit confused how will I get … | |
Hi guys, I having problem with the gridview. In the gridview there will be a columnn that contains Textbox and dropdownlist. I need to enable to disable control based on the datatype in the database for example Text, it will display the textbox control or date datatype it will display … | |
Hi, I have load data method as follows: public List<SalesOrderHeader> Load_SaleOrderRelatedInfo() { try { using (var context = new AdventureWorksEntities()) { return context.SalesOrderHeaders.Include("SalesOrderDetails").OrderBy(so => so.SalesOrderNumber).ToList(); } } catch (Exception ex) { throw ex; } } and method for data binding: public static DataTable Binding_SaleOrderInfoRelated() { using (var services = new … | |
![]() | For Windows Mac Linux etc How Do I make awesome applications and what do i meed to know when designing them? like what skills do you need? |
Given the trace program below. I basically need to store a 1 or a 0 to the corresponding `a[r[i]]` the problem is I need to be able to keep track of the index of vectors zero and one to check the last index that was used for each vector. For … | |
Hello, anyone can help me with parsing an html table data to be saved directly in an excel file from the same parsing app? | |
![]() | Hi I want to find out is there a way to check syntax errors on PHP. I went to this site http://php.net/manual/en/function.php-check-syntax.php but I didn't quite understand the example in there. Is there a software that I can check the errors. I used EasyPHP, WAMPP. I appreciate any links or … ![]() |
Hello, I'm trying to read the header information of a .wav file and I'm kind of stuck. Basically, the header information is located at different offsets in the file. So for example: (0-4) = ChunkID (4-8) = ChunkSize (8-12) = Format .. .. .. .. .. .. From this: https://ccrma.stanford.edu/courses/422/projects/WaveFormat/ … | |
<?php include('./config.php'); //protect SQL injection $username = $_POST['username']; $password = $_POST['password']; $username = stripslashes($username); $username = mysql_real_escape_string($username); $password = mysql_real_escape_string($password); $password=hash('sha256',$password); //SQL query that sent login info to database $result = mysql_query ("SELECT * FROM admin WHERE Login ='$username' AND Password ='$password'",$con); $check = mysql_num_rows ($result); @session_start(); if ($check == … | |
What are some safe sized datatypes? Inother words, stuff like size_t, uint32_t. They don't seem to change no matter what machine I use. I'm asking because the confusion comes in here: I'm not sure when to use long vs int. I did a sizeof(int) and sizeof(long) and they are both … | |
Hi im having a nerve wrecking problem with my script, i'm trying to make a form validation that when a field is empty it will prompt a message that needs fo fill up the missing fields..and i made it already the problem is when i put a separate script for … | |
Hello all! I have used this forum many times in the past to solve a variety of programming related problems, but am truly stumped on a segfault within a binary search tree. I have isolated the segfault to a fscanf statement that look legitamate to me. The following code blocks … | |
Say I have the below example, the syntax is based off constuctor chaining for clarity (and my cluelessness). public static void Feed() : this("Unknown"){} public static void Feed(string FoodType) { if (Food != "Unknown") Console.WriteLine("{0} eats some {1}.", Name, Food); } How would I actually implement this for methods? It … | |
I need some help on how can i put some Event handler on my Button mybtn using code. private void button1_Click(object sender, EventArgs e) { Button mybtn = new Button(); mybtn.Text = "First"; FlowLayoutPanel flowlayoutpl = new FlowLayoutPanel(); flp.Controls.Add(mybtn); panel.Controls.Add(flowlayoutpl); } | |
I made a simple program - conservative sequence integers with a sum, for example input: 15, the output should be 1, 2, 3, 4, 5 I made this program in c++ and it worked successfully, see below: #include <iostream> #include <string> using namespace std; int main() { int num, i, … | |
Hello, I need some help with these simple questions. I am a first year IT college student and I do not know how to apply math.pow to these statements. Given the following expressions, re-write them as Java expressions using some parentheses to indicate a sequence of operator evaluation. 1. v … | |
Hi, i'm working on a grid, where the data can be saved, modified and deleted from the grid and effects in the database. I have a problem,i.e after I enter data in one row and goto the next row, the next row automatically gets filled by the same data as … | |
Hi There, I'm busy developing a PHP / MySQL billing system for our company but can't seem to get the following working for me. I need to have 1 page that will display the extensions billing period / month for local, national and international calls and it needs to be … | |
Hi, I am accessing a stored procedure through the Entity Framework. I have generated the access code, as well as the view. The problem is that the procedure returns an ObjectResult(Of T), and the view is expeting IEnumerable. I have tried various ways of casting the ObjectResult, but I am … | |
Can someone pls help me ? I have an ASP.NET page with Gridview(with EDIT and Delete functionlity) and dropdownlist inside it, the Dropdownlist is well populated with the correct values but whenever I click EDIT button in the gridview the selected value in DropDownlist is set to the wrong value(to … | |
I have a dataset (GrindItems) with 4 datatables successfully populated from dbf files. If I understand the concept of a dataset, I no longer need an open connection to the source db and I should be able to query my dataset. My first question is whether I need a Connection … | |
Hello, wondering if someone can help me. I'm working with a .wav file, and, I need to collect the header information. The header contains (roughly, 20 bits/bytes) before the actual data. And, each of this data is contained at different locations in the file. I need to read a particular … | |
hi guys i got some problem with this code error said that exact fetch row return more than expected rows CREATE OR REPLACE PROCEDURE "MAINTAIN_REQUESTSTATUS1" (emplevel IN NUMBER,eid IN NUMBER,depid IN NUMBER,teamid IN NUMBER) is lastreq number; seq number; stat NUMBER; tok varchar2(60); appr number; CURSOR c1 IS select empid … | |
| |
Hi everyone, The function I've got works perfectly but the problem is that it displays the message quickly and then the message disappears for some reason. Am I doing something wrong?? function validateForm(){ var input0 = document.getElementById('input0').value; var input1 = document.getElementById('input1').value; var input2 = document.getElementById('input2').value; var input3 = document.getElementById('input3').value; var … |
The End.