199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for everton.retweets

Hi Everyone, I have a strange problem with how my content is being displayed, I keep seeing \'s throughout my content that is being displayed from my database. I have tried the following but none seem to be helping me. $ball = htmlspecialchars($row->twh_ball); $ball = str_replace("`", "", $ball); $ball = …

Member Avatar for diafol
0
154
Member Avatar for smapira

guys i need help i have a programming logic test for a job and i dont know what to expect. what can i expect what how can i prepare for this test. if i past i will be trained about the NET.FRAMEWORK. HELP ME GUYS

Member Avatar for Theirligh
0
694
Member Avatar for developer707

Hello to everyone. I have this table: CREATE TABLE `documents_category` ( `id` int(11) NOT NULL AUTO_INCREMENT, `parent_id` int(11) NOT NULL, `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `description` text COLLATE utf8_unicode_ci NOT NULL, `active` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; I am trying …

Member Avatar for developer707
0
221
Member Avatar for salamjamal10

Hello all, I just want to make sure if my answer to this question is right or no. If no please help me solve it. Thanks in advance. Here is the problem: What is the output of the following psuedocode num1 = 5 num2 = 1 num3 = 4 aQueue.enqueue(num2) …

Member Avatar for saeid_h
0
159
Member Avatar for malatamil

i have a pagination code but the problem is i have 2 tabs one is test and test2 if i want to see that test second page click 2 that url showing url?test=page&page=2 and i want to see test2 tab, so if i click test2 that url was not changed. …

Member Avatar for diafol
0
548
Member Avatar for engrjd91

Hello Everyone. I have created a database and linked it with my php page. I have created some users, now what i want is to display the different courses to different users. But when I am trying to apply a join query it is displaying all the courses from the …

Member Avatar for engrjd91
0
304
Member Avatar for AbhishekTecnics

I am trying to execute xmlaccess.bat file of web sphere Portal server uisng java but not getting any issue as well as no output but when i execute this bat file through command prompt,its working Fine..why it is ? dont'Know..please Help me out... MyAPP : public class BatchAPP { public …

Member Avatar for AbhishekTecnics
0
2K
Member Avatar for chrisschristou

hello dear friends i'm not a developer not app designer what i know is just buiding website and i'm an autolearner. i have a national champion to make an app mockup in photoshop it is litle hard beacause i must show it with basic function. and i want just to …

Member Avatar for chrisschristou
0
245
Member Avatar for Nebil

Hi, I was wondering if there's a way to check an existing id in the main table when using temporary table,then use another id for inserting records.Since it may cause error for using the same id in the main table. Is there a way to do that?

Member Avatar for Nebil
0
568
Member Avatar for ckassar

i am working on a view controller that contains two picker views (`FromCur` ,`ToCur`). those picker views are filled by an xml parser . althoughthe `NSLog` in the Title for row function is not giving me a null answer , the picker views displays a question mark. i have been …

0
215
Member Avatar for malatamil

i have 2 tables, first is main category will display in dropdownlist, and second is subcategory chexboxes. i have a problem in this. need to display subcategory while selecting any maincategory from dropdownlist id to display subcategory. category table: state:<select name"category" id="category"> <option value="0">...select state...</option> <option value="karnataka">karnataka</option> <option value="Tamilnadu">Tamilnadu</option> <option …

Member Avatar for malatamil
0
2K
Member Avatar for pars99

So, I was doing some doing some research for a program I'm working on and I stumbled upon the information that clang++ is a better alternative to g++ on Mac. I've been trying to use it because I can define that I want to use C++11, yet, the file output …

Member Avatar for pars99
0
162
Member Avatar for abaddon2031

I have a code that i have made that appends a file then uploades the output of the appending to my websites database. In the code i have 2 def statements that i would like to put into modules. I was wondering if omeone could tell me a simple way …

Member Avatar for TrustyTony
0
213
Member Avatar for masonketcham

Not sure what it is nedding I'm needing help on coding this program I get back some 2 errors. What I have is: public class Inventory { private double ItemNumber; //to store Item number private String ItemName; //to store Item name private double UnitsInStock; //to store number of units in …

Member Avatar for Doogledude123
0
330
Member Avatar for lazylibran82
Member Avatar for engrjd91

Hello, I have a database, consisting of 8 tables. I am linking my php code with my database, now what i am trying to do is to join two columns of the two seprate tables and display them together in my php page. But whenever I excecute my page it …

Member Avatar for engrjd91
0
238
Member Avatar for Rootz

I am not sure why my program isn't writing to the text file. When I start the program it tells me that the file opens. Then I call the functions that are inherited from other classes and I would assume that it would write to the file and then display …

Member Avatar for Ancient Dragon
0
253
Member Avatar for Dave_5

Hey guys I'm finishing off a project for an assignment and have run into an error I can't resolve. Here is a link to a video showing the error... https://www.dropbox.com/s/25ajb0mc5p4a3a9/Tilemap%20Error.mov The class throwing the error has been working in other projects or so I thought, but has been modified a …

Member Avatar for Dave_5
0
230
Member Avatar for dancks

I wrote this test program to test the binary tree for a particular purpose. The intent is to make 2 new tree nodes with new data and destroy the data of the parent data, as its no longer needed (essentially its supposed to imitate "splitting" but my design calls for …

0
151
Member Avatar for mitchems

It's been a long while since I've been here. I am trying to use Win32 IEAutomation to automate IE to login to SharePoint, read some information, download some files and some other junk. I installed WIN32 IEAutomation. When I run the simple script: use Win32::IEAutomation; my $ie = Win32::IEAutomation->new( visible …

Member Avatar for mitchems
0
543
Member Avatar for Dev_6

Can anybody please solve my error: [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project maven-war-plugin: Compilation failure: Compilation failure: [ERROR] \Users\admin\Desktop\Virtual_class\src\main\java\com\iws\controller\LoginController.java:[42,25] error: package javax.servlet.http does not exist [ERROR] \Users\admin\Desktop\Virtual_class\src\main\java\com\iws\controller\LoginController.java:[43,25] error: package javax.servlet.http does not exist [ERROR] \Users\admin\Desktop\Virtual_class\src\main\java\com\iws\controller\LoginController.java:[92,3] error: cannot find symbol [ERROR] \Users\admin\Desktop\Virtual_class\src\main\java\com\iws\controller\LoginController.java:[93,3] error: cannot find symbol …

0
130
Member Avatar for bmcn

I am working from the sample project here: http://www.codeproject.com/Articles/8086/Extending-the-save-file-dialog-class-in-NET I have hidden the address/location bar at the top and made other modifications but I can't for the life of me manage to disable the button that lets you go up to the parent folder. Ist is in the ToolbarWindow32 class …

Member Avatar for bmcn
0
192
Member Avatar for junaid_5

I have two problems with this code. 1. when i refresh the page it uploads the file again. 2. how to i validate the form if required fields are not filled ? i have added the code validation but its not working and there are no errors. <?php if (isset($_POST['upload'])) …

Member Avatar for junaid_5
0
626
Member Avatar for dcampbell

Hi, I was wondering if someone could help me wrap my head round iterations in a while loop. What I am trying to do is do a word replace and then add a numbering to each replace. IE Therapist bl;kja;lafkja;ldkjad;l Patient ;alkjf;dljkad;ljkfl;kaj; Therapist bl;kja;lafkja;ldkjad;l Patient ;alkjf;dljkad;ljkfl;kaj; To T1 bl;kja;lafkja;ldkjad;l P1 …

Member Avatar for dcampbell
0
248
Member Avatar for codey666

I am trying to implement a search algorithm,it needs a tree with four(NOTE n=4) nodes.Is the struct declaration correct for array of structure pointers??You see the main idea is start with the 'cur' node.Then take a new 'temp' node. Copy the contents of 'cur->state' into 'temp->state' then perform the 'res' …

Member Avatar for codey666
0
311
Member Avatar for IsaacMessi10

onsubmit return false still submitting form HTML: <!DOCTYPE html> <head> <script src = "Scripts/script.js"></script> </head> <body> <form action = "http://posttestserver.com/post.php" method = "post" onsubmit = "return age()"> <label for = "dob">Date of Birth</label> <input class = "TextArea" type = "date" id = "dob" name = "dob" required/> <br/> <p><span id …

Member Avatar for IsaacMessi10
0
294
Member Avatar for rathiikk

hi good afternoon sir, i am creating one vb.net project ,it is working nicely but the problem is when am adding datas to database it is adding but when am stop that execution and start it again it is deleting the records ...how can i solve this

Member Avatar for cgeier
0
185
Member Avatar for nikiki

so i have created a log in app which is for registering for a conference, i need the userId and userPassword from the login form to the conference form the choose this is what i have if you need further info let me know this is for the login form …

Member Avatar for cgeier
0
257
Member Avatar for Shreyas_1

I have two different format of code for insert query using jsp+servlet+mysql. Code-1 ====== Class.forName(JDBC_DRIVER); // Open a connection out.println("Connecting to a selected database..."); con = DriverManager.getConnection(DB_URL, USER, PASSWORD); out.println("Connected database successfully..."); // Execute a query st = con.createStatement(); sql = "insert into users (name,email,password) values ('" + name + …

Member Avatar for stultuske
0
2K
Member Avatar for spopivich

for my assignment I am to only add the sort and total inventory methods in the inventory class. And not create an array in the inventory class at all. My inventory class should contain all the variables needed to use with the two new methods: sort and calculate total inventory.By …

Member Avatar for stultuske
0
429
Member Avatar for maryjane9110024

I have a form which a user fills out and submits. This will take the user to a review page where they can then either go back and make changes or submit their information. The user is then taken to a confirmation page. I used FPDF to create the pdf. …

Member Avatar for maryjane9110024
0
492
Member Avatar for awsa.qwase

if i make small jframe with 2 jComboBox(jComboBox1,jComboBox2) and a jbutton I want that when the user click on jbutton it will display jComboBox1 and jComboBox2 in the label

Member Avatar for JamesCherrill
0
111
Member Avatar for jkhippie

I wrote a game using an array of structs to represent a 9x9 grid. Now I'm re-writing it as a class to '++ it up' a bit and to better understand classes. Part of the game used a seperate struct to keep track of selected board squares (to see if …

Member Avatar for jkhippie
0
251
Member Avatar for dhruvarora227

This was an existing script written in PHP and Jquery, basically, what it does is the calculations of price and quantity for a Point of sale system. I made a few changes so that the end-user can enter the price, as they enter the quantity amount. Now, after I made …

0
102
Member Avatar for castajiz_2

Ok, I ve been struggling for the last two weeks to get my webservice working on somee.com. I managed that. Then my database corrupted but managed to get it migrated it to mysql before that and everything' s fine. Now the final problem that I have and just can't solve …

0
133
Member Avatar for ivan3510

Hi! I have this code and getting this problem: undefined reference to 'vtable for Triangle'. Thanks for your help! #include<iostream> using namespace std; class Point { public: float x,y; Point(){} Point(float x,float y):x(x),y(y){}; Point operator=(Point &X); }; Point Point::operator=(Point &X) { this->x=X.x; this->y=X.y; return *this; } class Figure { public: …

Member Avatar for ivan3510
0
4K
Member Avatar for Rushin1992

Hello, My problem is like that when I scan the data using fgets function and after I put fflush function but compiler not wait for taking a data and it is directly go in next value scan.How to solve my program?

Member Avatar for Assembly Guy
0
106
Member Avatar for Albert Pinto

Hi People.... I have a table named 'csv_data_table' and it has a varchar(255) column named 'EMAIL' This EMAIL column has multiple records with white spaces (at front and end) I tried this way to eliminate the white space UPDATE csv_data_table SET EMAIL = trim(EMAIL); But it won't work.... the email …

Member Avatar for Albert Pinto
0
267
Member Avatar for chiste91

Hi. i need some help with this game i want to simulate with c++ (with the graphics.h library). i want to make a replica of Pacman. i already built the map, but now i got stuck: #1. i don't know how can i avoid the walls/obstacles (i have a blurry …

Member Avatar for shafaqsajjad
0
11K
Member Avatar for eburlea

Hello! Is it possible to add autocomplete feature to input field with data loaded from local storage? <input type="text" id="medicine" /> <script type="text/javascript"> $(document).ready(function($){ var medicine = localStorage.getItem('medicine'); console.log(medicine); $('#medicine').autocomplete({source:medicine, minLength:2}); }); </script> I know thta 'source' requires an url, I succeded to make autocomplete with data from mysql. But …

Member Avatar for eburlea
0
2K
Member Avatar for sgdesain

before i have a code for this echo ('<div class="content" style="width: 293px; float: left;"> <b>Host: </b> '.(isset($replay->game['creator']) ? $replay->game['creator'] : "n/a").' </div> and then i will input a creator in my form echo"<form> <textarea name='BBCode' style='width:592px; height:120px;' >[B]Host : [/B] (how toinsert creator in this area) </textarea><br> <input type='button' onclick='javascript:this.form.BBCode.focus();this.form.BBCode.select();' …

Member Avatar for sgdesain
0
140
Member Avatar for showman13

I was wondering if there is any way to do a single mysql query to do a count of filled positions in a multi-level structure to an indefinite depth. That sounds a bit cryptic, but this is what I would like to do if it is at all possible. we …

Member Avatar for pritaeas
0
306
Member Avatar for ahmedsa

Hi guys i want to make database for payroll only but i dont know how to make structure for this suppose i want to calculate payroll every month for employees as following basic salary bonus overtime absence deduction meaning salary = basic salary +bonus+overtime-absence-deduction How i make database (ERD)Diagram for …

Member Avatar for ahmedsa
0
275
Member Avatar for cmo3223

I need to write a program that reads in a set of test scores from a inputbox then displays them in a list box with a corresponding letter grade. Then from there display the Standard devation, the Mean, and the number of the test scores. I cant seem to get …

Member Avatar for Reverend Jim
0
171
Member Avatar for Fillipus

list the entire database in c++, what is the size of each of the data type

Member Avatar for rubberman
0
172
Member Avatar for ray100

This is the project I need to finish. I am fairly new to php and this project has got me confused. Any help would be greatly appreciated The project ask for to validate ISBN 10 Number. There would be 10 digits with 1-9 being Numbers, but Number 10 is an …

Member Avatar for ray100
0
297
Member Avatar for ponnan

Sorry if I sounds mad...I have a some knowledge in c++ programing language. But I have been wondering if I can learn assembly language so that I can play with my pc as I like by programing it, creating DOS like programs and so on...but in my research I came …

Member Avatar for rubberman
0
433
Member Avatar for PulsarScript

//please can someone explain the output 4 8 12,why is it so? Thanks int count = 0; do { for( int i = 0; i < 4; i++ ) count++; cout << count << ‘ ‘; } while ( count < 10 );

Member Avatar for PulsarScript
0
199
Member Avatar for wids101

I need help with my getName method. The error message is invalid method declaration, return type required. And i don't know how to write a method to change the canidate's name. Thank you in advance. /** * Class to create a Candidate object * * @author la * @version 4/21/07 …

Member Avatar for stpatrck
0
207
Member Avatar for willygstyle

Hi all... Can somebody explain to me why this code only works when I uncomment a specific line. It's not a crazy precision timer or anything just messing around atm, but don't understand the behavior. #include <iostream> #include <string> #include <time.h> // clock_t, clock, CLOCKS_PER_SEC unsigned int timer(){ clock_t t; …

Member Avatar for willygstyle
0
182

The End.