64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for cambalinho

when we create child controls, what is the style for accept text formats? (i mean: '\t', '\n' and others)

Member Avatar for cambalinho
0
136
Member Avatar for aquilina

i have problem with my index id for class_student.php.. i not sure where it missing smth.. kindly look it for me. there is an error with index id at line 3 which mean $get_id = $_GET['id']; <?php include ('session.php'); ?> <?php $get_id = $_GET['id']; include('header.php'); $user_query = mysql_query("select * from …

Member Avatar for aquilina
0
882
Member Avatar for MasterHacker110

I am writing a program that will open another form, the user will continue doing stuff on the new form and would then close the form. When and only when this new form closes, the main form should continue with its work and re-enable some components. Here is the code: …

Member Avatar for mKorbel
0
211
Member Avatar for MasterHacker110

I am trying to read a some data that is stored in an xml file and then print it to the screen for the user. But my program isn't working correctly. Here is my XML document: <UserAccounts> <Account AccountNumber="1234567890"> <Password>12345</Password> <Balance>1024.64</Balance> </Account> </UserAccounts> And here is my code: File fXmlFile …

Member Avatar for MasterHacker110
0
303
Member Avatar for vizz

When mouse is on image display one value from array inside **thought** div's span. Show next value each time. When values ends start with first value [something like this](http://jsfiddle.net/W4fm9/) , but when hover on image var arrValues = [ "one", "two", "three" ]; <img src="images/thinker.png" /> <div class="thought"><span></span></div>

Member Avatar for vizz
0
245
Member Avatar for Vegito1991

I have been struggled to solve this problem for few days, i was working on multichat application where in this class i want to send the text to the server and and response in the client side, if anyone can help me i really appreciate from what i known the …

Member Avatar for JamesCherrill
0
384
Member Avatar for dany12

I have a simple menu like this **HTML** <div> <ul> <li> <a href="#">Demo</a> </li> <li> <a href="#">Demo2</a> </li> <li> <a href="#">Demo3</a> </li> <li> <a href="#">Demo4</a> </li> <li> <a href="#">Demo5</a> </li> </ul> </div> **CSS** ul li:nth-child(1){border-top:4px solid red;} ul li:nth-child(2){border-top:4px solid pink;} ul li:nth-child(3){border-top:4px solid blue;} ul li:nth-child(4){border-top:4px solid orange;} Now …

Member Avatar for dany12
0
297
Member Avatar for moaz.amin.37

hi: we use system("cls") function in c++ i need a function or a class or any command that i give it in my code that clear my screen plz help me

Member Avatar for JamesCherrill
0
337
Member Avatar for Sarkurd

Hi after some months learing basics of C++, today i started by creating a simple game but i have problem two problems 1- `checkwin()` doesn't work properly 2- the code goes glitchy if i press Enter before choosing a block sorry for my english #include <iostream> using namespace std; char …

0
160
Member Avatar for dhani09

I'm trying to do a username availability check on my website, i.e during registration, it checks if a username is taken or still available. However when i execute i get no result at all,nothing happens. My code: **Registration page** ***register.php**: * //this form posts to the same script. //In this …

Member Avatar for iamthwee
1
492
Member Avatar for zein1212

i'm new learn php and mysql and i got stuck can't get better logic for my brain i want to get message from page if i type url like **index.php?user=user1** and page will show with data table and if username doesn't exist and page show no username found so this …

Member Avatar for zein1212
0
536
Member Avatar for Mya:)

Hey Guys, What is the easiest programming laungage i can start learning by doing free trails, or anything like that. I already know Delphi but it's kinda useless so any laungage that is usefull and used alot Thanks!

Member Avatar for Mya:)
0
132
Member Avatar for mattster

Dear All, This must be a very common problem, but yet nowhere on the internet wishes to display a working answer. I am in a sticky situation. I have the following .htaccess file on my local webserver: http://localhost/testsite/.htaccess DirectoryIndex home.php?view=home RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} …

Member Avatar for mattster
0
353
Member Avatar for malatamil

before that i upload values using implode(),after that i need display that array values. below this code showing array values as in single variable.[Click Here](http://www.namshimoga.com/searchbycat.php?catagory=Health+%26+Fitness&maincateg=Health+%26+Fitness&maincatid=151&city=$city) see that page i added 5 categories but it displayed in single variable, i want to separate it, becaz that ids are different category:Pediatrician,ayurveda,skin Care,optical,yoga, …

Member Avatar for malatamil
0
264
Member Avatar for masonketcham

This is the last part to my assignment and when I go to compile the last part I come up with 7 errors unsure what it is that it wants me to do. The errors are: C:\Users\Owner\Desktop\week9 part6\Inventory6.java:212: error: illegal escape character strPrice = strPrice.replaceAll("\$", ""); ^ C:\Users\Owner\Desktop\week9 part6\Inventory6.java:270: error: …

Member Avatar for masonketcham
0
187
Member Avatar for Mya:)

Hey Guys! I want some idea for a program i can write on Delphi. My brain is drained out :/.... Just something to do in my free time. Thanks!

Member Avatar for Mya:)
0
359
Member Avatar for sana.f.qureshi_1

Hey there good people. well i have implemented the whole code of compiler phase 1. Have implemented al the DFAs and most are working fine. But this comments DFA is giving me grief. What it should do is, it should ignore anything written between { } . but it's not …

Member Avatar for sana.f.qureshi_1
0
180
Member Avatar for malatamil

i need to show the array values separate $ids = array(12,13,14); $ids1 = explode(",", $ids); echo $ids1; if i run this it shows array

Member Avatar for malatamil
0
137
Member Avatar for dlmagers

Hello, I have read the requirements of this challenge and I have a good understanding of what needs to be done. I am confident that my program works but it DOESN'T. What a blow to my confidence. I am in hopes that someone kind person would point me in the …

Member Avatar for dlmagers
0
18K
Member Avatar for pspwxp fan

Hi Daniweb, I am working on an assignment that is aimed to help us understand floating points. The current task is to take a number as input, example 3.5, or 2.25 etc and output it as a binary decimal, ex 11.100000000, 10.0100000000. To do this, I am taking the whole …

Member Avatar for pspwxp fan
0
338
Member Avatar for dlmagers

Hello, I am working on this javascript application to be able to make change. I have my html and css files down good. Here is what I have. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Make Change</title> <link rel="stylesheet" href="styles.css"> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <script src="make_change.js"></script> </head> <body> <section> <h1>Change Calculator</h1> <label>Enter amount …

Member Avatar for dlmagers
0
6K
Member Avatar for vbshad

what am i going to do?..unintentionally, explorer1.vb was deleted and when i run the program, it shows errors... Error 3 Unable to open module file 'C:\Users\USER\documents\visual studio 2013\Projects\IT Equipment Inventory System\IT EQUIPMENT INVENTORY SYSTEM\Explorer1.vb': The system cannot find the file specified. C:\Users\USER\documents\visual studio 2013\Projects\IT Equipment Inventory System\IT EQUIPMENT INVENTORY SYSTEM\Explorer1.vb …

Member Avatar for cgeier
0
254
Member Avatar for owenransen

I have a linear array of structs. These are constant structs and is a way of holding a simple table. Now though I need to add another "column" to the table (another member in the definition of the struct) and I'm wondering if I'd be better using a class rather …

Member Avatar for owenransen
0
346
Member Avatar for websponge

In the process of converting an old web application I did from MYSQL to MYSQLi and am a bit lost with echoing a result, This code works in the old app with Mysql: <textarea name="dump" style="width:300px; height:400px;"> <?php include ("../connect.php"); $content = mysql_query("SELECT $field FROM customer WHERE cusid = '$cusid'") …

Member Avatar for websponge
0
333
Member Avatar for new_2_java

Hi all, I have a multi-threaded program. This program, lets say spawns 10 threads. I would like to update a variable when each thread finishes its job. The reason why I am asking this, is because I would like to show something like progress bar (not really a progress bar, …

Member Avatar for JamesCherrill
0
6K
Member Avatar for Szabi Zsoldos

Hey guys, Having some difficulties understanding why my OR || operator is not working... First part is BOOLEAN and it is working Second part is STRING and it is working, it returns the desired value What could it be ? <?php if(($oferte->isOrdered($oferte->CleanSapStyleNumbers($oferta->VBELN)) == false) || ($oferte->OfertaValida($oferte->CleanSapStyleNumbers($oferta->VBELN))->valabilitate == "VALABILA")): ?> some …

Member Avatar for minitauros
0
207
Member Avatar for vbshad

can anyone help me regarding this??..i have here the code to get the new last record after deleting the last record...but i encountered an error saying... "An unhandled exception of type 'System.IndexOutOfRangeException' occurred in System.Data.dll Additional information: locid, make sure data column names are correct, ,make sure the index is …

Member Avatar for samir_ibrahim
0
138
Member Avatar for vbshad

i have here separated code for inserting new data, and updating changes in existing data in access using vb.net....when i run the program, both run sucessfully...now, i want to use if statement to combine the code for inserting new and updating changes in the data in one command button 'save'..but …

Member Avatar for Mr.M
0
2K
Member Avatar for giancan

Dear friends, I'm having a strange issue with a simple python code involving wx and HTML2. It is a code to run a local html page (on windows) but when I close the browser, the process stays in memory and I have to manually kill it. Here is the code, …

Member Avatar for giancan
0
245
Member Avatar for Lethugs

Hi, Im making a simple program which converts a encrypted text file the upload it to sql CE. This is time in and out logs of every employee. The date is extracted from a machine and downloaded as encrypted file. We managed to decrypt it by getting the equivalent value …

Member Avatar for Lethugs
0
342
Member Avatar for Stefan_2

I get this error poping up here and there but I still don't know what it means and how to fix it. "Windows has triggered a breakpoint in program_name.exe. This may be due to a corruption of the heap, which indicates a bug in program_name.exe or any of the DLLs …

Member Avatar for Ancient Dragon
0
224
Member Avatar for Elvi

Anyone will help me to solve this? this is about ER diagram and some other stuff about database. This is the exercise: ----------------- "Project a DataBase to support a architectural studio which offers its customers proposals refurbishment. Each component of furniture ( table , chairs , ... ) is characterized …

Member Avatar for Elvi
0
255
Member Avatar for abaddon2031

I have a python script that reads a csv file and converts it to two new files so that my database can add new emails or update existing ones. What im trying to do now is after it has converted them for it to send me a email with how …

Member Avatar for abaddon2031
0
391
Member Avatar for vizz

How to create infinite loop of Shuffle Text Effect using following code. It stops after animation is finished. How to start again when first loop of animation is completed? <script src="http://code.jquery.com/jquery-1.6.3.min.js"></script> <div id="container">text</div> **main script** /** * @name Shuffle Letters * @author Martin Angelov * @version 1.0 * @url http://tutorialzine.com/2011/09/shuffle-letters-effect-jquery/ …

Member Avatar for ryantroop
0
956
Member Avatar for nadiam

hi, i have index.php and home.php. in order to go to home.php users have to login in index.php. but how do i not allow users to be directed to home.php when they type home.php address in the address bar? *am i making sense?*

Member Avatar for nadiam
0
502
Member Avatar for airhalynn101

I have this line of code which gets the activation date of an agent and computes the difference between date.now to get the date difference: Dim dt As New DataTable dt = ExecQuery("select agtid,Activation from tblagentinfo") If dt.Rows.Count > 0 Then Dim activation As String For i As Integer = …

Member Avatar for airhalynn101
0
6K
Member Avatar for Auroch

Hi! I'm trying to count the number of occurrences of each word in a text file. But program put in the file the first symbol of inputed word only (line 34) and don't enter in the for-statement (line 51). What should I serach for in my code in order to …

Member Avatar for Auroch
0
260
Member Avatar for moaz.amin.37

there is my question that normally in java we create object with new operator but when we want to use String and String is also a class then we declare object without new operator why plz answer my question

Member Avatar for 203428
0
231
Member Avatar for Dzenad

Hello, I have stored values in database via html and php form. Now I am creating form which will enable users to edit inputs. I am having trouble with input types radio and checkboxes. I have stored checkboxes values in database via implode function. ----- $products_rec=$_POST['products']; $products=implode(", ", $products_rec); ----- …

Member Avatar for Dzenad
0
416
Member Avatar for moaz.amin.37

My code is not compile and run Code is Below import java.util.Scanner; class Input { public static void main(String arg[]) { int rno; System.out.print("Enter Your Name = "); System.in.nextInt(rno); } } i think if System.out.println() is run then upper code should have to run but not run please solve this …

Member Avatar for moaz.amin.37
0
553
Member Avatar for davidjennings

Hi All, I am currently trying to update a check box . Then pass the data back through the same page and if set update DB. The code is long so I shall be as concise as possible. I have pulled the data from the DB and I am using …

Member Avatar for davidjennings
0
973
Member Avatar for nadiam
Member Avatar for nadiam
0
101
Member Avatar for EnglishInfix

I am working on my first project. I am trying to create a program that can fetch a string from a text file when the number for that string is entered, and allow the user to edit that string if they wish. Right now I'm just trying to get menus …

Member Avatar for EnglishInfix
0
3K
Member Avatar for Start4me

I have linklabel which has spaces at the end, I want to copy the label's content without the spaces. This copies the linklbl with spaces at the end: Clipboard.SetText(E_mailLinkLabel.Text) But couldn't figure out how to trim the linklabel before copying it.

Member Avatar for Start4me
0
394
Member Avatar for missy_mi

Hello, i am facing a little problem. my website page logo is cut a half mm when i use my 1366 x 768 screen resolution, win7, 64bit laptop and is not cut when i use my 1920 x 1080, win8, 64bit screen resolution laptop. Both using the same php code …

Member Avatar for missy_mi
0
173
Member Avatar for Mr.UNOwen

First of all I apologize if the title is a bit vague, I couldn't phrase my question to fit in the given space. So given you have an array of floats that you want to cast as a pointer to a struct containing only floats, assuming the array size is …

Member Avatar for Mr.UNOwen
0
180
Member Avatar for engrjd91

I have my php page, in which i have 3 fields old pass, new pass, confirm new pass. I'm trying to chnge the password of my id from which i am logged in. The program first check in the database and change the password of the logged in user. I …

Member Avatar for engrjd91
0
680
Member Avatar for ZZucker

Challenge: change the code so that only .py and .txt files of a given directory are listed. ''' filename_list_given_dir1.py use module glob to list all the filenames of .jpg files or any extension(s) you specify in a given directory ''' import glob import os # all files (split off file …

Member Avatar for snippsat
0
519
Member Avatar for smitsky

Hi. Can someone tell me how to output a two-dimensional priority queue please? In particular I am using an array of priority queues. The method I use to output an array of vectors is not working. I will show the one that is working (array of vectors): if(!diskQueues[i].empty()) { for …

Member Avatar for tinstaafl
0
928
Member Avatar for acrocephalus

Hello! I have started experimenting with GUI programming using TkInter. Up to now, I have written this code: [CODE]import Tkinter, tkFileDialog, Tkconstants from Tkinter import * root = Tk() root.title('Watermark Image Processing 1.0b') #Options for buttons button_opt = {'fill': Tkconstants.BOTH, 'padx': 5, 'pady': 5} #Define asking directory button dirname = …

Member Avatar for ronkalycarlos
0
18K

The End.