64,152 Solved Topics
Remove Filter ![]() | |
Is this a correctly made JOIN: [CODE] // Build SUBJECT navigation and gather SUBJECT data here-------------------------------- $sqlCommand = "SELECT id, linklabel, pos FROM subjects INNER JOIN pages on id = pages.subjectid ORDER BY pos ASC"; $query = mysqli_query($myConnection, $sqlCommand) or die (mysqli_error()); [/CODE] ? Klemme | |
Does anyone know how to handle errors? I want that, when errors happen such as the errors in datagrid, invalidcastexceptions or others, there should be some pop ups to show instead of the JIT dialog box. Please help me with this, this is the last part of my program (the … | |
Hi, I have a few questions which I need answering please. I have a ListView and I need to get the text in the cell which is clicked. At the moment i have this but it only works for the first cell which is clicked and throws an ArgumentOutOfRangeException if … | |
Hello. Im trying to add 2 times in C# windows form app. I have a function where I am retrieving a time field from database and adding it to another time which is in a texbox. I am able to retrieve the time field but when I am adding and … | |
![]() | Hi all, I'm new and I currently am developing a website on fishing fred's fishing. The site is an experiment for a portfolio ect. There is a feature, the guestbook. The Guestbook is managed by a MySQL database and the PHP is responsible for creating and echoing the data. I … ![]() |
can u please tell me how to make a graph or say what is a logic behind designing graph in jsp | |
hello, can somebody please help me. I need to create a clear button to delete all the data from my form. I don't know how to do this. can some body give an idea how to do this, I am using vb.net 2003. | |
Hi Frendz, i received this error "Fatal error: Call to undefined function curl_init() in ....../xxxx.php But its working fine in other system. | |
I have fields UserID, Status and etc. The status of the user will be either active or inactive. I want to count how many UserID of Active users only. I have a code here but it's not working..It says "Invalid or Unqualified reference". Can you please help me check this … | |
Hey all, I need some help with Editing a Table in a Database using php/ Can someone point me in the right way to do this. Thanks in advance, :) | |
Hi everyone, I need some help now. Can anyone show me a script on how can shared folder (not folder on the server) open using php? I mean my server's IP is 10.10.10.1 and then some shared folder are on the IP 10.10.10.2. Now I want to access the shared … | |
I'm working on a manage friend list program which allow you to add friends, remove friend from list, and display friend list. I have not finish this program yet. But I keep getting compile error at line 42 which I'm trying to create a method allow user to enter name … | |
Hey all I have to make a audio player in C# can any one tell me how to play an audio in c# form application ? Thanks in advance | |
Hello. I have been trying to run a simple script in Windows 7 DOS using the python command, but it returns this error message: 'python' is not recognized as an internal or external command, operable program, or batch file. I've looked up how to fix on Google, but I can't … | |
Hi all, I have a table with 6 rows and 5 columns. First row is the header, I want to change color for the values in the 5th column, i.e. if the value is >0 then the font color is red, if value is <0 then its green. I have … | |
Hey guys, I have a lot of javascript for my google map api and I have all the information stored away in an xml file which the javascrupt reads. I have many map markers but I cannot get a line break between th esets of markers, only each and every … | |
Hey everyone, I have to manipulate two functions RECURSIVELY, strlen and strcpy. I was able to code the strlen: [CODE]int length(char* str){ if(str == NULL){ return 0; }else{ return length(str, 0); } } int length(char* str, int l){ int len=0; if(str[l]){ len = length(str,l+1); } else { return l; } … | |
Hey everyone, I have my code written I just have one error I am stuck on, any help is greatly appreciated, thanks in advance. My one error is on line 80 saying "illegal start of expression" pointing at the 'p' of public [CODE] import javax.swing.*; import BreezySwing.*; public class binary … | |
Hi. I am trying to allow users to upload images to site. It works on testing server but having trouble on remote server. GoDaddy. Here is the upload dir for testing server: [CODE]define('UPLOAD_DIR','C:/xampp/htdocs/MyStuff/images/');[/CODE] Not sure for remote server. | |
For this program I am trying to figure out how to sort/print the words out based on frequency of appearance in ascending order. As of now I can only get the words to sort/print based on alaphabetical order [CODE] from collections import Counter import string while True: filename=raw_input('Enter a file … | |
So I have read almost all post over the internet, and I cannot figure out how to load profiles in a webpage. I have created a registration page and added some user steps into the registration page. When i sace the data, it will save all the profile stuff into … | |
Can someone help me in implementing a JDate picker without using packages, whereby will click the calender icon and the calender will appear. | |
[CODE]// erase.cpp - Script 4.1 // We need the iostream file in order // to use cout and cin. #include <iostream> // Start the main function. int main() { // Declare a variable for the user input. // Single character to store yes (Y) or (N) char answer; // Prompt … | |
[CODE]I am having two tables in MS SQL SERVER 2005 in master database. 1st table is Country & 2nd is City. [COLOR="Red"][B][U]I want to know the command for Copying a Column(with values) for eg say Name from City Table to Country Table. Column is not empty, its having values(data entries). … | |
I have an error in my project and I can't fix the problem [CODE] #pragma once class Node { int code; int count; Node* parent; Node* rightChild; Node* leftChild; public: Node(int c1,int c2); void setCode(int c); void setCounter(int c); void setRightChild(Node n); void setleftChild(Node n); void setParent(Node n); int getCode(); … | |
Hello again, I have a problem with dropdownlist. DropDownList: [CODE] <asp:DropDownList id="ddlStudents" runat="server" CssClass="textbox" OnSelectedIndexChanged="ddlStudents_SelectedIndexChanged" AutoPostBack="True" EnableViewState="False"> <asp:ListItem Value="0">Choose</asp:ListItem> </asp:DropDownList> [/CODE] Method which fills the ddl with data from DB [CODE] protected void GetStudents() { SqlConnection conn = new SqlConnection(connection); SqlCommand cmd = new SqlCommand("GetFullStudentProfile", conn); cmd.CommandType = CommandType.StoredProcedure; cmd.CommandText … | |
Hello! I would like to fetch the numbers at the end of this URL; [url]http://example.com/profile.php?user=15[/url] Do anyone know how i can get that by PHP? | |
I need to know how to copy some folders not all from a source tmp/folder. I'm new to python and I want to better understand python. I can't use copytree because I don't wish to copy all folders. I want to be able to pick the folders I want to … | |
I was under the impression that you could completely gaurd anything you wanted with an [icode]#if 0 [/icode]. Apparently this is not the case? I found some code that has opening /* comments but no matching closing */, and the /* seems to comment out the [icode]#endif[/icode], resulting in everything … | |
![]() | Hi i need to make a [B]BASIC[/B] HTTP server for a project using [B]JUST[/B] TCP/IP Sockets so please don't suggest anything that would use some of C#'s higher level networking components, Thanks =). [B]Anyway my problem:[/B] i have created the server and it all works so far but i haven't … ![]() |
I have a question regarding how i can make my my navigation display the "correct pages". I am trying to build a CMS, with php and Mysql. So far I only had a table, from the DB, called "pages". I made the following code, to make this work - And … | |
I'm looking for a simple way to rotate a shape in python, tkinter. The shape I'm rotating is a triangle (polygon) if it matters. Thanks in advance for all the help | |
Hi! i'm doing a final project for a university introduction course in web programmation. I'v Coded this: [CODE]class MainHandler(BaseHandler): def get(self): #product_comments = Comments().get_all() user = users.get_current_user() if user: member = Members().get_by_id(user.user_id()) baskets=Baskets().get_by_member(member) template_args = {'baskets': baskets} products = Products().get_all() product_comments = [] for product in products: comments = Comments().get_by_product(product) … | |
Hey; I'm getting into Java. I'm coming from C++ base and I wonder how can we use "const" parameters in Java? For example if I don't want the function to be able to change the value of a parameter, what do I do? [CODE]void modify(RefObject parameter) { parameter.set(new RefObject); //should … | |
Hi there, I think im trying to do something pretty simple but i can't find a simple explanation. What i have: I have five Textboxs (1 to 5) I have a Button I have a Datagrid with five columns (1 to 5) What i want to do: on a button … | |
hi all, I am a new learner of php. I m currently working on my 1st php project.project is all about a website development.The site is still underdevelopment. I want to include counter in m website in order to know the number of visitors.I am continuously searching for a snippet.Please … | |
Hey All, I have written a script that uses elementTree to work on python 2.4. Took quite a while and worked a threat but now I need to get it working on 2.3.4. I can't upgrade the version of python. Is there an equivelent version of the element tree for … | |
How do i move from one tab page to another with a single button click? | |
is there a way to trigger the form post action="add_enquiry.php" where i wrote I WANT TO ADD FORM DATA TO MYSQL AND SEND EMAIL My form used to work without problems, it added data to mysql, the sent that data in nice html email to me, THEN I added CAPTCHA … | |
Hi i am developing an windows application. In that i am using the xml file for data transfer. I want to encrept the generated file and decrypt it while uploading. can anybody help me to do this. Thanks in Advance | |
Hello dear C# programmers, I am kinda a beginner to C#, so I need your help, I really can not figure out why the calculations for sphere get's me the wrong result, the cube works just fine, but I am having a problem with the result of sphere's volume. Any … | |
Hi, I am trying to do a three tier architecture of windows application using C#. Main layout: Inserting Values into a datagridview from two textboxes. Problem : I have 3 layers in my application UI,Business,Data Layers.(form1.cs,Bal.cs,Dal.cs) I have created separate c# code files for each, the question is how can … | |
Here's the thing, I need to create three dropdown lists each for day, month, year. Once these are selected, after clicking a button, the three selected values need to be concatenated and bound to a date column in a database table. String month=request.getParameter("month"); String date=request.getParameter("date"); String year=request.getParameter("year"); how to concat … | |
Hello everyone, I have some problem with my windows application in my system. when ever i right click in the tool box and select choose items, the application got closing. Can, any one help me how can i resolve this problem. | |
Hi there, I'm quite new to ASP.NET development so i don't know what's the best way to do this... I want to list some data in several rows and have a column with a checkbox or radiobutton that allows the user to select a row; Then I should get a … | |
Hello every body............ I am about to do a project on chatting application. Can any1 plzzz tell me how to create a .bak file using Java.:) | |
Hello All I am Posting after a very Long time because of Having a problem :) The Problem is I want to Convert a String on UNKNOWN size to character array. Explanation: I have a file in JAVA that sends some string through JNI, I collect that String in C. … | |
Hi Everyone, I am trying to use Ajax to submit an XML Web Service request and receive a response XML. While it works perfectly when I submit these requests directly from the XXXX, YYYY, ZZZZ servers on the intranet. The request gets stuck at .open if I connect from any … | |
I was just able to get PyQt4 to work on my system, and I'm now have that of python2.6, and that of python 3.2, but I have been trying to open Qt designer but all it does is just open a process in the background eating up my PCs memory, … | |
Hi, I am tryingto create the wordpress plugin and have written this code: [CODE] <?php /* Plugin Name: OSCommerce Productu rodymas Plugin URI: http://www.google.lt Description: Pluginas produktu roymui is OScommerce parduotuves Author: Darius Version: 1.0 Author URI: http://www.google.lt */ ?> <?php add_action('admin_menu', 'my_plugin_menu'); function my_plugin_menu() { add_options_page('My Plugin Options', 'My … |
The End.