199,113 Archived Topics

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

Hi i have a textarea. Text area is to enter label names. When i enter first letter of the label name the matching labels appear as dropdown so that they can select the label from the drop down instead of typing the whole name. This drop down is a div. …

Member Avatar for yaragalla_mural
0
177
Member Avatar for amit.chaudhari.71

dear friend i want to insert a row in orecal which is insert into employee ('AMIT D'SOZA', 'MANAGER','500') thorugth php but there is problem to insert data like 'AMIT D'SOZA' so i want to restrict "'" (singal quets ) to enter in text fields plz help me if you have …

Member Avatar for rtrethewey
0
165
Member Avatar for burt.munn

I need some help with this project. I've gone as far as I can go, with no results, The inquiry form works, but I need to populate it with my sql table. I could only screen shot my sql and I have no idea of how to put it on …

Member Avatar for burt.munn
0
239
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 CarterLangley

Hi guys, Got a problem uploading an image to a directory and then including that directory location into the database so that I can display the image. Here is the code I have so far. <div id="main_right"> <?php if ($picture) { ?> <img src="<?php echo "../images/teacher_photo/" . $picture ?>" alt="<?php …

Member Avatar for pritaeas
0
241
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 GilbertB

Hi, I have this list : CompanyID CompanyName Involved Party Involvement C 10001 GRAF LIMITED GRETA PACE BONELLO Director C 10001 GRAF LIMITED GORDON PACE BONELLO Director C 10001 GRAF LIMITED DAVID PACE BONELLO Director C 10024 J.P.F. TRADING COMPANY LIMITED PATRICIA FERRIGGI Director C 10024 J.P.F. TRADING COMPANY LIMITED …

Member Avatar for Reverend Jim
0
222
Member Avatar for riahc3

Im doing a query and Im getting this: Error Code: 3. Error writing file '/tmp/MYYQVeZr' (Errcode: 28) Its not a space issue or a permission issue either: ![55777bcf7c6e92ac68de57e1f4b594f0](/attachments/large/1/55777bcf7c6e92ac68de57e1f4b594f0.png "55777bcf7c6e92ac68de57e1f4b594f0") Whats wrong?

0
243
Member Avatar for DS9596

I have to make a program that simulates a lottery. The program should have an array of 5 digits named winningdigits, a randomly generated number in the range of 0 through 9 for each element in the array. The program should ask the user to enter 5 digits and should …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for malatamil

dynamic title,meta keywords and description.. manually i created one page in that i add some title,keywords and descriptions based on category(i.e like home,about us,contact us etc)in backend, and i have some pages like home.php,aboutus.php etc in front end. so if i click home(home.php) that title should display which i entered …

0
206
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 juegosfrivs

<style> .msgBox{ position:absolute; z-index:10; border-radius:5px; border:1px solid #F5F5F5; background-color:#DDD; box-shadow:1px 1px 5px #999; overflow:hidden; display:none} .msgBox ul, .msgBox li{ list-style:none; padding:0; margin:0; border:0} .msgBox .title{ border-bottom:#AAA solid 1px; padding:5px; background-color:#CCC; font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight:bold; text-shadow:1px 1px #DDD; font-size:12px} .msgBox .msgContent{ border-top:#F5F5F5 solid 1px; padding:5px; text-shadow:1px 1px #F1F1F1; …

Member Avatar for juegosfrivs
0
278
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 satti

Dear fellows , The concept is to split the screen to view all windows at a time .It will allow main screen to be split into two or more sections. It will be helpful for the active program’s window to be resized properly to one part of the screen. Using …

0
183
Member Avatar for malatamil

I have one dropdownlist in that i want to display some categories. and second is subcategory in checkboxes ,while selecting any category from dropdownlist that related subcategory should display in checkbox, after that whatever i need to select in checkbox values to store in database. here is my code: Main …

0
123
Member Avatar for Shantanu88d

whenever i delete, insert or update my datasource, gridview does not refresh. However, when i manually refresh my page, then it does. How to make it such a way that it refreshes by it's own whenever I insert,delete or update anything from my datasource. [B]P.s[/B]: DataBind() method is not working

Member Avatar for naimerkallis
0
6K
Member Avatar for geetylerr

Can someone review this and give it some tips? Ive awlways struggled with python programming. # address book # Tyler G def search_database (): #search algoritm searchcriteria = raw_input("What do you want to search? ") temp1 = open("addressbookdata","r") for line in temp1: if searchcriteria in line: print ("\n") print ("\n") …

Member Avatar for TrustyTony
0
2K
Member Avatar for Praveen_10

#include <iostream> using namespace std; int *growArray (int* p_values, int cur_size); int main () { int next_element = 0; int size = 10; int *p_values = new int[ size ]; int val; cout << "Please enter a number: "; cin >> val; while ( val > 0 ) { if …

Member Avatar for nullptr
0
205
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 Siberian

var acorn = document.getElementById("boxa"); var outputResults = acorn.childNodes; document.write(outputResults); My goal is to write all the child nodes within the id=boxa, that is not working ?

Member Avatar for Siberian
0
161
Member Avatar for VertexF3

Hello guys :) I hope you are well. I have a problem, I am trying to build a 2D platformer and I am stuck when it comes to building the levels. I found a tutorial on how to build a tiling engine and I just got completely confussed. I am …

0
126
Member Avatar for Andrew_13

I'm not very familiar with code but am stuck with a project attempting to take the javascript variable from a webpage and pass it into a web-based application (Lectora) to use further. The application allows External HTML Objects to achieve this but I do not know much on topic beyon …

Member Avatar for JorgeM
0
533
Member Avatar for audebono

Hi i need help with pseudocode functions asap! I need someone very kind to provide functions for the following main program code. The pseudocode assignment is to create a mail merge program. Managed to do the code for the main program. Is there anyone that can provide the functions for …

0
295
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 yaragalla_mural

The following is my html code. This code contains one absolute div. The div with id "mydiv" is an absolute div. Only half of the absolute div is being displayed. I want the div on top of all elements and fully displayed. What could be the problem? Even after specifying …

Member Avatar for JorgeM
0
289
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 ctrah

hi... how to calculate the difference between time 1 and time 2 ... and how to get the current time without moving "second" coding that I do now makes a ticking time and can not do subtraction between the time ... I really appreciate your help Private Sub Command1_Click() Timer1.Enabled …

Member Avatar for ctrah
0
147
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 leap_coder

I have come up with a form validation javascript function.But it always return true although there are empty text fields.Why is that?Following is my code. HTML Form <form method="post" action="operation.php" name="form1"> <label>Location Name:</label><input type="text" name="name"/> </br> </br> <label>Latitude:</label><input type="text" name="age"/> </br> </br> <label>Lontitude:</label><input type="text" name="addr"/> </br> </br> <input type="submit" value="Add" …

Member Avatar for JorgeM
0
273
Member Avatar for Gulzar_1
Member Avatar for Gulzar_1
0
99
Member Avatar for Nebil

hi guys, I wanted to get a result of a certain field by passing a month and year parameter to access database,the day parameter isn't important.So i used this query and it raised an exception.The record exists but it says there's no data for that column. Any help would be …

Member Avatar for PerplexedB
0
1K
Member Avatar for Shoes Mosh

The bank already has a Java application. But they want certain new features to be added and some existing functionality to be changed as per their new policies. For this, Angelina needs to address the following issues: [20 Marks] 1. There is a class named Accounts which calculates the interest …

Member Avatar for Shoes Mosh
0
143
Member Avatar for vacuum

I have developed an MDI MFC image viewer application for simultaneously viewing and comparing more than one images. In my application I need to implement dual monitor support which can view the displaying images in two monitors connected to the system and viewer should have provision to arrange the opened …

Member Avatar for Ancient Dragon
0
535
Member Avatar for staffmbm

I'm trying to add some mysql table columns to JSF table. And I'm getting error: /index.xhtml: The class 'logon.User' does not have the property 'description'. Please help User.java package logon; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="users") public class User { private int …

Member Avatar for stultuske
0
2K
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 samyakonline

I am going to start a business of business consultant. My target clients would be pan-asia; so, to reach all of those, I need to have a impressive website with lots of designs and pictures. Videos would also be a integral part. I am confused for chosing- PHP or ASP …

Member Avatar for diafol
0
147
Member Avatar for chokorato

I want to convert xml to python. Help!!! <?xml version="1.0" encoding="UTF-8" ?> <objName>Stage</objName> <variables> <name>matrix dimension</name> <value>2</value> <isPersistent>false</isPersistent> </variables> <variables> <name>tile total</name> <value>4</value> <isPersistent>false</isPersistent> </variables> <variables> <name>current tile number</name> <value>4</value> <isPersistent>false</isPersistent> </variables> <variables> <name>tile size percentage</name> <value>100</value> <isPersistent>false</isPersistent> </variables> <variables> <name>tile width</name> <value>105</value> <isPersistent>false</isPersistent> </variables> <variables> <name>initial board width</name> <value>210</value> …

Member Avatar for profmuluka
0
286
Member Avatar for reygcalantaol

Hope somebody can help me regarding regular expression. I have a shortcode format "<!--myproductsku-->" in the string, I want to use regular expression to extract myproductsku. And if there is a match replace "<!--myproductsku-->" with "This is my myproductsku.". Rey

Member Avatar for Daemon_CC
0
268
Member Avatar for hitro456

Hello All, I have a web application with master page. master page has accordian (vertical) menu with favorites section where user can drag menu items dynamically. user has to press 'save' button to save these newly dragged items. My problem is after pressing 'save' button, these control's do not render …

Member Avatar for Daemon_CC
0
2K
Member Avatar for PsychicTide

Hey guys, I'm not very familiar with asp.net (Doing this in c#) or session cookies for that matter, just the basics. Trying to store a list of items in a session cookie, then when needed, pull those items back out as a list to then use them in a MS …

Member Avatar for Daemon_CC
0
327
Member Avatar for syahirah_1

*hi.. i just want to ask those who know to filtering multiple search using SP. My SP is working and the problem came when i want to call the parameter from my sp.can u check what error with my code* public partial class WebForm3 : System.Web.UI.Page { private string GetConnectionString() …

Member Avatar for syahirah_1
0
246
Member Avatar for Pennie_1

Imports System.Windows.Forms Partial Class ExisitingApplication Inherits System.Web.UI.Page Protected Sub btnSearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSearch.Click If Me.txtLastN.Text = "" Then Dim erMsg As Windows.Forms.DialogResult = MessageBox.Show("Must enter Last Name.", "Search", MessageBoxButtons.OK) End If 'Define connection string with datasource Dim str As String = ConfigurationManager.ConnectionStrings("SqlDataSource1").ToString 'Define sql …

Member Avatar for Pennie_1
0
351
Member Avatar for fugio

hi all I have an exercise when I select the value in the combobox will confirm the value on datagridview I wrote a code in combobox of from1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim sQry As String sQry = "SELECT Name FROM dtaStudent" …

Member Avatar for Daemon_CC
0
4K
Member Avatar for arifkhumaidi

Salient object in an image is that part of the image where all the human attention goes and rest part is mostly ignored by the vision of humans. i wonder why many people researching about saliency. i can't get enough illustration how saliency would be any of use to human …

Member Avatar for Daemon_CC
0
174

The End.