64,152 Solved Topics

Remove Filter
Member Avatar for
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 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 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
Member Avatar for Doogledude123

Alright, so I am building a Converter to convert ASCII to Binary and for some reason, the for each loop stops working when it hits a space, and I have no idea why. I'm probably just over thinking it. Extra: Can you tell me how to force the output binary …

Member Avatar for Doogledude123
0
5K
Member Avatar for nitish.mohiputlall

Question : In Bouboun University's Information Systems 3 arrays are used to store student details, 1. Stud_Names (array of strings) holds the name of 100 Students 2. Stud_Map (array of strings) hold the ids of the 100 students (whose details are stored in Stud_Name) 3. Stud_Marks_Mod1 (array of floats) holds …

Member Avatar for Ancient Dragon
0
293
Member Avatar for gogs85

How to upload image to database and move into image folder this is my function for other rows: <?php function add_post($title, $contents, $category) { $title = mysql_real_escape_string($title); $contents = mysql_real_escape_string($contents); $category = (int) $category; //var_dump($category); mysql_query("INSERT INTO `posts` SET `cat_id` = '{$category}', `title` = '{$title}', `image` = '{$image}', `contents` = …

Member Avatar for gogs85
0
312
Member Avatar for wids101

My code compiles but it has a java null error. import java.util.Arrays; public class Example { private int[] NumberArray; public Example() { int[] NumberArray = new int[4]; } public void setNumberArray() { NumberArray[0] = 20; NumberArray[1] = 15; NumberArray[2] = 22; } public void printnumberArray() { for(int index=0; index &lt; …

Member Avatar for wids101
0
156
Member Avatar for shaquib65

I have program that does OCR conversion using asprise plugin, now i want to save the whole console output to a text file. If somebody can point me in the right direction it would be very helpful. By the way I use Eclipse. Thanks.

Member Avatar for shaquib65
0
220
Member Avatar for Anna123

Dear All, I have two files file1 looks like this,the test file ENSG00000000003.10 0 ENSG00000000005.5 0 ENSG00000000419.8 392 ENSG00000000457.8 24 and the GTF file like this, chr1 HAVANA 11869 14412 . + . + . gene_id ENSG00000223972.4 transcript_id ENSG00000223972.4 gene_type pseudogene gene_status KNOWN gene_name DDX11L1 transcript_type pseudogene transcript_status KNOWN chr1 …

Member Avatar for Anna123
0
425
Member Avatar for smitsky

Hi. I'm having a problem accessing a function of an object which I put into a vector. When I try to read the vector at lines 503-506 , I get an output of whatever number I set my setTau() function, instead of the correct number. The beginning value for the …

Member Avatar for Ancient Dragon
0
224
Member Avatar for nadiam

hey guys so im trying to delete a row using checkbox but i get an undefined index error = Notice: Undefined index: check in D:\Xampp\htdocs\EMS2\event.php . i think its because the checkbox is echoed(?)maybe? or is it something else that i overlooked? <tbody class="tbody-event-list-table2"> <?php require "connection.php"; $check = mysql_query("SELECT …

Member Avatar for nadiam
0
464
Member Avatar for mrbungle

I have a quick question- I have an app that is downloaded a lot and used lots without issues. Recently an officer from the US Forest Service downloaded it, and when he tries to install, he's getting this message box- ![c5cb2b8f701441a47757e657cd5e89b1](/attachments/large/3/c5cb2b8f701441a47757e657cd5e89b1.jpg "c5cb2b8f701441a47757e657cd5e89b1") I don't believe this is a problem with …

Member Avatar for mrbungle
0
173
Member Avatar for maryjane9110024

I'm not sure what is going on. I specified for the 2nd cell to go to the next line but it is attaching to the end of the first line. Here is my code: <?php require_once('/fpdf/fpdf.php'); $pdf = new FPDF(); //var_dump(get_class_methods($pdf)); $pdf->AddPage(); $pdf->SetFont('Arial', 'B', '20'); $pdf->cell(0,10, 'Mobile Home Poperty Tax …

Member Avatar for maryjane9110024
0
239
Member Avatar for Rootz

When I try to compile my code in visual basic 2010 it gives me the error 1903 and when I compile the code in Code::Blocks it opens the standard template library's algorithm.h file and takes me to line 2163 if (*__i < *__first) I don't want to modify anything here, …

Member Avatar for Rootz
0
842
Member Avatar for Suzie999

I installed Eclipse IDE along with SDK JDK. When I try to create a new Android project it does not appear in context menu. I uploaded image to show. http://s1.postimg.org/b1n9yag9r/ENP.jpg Also image of installed items in SDK manager http://s15.postimg.org/5g5tg2ue3/ASDKM.jpg I've never developed android and this is first time in any …

Member Avatar for Suzie999
0
231
Member Avatar for riahc3

Simple timediff: SELECT time_format(timediff('2014-04-24 09:11:37','2014-04-24 09:09:37'),'%H:%m:%s') as dif Returns 00:00:00 . Im problably missing something stupid, my apoligies...

Member Avatar for riahc3
0
190
Member Avatar for nikiki

What im and trying to do is take the first four letters of a last name and the first letter in the first name which are in a textbox to use for a user name that im trying to generate but how do i go about doing this is very …

Member Avatar for Momerath
0
189
Member Avatar for Nebil

Hi guys, I wanted to extract a field from a table by date and two other criterias,but it's giving me an exception. The field that is a long integer data type and i used integer in the code.And the date is also available in the database. Am i missing something? …

Member Avatar for Nebil
0
206
Member Avatar for nadiam

Dear All, im testing out a way to get data from database depending on the drop down selection and displaying the data into a table by using php. now my first issue which is really really frustrating me because i've done this dozens of time is that i get `Notice: …

Member Avatar for nadiam
0
7K
Member Avatar for rouse

I was taking a tutorial on PDO with PHP and MySQL and noticed I could not generate an exception from this code. I wonder what setting I need to put in place to generate the exception. If I shut down MySQL I can generate an error but with MySQL running …

Member Avatar for rouse
0
307
Member Avatar for t_thakar

Basically I am woking on this project where I have been given an api. the maximum number of times i can access is 20 calls per second I need to call this api say 500 times I can do simple loop which is foreach($test as $call){ //call api using $call …

Member Avatar for t_thakar
0
178
Member Avatar for Doogledude123

Alright so I want to Display a Browser Not Supported Message if the user is using IE 9 or less. Yes, I am limiting the users, I know. I want this done in JavaScript ONLY. Anyway, I have found a way that checks for IE. If 'ie' = null the …

Member Avatar for Doogledude123
0
15K
Member Avatar for PerplexedB

I have a textbox and a label bound to the same member via a bindingsource. I would have expected that at some point when the user changes the textbox, the label would be refreshed, yet it is not. What am I missing here?

Member Avatar for PerplexedB
0
176
Member Avatar for bibiki

Hi there, I am having difficulties with integrating [datatables](http://datatables.net/). Somehow, my data is being lost/weirdly modified when putting it in my response variable. foreach($aaData as $aData) echo "-".$aData."<br>"; foreach($aaData as $aData) $response['aaData'][] = $aData; My first foreach loop outputs data, and what I see is what I expect. However, when …

Member Avatar for bibiki
0
223
Member Avatar for ravi142

I am Learning so Can suggest some code. How can i add Multi select Box in Codeigniter. Thank You

Member Avatar for liamfriel
0
6K
Member Avatar for yuvjeeth

Hi, I wanted to know if I could search for a file in the application's folder, just by checking with the `File.Exists` method. I am searching for a DLL file in the app's directory. Thanks in advance, Yuvjeeth

0
203
Member Avatar for mxwarning

Hello I am having trouble calling my addsomethingup() function. It keeps saying too few arguments in the function call. Can anyone let me know what I am doing wrong. I also can only get part of the output to work. I thought it was because of not calling the add …

Member Avatar for mxwarning
0
635
Member Avatar for jtjudge

Hello, Working with structures and C++. Our teacher in class attempted to show us how to over load an "<<" operator. I've tried to do that here in the program below without much luck. I have commented out some parts of the code while I am trying to debug this …

Member Avatar for Ancient Dragon
0
324
Member Avatar for Pyler
Member Avatar for rwe0

Hi, Is there a Python 3.x library that does mostly what a File Manager (Nautilus, Windows Explorer, PCmanFM, etc) does? I would like the typical features, mime programs launch in the native os, navigation and some GUI file pickers provide some of this. I don't think I can just invoke …

Member Avatar for rwe0
0
215
Member Avatar for android_gl

**I am using software to create tile map. on map there are different objects ex circle, rectangle, ellipse, polygon etc... I have problem creating ellipse shape. other than that every thing works fine.** ** //loop though map objects and store in 'shape variable'. //so if its circle than store in …

Member Avatar for android_gl
0
647
Member Avatar for TarkiB

Hi guys, I'm using a very simple database and dataset and it appears to be working, except I can't actually save any data. Here's what I did: I created an empty database with a corresponding empty dataset. I filled it in with 4 rows of dummy data (ID, name, address, …

Member Avatar for PerplexedB
0
1K
Member Avatar for Learner010

consider the following code afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } i expected `12` as the output but its wrong and correct one is `10` . But i don't know how this is done internally ? i was wondering if somebody could …

Member Avatar for StuXYZ
0
151
Member Avatar for Gus_19

I am trying to look through each row in my data table and if a condition is not met, a messagebox appears. (Eventually, instead of the messagebox, I will populate to a DGV. For Each eventRow As DataRow In PFC_Xpress.Tables("EVENT INFO").Rows If eventRow.Item("Incident Type") = "Party" Then For Each personRow …

Member Avatar for Gus_19
0
389
Member Avatar for cambalinho

the WindowClass.hbrBackground=(HBRUSH) CreateSolidBrush(RGB(0,255,0)); change the all windows backcolor, registed with these class(WindowClasss). and for change the DC\window backcolor we need use WM_ERASEBKGND or other messages for do it(i don't remember how). but the SetDCBrushColor() do the job, right? but seems be ignored :( i'm using it in WM_PAINT messages. can …

Member Avatar for cambalinho
0
796
Member Avatar for eshko

Hi everyone, I have one-field form on my website, which is supposed to be filled with barcode number. It was functional until few days age when the need emerged for the auto-submit. As you can see, I have to make script which will automatically submit form when data is filled …

Member Avatar for murat.ozkan.9028194
0
6K
Member Avatar for ItsAdZy

I am looking to start learning the python language and I was wondering if anyone can give me a heads up to any good IDE's for the language? I have a list [here:](http://wiki.python.org/moin/PythonEditors) but because there are so many I have no idea where to even start. Thanks in advance.

Member Avatar for RogueHaxor
0
1K
Member Avatar for yuvjeeth

Hi all, I have a TabControl into which, at runtime, add a tabpage and a control to the tabpage created. I know how to create a tabpage. But I cant figure out a way how to create both at runtime. Thanks in advance, Yuvjeeth

Member Avatar for yuvjeeth
0
285
Member Avatar for strRusty_gal

Hi Everyone, Thanks for viewing this post. I have placed the code below in the MASTERPAGE.master.cs Label user = (Label)Master.FindControl("lblHidden123"); The control named lblHidden123 is in one of the Child page that refer to MASTERPAGE.master.. This control lblHidden123 is a normal label field, visible true. When i try to access …

Member Avatar for strRusty_gal
0
139
Member Avatar for nyfan68

I am working on a simple project and I need a little help. I have created a program that draws circles on a canvas. The circles are blue, and the method flash() takes a random int count, and will light up a circle and change its color to yellow. The …

Member Avatar for Schol-R-LEA
0
299
Member Avatar for Gus_19

I am clueless right now on how I can set the position of a form to open up directly below the parent form, as if the new form is attached directly below it's parent form. The parent form's property is currently set to start at the CenterScreen. I don't like …

Member Avatar for Gus_19
0
179
Member Avatar for BenWard

Hello, I'm having some trouble with a £ sign, it's being displayed to the user as the <?> question-mark-in-a-black-diamond icon. I have an SQL Server database with a £ in a table. (Collation Latin_General_C1_AS which is analoguous to 8859-1) I have a PHP script which retreives this record without issue …

Member Avatar for BenWard
0
276
Member Avatar for liamfriel

Hello all, I am pretty new to ASP and we are using ASP for logins for our PHP projects, we are using Active Directory LDAP. We can only connect to one container at a time. I have managed to create some code so switch containers but I cannot log in …

Member Avatar for liamfriel
0
207
Member Avatar for engrjd91

Hello, i have a login page for home i have created a database and connected my database to it. My code is: **LOGIN.PHP** <!DOCTYPE html> <html lang='en'> <head> <meta charset="UTF-8" /> <title> HTML Document Structure </title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div id="wrapper"> <form name="login-form" class="login-form" action="check_user.php" method="post"> …

Member Avatar for engrjd91
0
410
Member Avatar for yuvjeeth

Hello all, I have a weird problem. I have created an application in VB.NET 2010 on my PC which runs Windows XP Home Edition SP3. Upon testing my application, I found out that my app does not run on Windows Vista and Windows 7. Just to help, I was searching …

Member Avatar for yuvjeeth
0
946
Member Avatar for nitish.mohiputlall

here is the question: "write a program , which has as content "time is a great teacher but unfortunately it kills all its pupils" and outputs th reverse string to the disk file out.txt. My problem is that im stuck with the part on how to display the sentence in …

Member Avatar for VertexF3
0
150
Member Avatar for champmanking

Hey. I need help coding a php script that receives a URL from a form then displays all the images(jpeg, png and gif) from that webpage. I don't need to images to be saved. This is what I already have: form.html <html> <head> </head> <body> <div id="form"> <form action="view.php" method="get"> …

Member Avatar for yessi_1
0
261
Member Avatar for nadiam

hey guys so im getting > Notice: Undefined index: spouse-salutations in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 18 > Notice: Undefined index: spouse-state in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 24uoted Text Here > Notice: Undefined index: child-salutations in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 30 > Notice: Undefined index: child-state in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 36 and its really …

Member Avatar for nadiam
0
798
Member Avatar for cambalinho

the DrawText() function is for draw text with a rectangle size. but if the DT_VCENTER is used with DT_SINGLELINE, how can i use the "\n" and "\t" strings formats?

Member Avatar for cambalinho
0
291

The End.