199,114 Archived Topics
Remove Filter ![]() | |
Hi Guys, I need some help about join queries in SQLite manager. I wanna have some sample queries on joining one or more tables with relationship of course. PLEASE I NEED THIS FOR OUR PROJECT. Thanks. It would be an honor hearing from professionals out there. :) | |
My code is working but my only problem is that the entire program freezes while it is looping and the freeze only stops when the loop is done, is there any way to get rid of this freezing? i want to see it display from 1 to 21 but instead … | |
i want to read text between two indices in the file usinf file i/o operations in c++. HOw ca i do it? for example, here is the text file: 1: .. .. 2: .. .. 3: .. .. 4: in this text file i need to print only the lines … | |
This is really a spoon feeding request. I'm in the process of learning regex, which will take time to perfect, but as of now I'm in immediate need of help to work on regex expression. Suppose I've a string like $str = "asggasdg46%dgeoweg5.3%sdgeoge4%kge"; In the above string, I need to … | |
When I try to search kinetic.js tutorials, I mostly get links to http://www.html5canvastutorials.com or http://www.kineticjs.com/ . There are example in those sites, but not much explainnation. Documantation is also very poor comparing to lets say jquery documentation. There are also other sitesm but as I see they most often post … | |
//Author: Frank R. Mendez //Title: Insertion Sort //Description: Accepts int elements and stores it in an array list then sort every element in accending order //Date: 7/13/13 5:53 PM #include <iostream> using namespace std; class Sort { public: void insertionSort(int x[],int lenght); void driver(); void display(); int arr[15]; // because … | |
<?php include("DBconnect.php"); $u="select count(username) as 'COUNTUSER' from users where username='shikha verma'"; $result = mysql_query($u); while ($row = mysql_fetch_array($result)) { echo $row[COUNTUSER]; } /*if ($value[0]>0) { die("email already exist"); }*/ ?> the code inside the comment is not working please give me suggetions | |
I'm trying to add [this](http://www.codeproject.com/Articles/15559/A-Windows-Forms-based-text-editor-with-HTML-output?msg=4610424#xx4610424xx) to my existing project. I'm right clicking the toolbox-> chose items-> select the exe. It automatically adds a reference to my existing project. But after I drop the control onto my form it gives me: "LiveSwitch.TextControl.Editor is not defined" 2 times and 1 "LiveSwitch is … | |
Dear All, I am trying to display the buttons dynamically and buttons of text trough character bit map. It is possible or not. Please reply me urgently. | |
I have a jtable and inside this table is a column of checkboxes (other info on following columns). if the user clicks on the checkbox to change it, which it does, there is a popup that comes up for an administers password approval... got that. If the approval is accepted, … | |
Hi guys, Working on one of my web projects recently I came accross a need for presenting some readonly data as part of the user input form. The readonly property of the input tags seem to work as expected for other types of input control, but not for the checkbox. … | |
I want to make a interface in vb6 which deals with excel file. Where we can select drive from drive box and select a excel file which is a source file and copy the value of cell from the source file and paste it into destination file's cell. my problem … | |
I have inserted a rich text editor to an textarea, but I get the following error after submitting my form: [CODE] Notice: Undefined index: msgpost in C:\wamp\www\mycms\administrator\page_new_parse.php on line 15 [/CODE] I have changed the textarea name, and the id to "msgpost" as explained on their website. I have also … | |
[B]insert.php[/B] [CODE]<?php $dbun = "$_POST[dbun]"; $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("my_db", $con); $sql="INSERT INTO $dbun (sn, date, particular, dr, cr) VALUES ('$_POST[sn]','$_POST[date]','$_POST[ptr]','$_POST[dr]','$_POST[cr]')"; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "1 record added"; mysql_close($con) ?> [/CODE] [B]DB name = my_db[/B] [B]user.php[/B] … | |
![]() | A friend of mine dazzeled me with by asking to write "Architecture for Client-Server in C". As I am noive in C I didnt got his question. I don't expected a prepared recipe but I want to learn the idea what he actually meant. Please Suggest. Thanx ![]() |
I need to store the values of a textarea tag using a form to submit the value and finally store to a mysql database table. Here is what I have, I am sure its something dumb, but its been a while since I have used php. [CODE] <?php if(isset($_POST['submit'])){ $con … | |
Hey Everyone Im having a lil trouble rightnow making this script work. What im trying to do is make a script that will change the bgcolor color to red if the Serving time is less than or equal to 1 hr left which is working now but in the long … | |
Kill me now! I have two tables in my DB. One has a list of certifications and one has a list of exam boards. I need to list the exam boards in a foreach loop giving each one an accordion. The certifications must be listed under their correct exam board. … | |
I have a link leading to 1 of 6 articles displaying on my website. Every 6 seconds, the text link switches to the next. I'd like for the order to be randomized, though, so that each article has the same likelihood to be chosen. Can anyone help? My code on … | |
hi, i am new to mysql and also to php, i am trying to add a feature to a webpage, for showing some latest records from a mysql databse. i managed to show records from mysql database, but the problem is i only trying to show the first four records … | |
I'm trying to embed a window into my own. I somehow new it would not be as simple as it sounded, so I'd like a pointer where else to look if anyone can help. hMyOwnWindow //HWND hExternalWindow // HWND //size the external window so it will fit. MoveWindow(hExternalWindow,19,102,383,400,true); //set style … | |
I've built a SQL report in MS SQL Server Report builder for our ticketing backend. I want to be able to do custom reporting. I've created this report by using the following query: SELECT SR_Service.Date_Closed ,SR_Service.Date_Entered ,SR_Service_SLA_Workflow.Responded_Minutes ,AVG(SR_Service_SLA_Workflow.Resolved_Minutes) AS Avg_Resolved_Minutes ,SR_Service.Hours_Budget ,SR_Service_SLA_Workflow.SR_Service_RecID AS [SR_Service_SLA_Workflow SR_Service_RecID] ,SR_Service.SR_Service_RecID AS [SR_Service SR_Service_RecID] ,SR_Service.Company_RecID … | |
MVC Design Question Hello, I would like to move an web application to MVC Laravel 4 (not sure yet). The challenge is that the application is used by many customers and each customer have its own website/front-end but they all use the same backend/admin. The strucutre is something like this... … | |
Hello! I am very new to perl and linux systems in general, so I am hoping that someone can help with this problem! I have a very large table of data (100 rows and between 300000 to 2 million columns) that looks like this: [ICODE]sitenames site1 site2 site3 site4 site5 … | |
Okay so I hope this is the right place to put this. But onto the point. Anyway a long time ago my father showed me a game he used to play called Adventure. Some right remember this command prompt game as well as it's opening words "YOU ARE STANDING AT … | |
Hi,to make it short i want to convert a any media file to mp4 x264 baseline format so everythng went fine as i had a mooo ffmpeg but now when trying to access from c# i couldnt from mooo as it is diff installation can only be accesed wit its … | |
I don't get what this error mean in line 17 or 18.. #include <iostream> #include <conio.h> using namespace std; int main() { int players; int years=3; cout<<"Enter no. of players"; cin>>players; int record[players][years]; for(int i=0; i<=players; i++) { for(int j=0; j<=years; j++) cout<<"Enter runs scored by player"<<":"<<i+1<<": "; cin>>record[i][j]; } … | |
my algo : 1.Construct a max(min) heap from first element of all array, 2. extract a max(min) value from the heap and write to output 3. get one more element from array which the value extracted step 2 was in. 4. repeat until heap is not empty can anyone tell … | |
int main() { printf("%u %s",&"hello",&"hello"); return 0; } can you please explain that how "hello" is working here ? i know it is string constant ? so it is acting as a pointer to a char like i do char *s= "daniweb"; so, if it is the case, then why … | |
Hi I have a progressbar and it's going from left to right but what I will it to do that it goes from right to left with full and take one step backwards after pressing commandbutton each time Le Nenne | |
Hi, I am trying to learn how to use a data base to store photos and such, I can now get info into the base and can get all the records to display , this is not what I had planed, So that lead me on a surch for answers … | |
Currently I am designing a inventory system, however jumping straight into vb.net was easier said than done. At the moment, all the information stored goes to two places, one being a master file that has all the information ever inputted, and the other being an individual file that is created … | |
Hello, I have a Ruby On Rails app online which uses devise authentication. I am trying to make an android app which make a request from ror app when a user try to log in (so the users can use same account from ror app). I heard that what I … | |
Hello. I'm currently facing an issue with my code related to the way CultureInfo.GetCultures method is sending me the list of countries. I have this in my getCountries method: System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo("en-GB"); System.Threading.Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-GB"); var cultures = CultureInfo.GetCultures(CultureTypes.SpecificCultures); Which retrieves me a list of Cultures in associated … | |
Hello everyone! I have a question .. i have a js file (script.js) and a php file (script.php) , in the php file i have a code that verify a user and in the script js i have this: var uname = name.val(); $.post('HERE IS THE QUESTION' , {names:uname} , … | |
Hi All, I have a doubt in paint method of the Component Class. I know how to use that in Applet but im finding it hard to use it in GUI app. Im posting my code here, please edit it to make the program use paint method to render any … | |
Hello, I have this site. It loads slow on first access on the site. Once loaded, just hovering the navigation or scrolling with the mouse gives me slow motion. I hope you could help me find the problem. [Click Here](http://www.callumco.com) for the site. Hoping for your reply.. Thanks! | |
I have a form with several inputs. One has a sub-input based on the condition of the original input. An example is: <input onChange="javascript:addRow()"/> The JS function works. function addRow() { Dynamic HTML code ... } However, if the original input is modified a second time, the JS function executes … | |
Hi all, I've been playing around with this for 30 odd minutes now and basically been making a right fool of myself... I want to make a function called `userInfo()` that uses the users email address, stored in `$_SESSION['auth'];`, to get any information required from sql. I'm using **MySQLi** and … | |
I want get the values of the form into my 'getdata.php'. Actually its a form wizard that I found while searching. Below is the javascript:- <script type="text/javascript"> $(function(){ $("#demoForm").formwizard({ formPluginEnabled: true, validationEnabled: true, focusFirstInput : true, formOptions :{ success: function(data){$("#status").fadeTo(500,1,function(){ $(this).html("You are now registered!").fadeTo(5000, 0); })}, beforeSubmit: function(data){$("#data").html("data sent to … | |
I created a String[][] grades, who's size is set by number of students User enters. The array is then populated with my first for loop, and the next for loop is supposed to print out each students date line by line. If I only enter 1 Student and fill in … | |
how it possible to create grid layout with 3 or 4 or 5 items per row in php something like this :  I have this solution, do you think its effecient <? $count = 0; $num_images = mysql_num_rows($rs); while($data = mysql_fetch_assoc($rs)) { if ($count == 0 || ($count … | |
I have a program that takes csv values, parses the content and inserts it in an sqlite3 database. I am using sqlite3 to save on space and to make the py scripts a little more portable. The next refactoring may well need to have postgresql or mysql to deal with … | |
I'm trying to get the time from input of html txt_URL but the array returns nothing. Not sure where I went wrong. Any help is appreciated. Thanks! **input:** Deleting 11 files. Details: Time Deleted = 01:16:30, Time Left = 00:00:00, **output:** 01:16:30 string before = txt_URL.Value; string after = Regex.Replace(before, … | |
I am working on a dynamic project for my own but struggling to create an article. The idea is that one registered user can publish an article with an image . <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %> <!DOCTYPE html PUBLIC … | |
Hi All, I have created a Java applet in Eclipse and ran it in eclipse, it works fine . To run the applet in Webbrowser it was mentioned to embed the .class file inside a webpage by creating a HTML file. My class name is MyFirstGUI. i have created a … | |
Is it possible to replace commas and spaces with commas in c#? I'm fresh in c# and am looking for guidance. Any help is appreciated! **Before:** Deleting 11 files.ABC: Total Time = 01:16:30, Remaining Time = 00:00:00 **After:** Deleting,11,files,ABC: Total,Time,01:16:30,Remaining,Time,00:00:00 | |
Hey, i am just starting php project and i am fresher in php so i want some good examples of cms in php language that how to create cms in php language. Please send me some good example of classes and cms. | |
Hi there, This question relates to data structures, performance and approach to a problem. It is best explained with example so bear with me. For the record, I will be using a combination of PHP, MySQL and Apache server on a dedicated Linux server. The problem is how we would … | |
In example.aspx, i have a html textbox named txtbox_1. In it, I have the following value: **1a,3d,2cc,wedd,aqq** I would like to read individual values separated by commas and place it different textbosz. currently i can read the textbox value as a whole and not individually. Hope this is clear. Would … |
The End.