199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aneeqtariq_143

I recently download CKEditor for my web application. I want to add copy data from word file and paste on ckeditor, when i am doing this i found that all styling is gone but i want to preserve styling as it is on orignal word file. So i did little …

Member Avatar for LastMitch
0
314
Member Avatar for Vijaysurya

hai everybody, i need recent-plan div tag display horizontally in cmyplan-show conatiner div inside. anybody plz help me. all the layout records display in one row. plz help me. <div id="myplans-create" > <div id="horiz_container_outer" > <div id="horiz_container_inner" > <div id="horiz_container"> <div id="myplans-show" style="position:absolute;height:100%;border: solid 1px #666666;width:100%;display:block;overflow-x: scroll; "> <div id="data"></div> …

Member Avatar for LastMitch
0
167
Member Avatar for jayreis

I have a form with a text input where I am trying to use 2 jquery functions together. However only one of them seems to work. So I am hoping their might be a jquery guru out there that can help What I have is a text input box called …

Member Avatar for jayreis
0
178
Member Avatar for edyy

Hello I have two files index.php and search.php and I want to enter the string in index.php the search to be preocesed by search.php and the result to be shown in the same window index.php. index.php <?PHP require_once("includes/membersite_config.php"); if(!$fgmembersite->CheckLogin()) { $fgmembersite->RedirectToURL("login.php"); exit; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …

Member Avatar for GliderPilot
0
377
Member Avatar for westernbees

Hey guys, i am new to php ..I really needed your help with pagination in php .The issue is when i look at the out put, i dont see any thing.. just blank screen. Database and other details are correct. I rechecked it Here is my code : <?php $host="xxxxxx"; …

Member Avatar for diafol
0
248
Member Avatar for sandorlev

I have started writing a *really* basic tile engine in C++ and I'm not entirely sure when to use const return values. Should I use them in cases like this class A { private: Rectangle hitBox; public: A(); const bool Collision(const Rectangle& hitBox2); }; or is it totally pointless?

Member Avatar for mrnutty
0
244
Member Avatar for NardCake

Hello! I'm creating a small little applications (command line type thing, got some ideas) and I was wondering how exactly I would portray loading of the sorts, I know the classic animation: -- \ | / -- I just wanted to know how to animate that in Javascript. Just change …

Member Avatar for NardCake
0
150
Member Avatar for kishoresai438

Hi frnds, three months back i was integrated Tiny Mce editor to my website whick integrates Equation Editor Plugin. At that time everything was going good. From last couple of days all the existed equations are displaying as Text formate. Can any body solve this issue please.

Member Avatar for diafol
0
123
Member Avatar for jlh070945

I'm working through Python Programming by Zelle. I've entered the code for the racquetball problem in Chapter 9 exactly as written in the text. (At least I think so.) The program returns one game only then quits. I've prototyped and unit tested but can't find my mistake. Any insights would …

Member Avatar for woooee
0
147
Member Avatar for jonsan32

I'd like to create something like this: http://www.million-monkeys.com/tvcyo/ I'd love to use Google docs, but I wouldn't mind plugging it all in by hand. I've done so before when I used this site: http://jquery-datatables-column-filter.googlecode.com/svn/trunk/index.html to create a searchable database. I'm just wondering, however, how would I go about doing that …

Member Avatar for AleMonteiro
0
226
Member Avatar for TheBrick

Hello all, A simple problem for anyone who know Qt, I'm very new to Qt and GUI programming in general. I’m on a linux platform and using Qtcreator. I have a window (see [here](http://1.bp.blogspot.com/-QM3EiY3oh5Q/UMeo8rb4fUI/AAAAAAAAAWY/tWPLdEl6OgM/s320/box.png) for a screen shot). I wish to have two "sub regions" (incorrect terminology I’m sure) within …

Member Avatar for TheBrick
0
241
Member Avatar for Xufyan

I am trying to figure out the way to use the nested loop in a proper way but so far i am failed, The loop run to infinity when i run the program which i definitely don't want to do, here is my code, .MODEL SMALL .STACK 100H .DATA var1 …

Member Avatar for sbesch
0
3K
Member Avatar for jonsan32

My slider works well enough in all browsers except for IE, where the overflow isn't hidden at all. I've tried adding position absolute to some parts and I've tried adding position relative to others, but nothing has worked. Any answer to this would be great. Thanks. <script type="text/javascript" src="http://dl.dropbox.com/u/5739741/OMAR/code/jquery.js"></script> <script …

Member Avatar for jonsan32
0
285
Member Avatar for amulet_john

Hello guys.. Do you have any idea how to make a Global Positioning System (GPS) using PHP & MySQL? I don't know where should I start. Do you think it's possible in PHP & MySQL? Please help. Thank's ! Regards, amulet_john

Member Avatar for veedeoo
0
288
Member Avatar for advcha.almahyrah

I'm making a running text software where there is some text that runs alternately in the marqueelabel control. I wanted at every turn of the text, the background of marqueelabel will be blinking. I use three timer control, ie two System.Windows.Forms.Timer (Timer1 and timer2) and one System.Timers.Timer (elapsedTime). Timer1 is …

Member Avatar for advcha.almahyrah
0
140
Member Avatar for WhiteTulip

Hi! I'm writing a program that will take a an inputed phrase, assigns each letter to a picture of the letter from a file, and outputs the given phrase, looking like a ransom note. I have a start, but I'm not really sure where to go next. I've only just …

Member Avatar for woooee
0
312
Member Avatar for lilach.dror

here is the code of the php and the last sentence is the problem: <?php/** * The base configurations of the WordPress. * * This file has the following configurations: MySQL settings, Table Prefix, * Secret Keys, WordPress Language, and ABSPATH. You can find more information by * visiting {@link …

Member Avatar for diafol
0
2K
Member Avatar for chira9na9pal

# Hello i want to use url rewriting in my core php web page site.. can some me help me ?? # For Example :- My web page url link is www.demo.com/abc.php i wana to show that page in url like www.demo.com/abc can some one tell me how can me …

Member Avatar for diafol
0
160
Member Avatar for FakeTales

is it possible to pass an already defined function into a pthread? so for example within my code i am able to define an array size once a user enters an array size(for example user enters 200) it will add the numbers 1-200 to an array , i then have …

Member Avatar for FakeTales
0
236
Member Avatar for Dark_Knight

Hi, I've been having some problems with the getchar() statement. When I put it in a loop (to make an interactive input), I can't get user input anymore from within the loop. Even the following simple program doesn't work: [code] #include <stdio.h> #include <stdlib.h> int main(void) { char response, text[255]; …

Member Avatar for jigar23
0
2K
Member Avatar for jason007thomas

In assembly language how do I write code to take input from a sensor and turns on a LED? I'm writing an assembly program that will read information from a sensor that will detect whether its raining or not. the sensor will be the input and the LED will be …

Member Avatar for sbesch
0
433
Member Avatar for mitrious

10-4. Write a class that implements a list that holds strings. 10-5. Write a bidirectional iterator for your String_list class. 10-6. Test the class by rewriting the split function to put its output into a String_list. there are theses three exercises in the book I'm studying, what is it asking …

Member Avatar for DinoG
0
433
Member Avatar for latecomer

i'd like to change my code from procedural to OOP and i've got a problem when it comes to naming methods. can somebody explain to me what's wrong with this - sort.java:36: ';' expected public static int sortAscending () { - i understand that semicolon is not needed sort.java:36: illegal …

Member Avatar for Taywin
0
178
Member Avatar for minimee120

Hi all, hope you can give me some help to edit my code. I'm unaware how to merge two arrays and allocate them to a third array(of the right size) and let's just say for the sake of things, we'll call it C. I went ahead and instead used the …

Member Avatar for minimee120
0
269
Member Avatar for bradly.spicer

Hey all, Selecting a MYSQL Database is throwing Errors. It's all correct. However, My page seems to think otherwise.. <?php ################### Server Connection / CONST ###################### define('DB_NAME', 'xtrapsp_Rhino'); define('DB_USER', 'xtrapsp_rhino'); define('DB_PASSWORD', 'Password'); define('DB_HOST', 'localhost'); ################################################################## // Note that whatever is enclosed by $_POST[""] matches the form input elements // $Value_name …

Member Avatar for bradly.spicer
0
146
Member Avatar for eburlea

Hi all. I have 2 pages: 1. that provides data from mysql in json encoding if a correct "key" is provided, in my case the "key" sent by method post should be "1". Link: http://semaffiliate.local/public/api/getemployees Code in Zend: public function getemployeesAction() { $key = $this->getRequest()->getPost('key'); if (isset($key)) { if ($key …

Member Avatar for eburlea
0
354
Member Avatar for satsujin

I am trying to write a python app that will switch between two views when I click on the canvas in Tkinter. I have written the views and main app as seperate objects with binds linked to the opposing view through the left mousebutton. When I run the app in …

Member Avatar for satsujin
0
190
Member Avatar for qwertpink

Hi all, Im trying to add sizes to the cart. However, i cant pass size over. please help. $result = $db->query($sql); $output[] = '<ul>'; while ($row = $result->fetch()) { $output[] = '<br><font color="837F77"size="6">'.$row['name'].' </font><br></br> S$'.$row['price'].'<br></br>'; $output[] = '<select name="size"> <option disabled="disabled" selected value="NA" >Size</option>'; if ($row[small_qty]== 0){ $output[] = ' …

Member Avatar for qwertpink
0
379
Member Avatar for krystosan

print "Maya Data Out > %s ",pickle.loads(process.stdout.read()) File "C:\Python26\lib\pickle.py", line 1374, in loads return Unpickler(file).load() File "C:\Python26\lib\pickle.py", line 858, in load dispatch[key](self) File "C:\Python26\lib\pickle.py", line 994, in load_tuple k = self.marker() File "C:\Python26\lib\pickle.py", line 874, in marker while stack[k] is not mark: k = k-1 IndexError: list index out of …

Member Avatar for Gribouillis
0
750
Member Avatar for sym366

I'm not really good wih the Big O notation so I was wondering if any one can help me find the Big O notation of this code for each of its function when they are best , worst, and adverage case and a brief explantation of why it's that. Sorry …

Member Avatar for TrustyTony
0
175
Member Avatar for taryn.bleckley.3

Record is inserting but email is not going.. if($_POST['registersubmit']) { $to="'".$_POST['email']."'"; include('db.php'); $checkemail=mysql_num_rows(mysql_query("select * from authentications where email='".$_POST['email']."'")); if($checkemail) header("Location:".$_SERVER['PHP_SELF']."?msg=E-Mail Already Exists "); else { $query="insert into authentications (password, authcode, email, status, created_at) values ('".$_POST['password']."', '".md5($_POST['email'])."', '".$_POST['email']."', 0, '".date('Y-m-d h:i:s')."')"; if(mysql_query($query)) { $headers1 = 'MIME-Version: 1.0' . "\r\n"; $headers1 .= …

Member Avatar for taryn.bleckley.3
0
133
Member Avatar for bradly.spicer

Hello everyone, My friend has been helping and he's been great however it's come to a halt :P I'm working with MYSQL at the moment but am having a few issues with my code. Index.php: <html><link href="stylesheet.css" rel="stylesheet" type="text/css"> <head> </head> <body> <div id="header"><img src="http://www.rhinosecurityltd.co.uk/templates/rhuk_milkyway/images/mw_joomla_logo.png" alt="Rhino Security"> </DIV> <form name="Form" …

Member Avatar for bradly.spicer
0
177
Member Avatar for crownedzero

I'm working on a static method that I want to use to query mysql; I'd like the option of handing a char in but I'm only seeing string or int, what if I want to use a wildcard? '_' or an int '1', anyone have a clever solution?

Member Avatar for Taywin
0
728
Member Avatar for pjh-10

#include<iostream> #include<cmath> #define pi 3.1415926535897 using namespace std; int main () { double lat1; double long1; double lat2; double long2; // initilaise values double latz; double longz; double a = 0; double c = 0; double distance = 0; double x = 0; double y = 0; cout << "enter …

Member Avatar for pjh-10
0
166
Member Avatar for nitin1

if i want an array of 10000 ints and i just nned to use it like array only (not the functions which vector have seprately from array), then i make an array int a[10000] and vector<int>a(10000); then memory allocation time will be different for them ? if yes, then please …

Member Avatar for ravenous
0
144
Member Avatar for artur.sinelnikovs

This is a simple calcualtor program. What I don't understand is how I could modify it so that the calculation parameters could be intered from cmd. I don't understand how the argv and argc really work in this case. Do I need to replace all the ints with argv or …

Member Avatar for deceptikon
0
163
Member Avatar for alaa sam

hey I'm writing a multithreaded server , and I want to print a line in a file whenever a client is connected , I need to lock the filestream to prevent the lines of multiple thread from overlapping I used an integer lock but it won't work right , so …

Member Avatar for alaa sam
0
193
Member Avatar for FakeTales

i have this xml file <CATALOG> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> <COUNTRY>USA</COUNTRY> <COMPANY>Columbia</COMPANY> <PRICE>10.90</PRICE> <YEAR>1985</YEAR> </CD> </CATALOG> with my php code i am able to get the parent node <CATALOG> then all the other data such as <TITLE> etc etc , how would i go about getting the <CD> tag?? …

Member Avatar for FakeTales
0
225
Member Avatar for HunainHafeez

what is the difference between class diagram and ERD ? i have to present my project , which i developed in asp.net 3.5 and sqlserver 2008, so my Supervisor told me to present diagrams, architetures etc of my project ? so guide me about it, please ?

Member Avatar for pritaeas
0
116
Member Avatar for giancan

Dear friends, I need our help for a new task. I have a gps track (sequence of lat long and altitude) and I would like to know if there is a way to make an offset (or a parallel line if you prefer) of this line to its right and …

Member Avatar for giancan
0
401
Member Avatar for missc

i am displaying products in list view ! now in <itemTemplate> i'm showing the product name by doing : <b> <%# Eval("ProductName") %></b> now i would like to also show the price of this product. but the price is in another table since prices are different for different types of …

Member Avatar for missc
0
170
Member Avatar for danielkull

Hi, I have a function which returns a pointer to array with data: `float * EZ_MATH::EZ_GE_BY_ME() { ... }` Now, how can I access this data? This doesnt work: `float * memA = temp_m.EZ_MATH::EZ_GE_BY_ME();` `ofstream output("out_file", ios::out);` `output << memA[0] <<endl;` `output << memA[1] <<endl;` Help!

Member Avatar for ravenous
0
288
Member Avatar for Cosmo_Kramer

I am writing the following functions I cannot tell where I should leave off with the "bootstrapping" that the first function searchMaze() is supposed to be doing, the wording is not getting through my dense head. searchMaze(maze, start_pos, finish_pos) This function takes a maze data structure as created by readMazeFile(), …

Member Avatar for Cosmo_Kramer
0
278
Member Avatar for subramanya.vl

I have this singleton class public final class MySingleton{ public static MySingleton singletonInstance; private MySingleton(){} static{ singletonInstance=new MySingleton(); } public static MySingleton getInstance(){ return singletonInstance; } } I wanted to know is there any other simpler and better way of creating a singleton instance?

Member Avatar for stultuske
0
167
Member Avatar for hwoarang69

i am not sure what i did but i messed up my page. take a look at page and you will see the problem. it puting php code in a echo"";. i cant seem to find where the problem. <!-- Connect --> <?php session_start(); //for errors include("../../INCLUDE/header.php"); ?> <!-- top …

Member Avatar for hwoarang69
0
190
Member Avatar for crownedzero

I'm still getting my feet wet with Java and I'm not familiar with all the custom libraries that exist; is anyone familiar with a library for working with multiple sheets of a Excel workbook? I need to pull data from a specific worksheet in the book to work with.

Member Avatar for stultuske
0
147
Member Avatar for harishjoy

Hi , I have this code for win xp `char NotesDir[] = "\\Program Files\\notesw32"; char Fname[] = "C:\\Program Files\\notesw32\\notes.ini"; char Bakname[] = "C:\\Program Files\\notesw32\\notesini.bak";` But for win 7 , these files will be present in c:\\Program Files (x86) folder. How do i make sure my code works for both xp …

Member Avatar for harishjoy
0
288
Member Avatar for harinath_2007

Hi folks. I encountered a problem. My application works perfectly if i run it from netbeans. Even it works fine when i build my project and run the jar file from the netbeans(dist) folder. But when i copy the jar file to another place(or another drive) , the jar file …

Member Avatar for stultuske
0
353
Member Avatar for nickecarlo

I have this program where when I click start, it starts painting rectangles one on top of the other by storing each rectangle created by paintComponent in an array and then displaying them on the screen. When I click stop, the animation stops. This is all fine and dandy but …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Red_Rain

Hey everyone, I am attempting to add an array of JTextFields to one of my JPanels and for some reason i keep getting errors and the program crashes when i run it. I know i am prob making some noob mistake but this a project for my first Java class …

Member Avatar for mKorbel
0
666

The End.