199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SpecialistPanther

Javascript: <script> /** * jQuery document ready function (when the DOM is loaded) * From here we can use $ to reference the jQuery object */ jQuery(document).ready(function($) { /** * Finds all elements that have _BOTH_ the .audio and .controls classes * then attaches a click handler to the .playpausebtn …

Member Avatar for SpecialistPanther
0
2K
Member Avatar for Vimal Bhatt

Hello everybody ! Happy Diwali and Happy new year I report my problem as under : I have a problem to extract data from XML file.My XML file is small ,limited to 5 to 10 lines. I want to use XML file as a arranged (readable and printable) text file. …

Member Avatar for Mike Askew
0
232
Member Avatar for RonKevinT.Manuela

I have here an integrated version of my code into a modal... This code gives undefined index id <!-- Edit-Page Modal --> <div class="modal fade" id="edit-pages" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button> <h4 class="modal-title" id="myModalLabel">Edit Page</h4> </div> <div class="modal-body"> <?php …

Member Avatar for diafol
0
751
Member Avatar for valestrom

My program is supposed to replace all sets of 4 spaces with a tab but it only seems to be editing the first line then skipping the rest of the lines. "work_string" is defined via another function which takes and saves an entire files input into one string. I just …

Member Avatar for valestrom
0
316
Member Avatar for Slavi

Hey everyone, I;ve implemented SSL to my server using [this guide](https://blogs.oracle.com/lmalventosa/entry/using_the_ssl_tls_based) now when I connect the server it takes some time to initialize now, I assume its setting up stuff, and then when the client connects takes awhile as well (few seconds), I'd assume it works but I want to …

Member Avatar for Slavi
0
594
Member Avatar for jean_5

What is the exception that verifies if the input is in the specified sql range?

Member Avatar for ddanbe
0
110
Member Avatar for Samik_1

Error : java.lang.String cannot be converted to String import java.util.*; class String String str; String newstr; void inputString() { Scanner sc = new Scanner(System.in); System.out.println("Enter a string:"); str = sc.nextLine(); } void checkFrequency() { int freq = 0; System.out.println("CHARCTER FREQUENCY"); if(str.isUpperCase) { char []sArray = new String[str.length - 1]; for(int …

Member Avatar for stultuske
0
116
Member Avatar for schroaus

Hello people of the internet. I am currently learning how to program in c++ and I am having trouble with a program. This program is supposed to take in a string and write it out again wtih the ascii ordinance having a plus two i.e a = c or s …

Member Avatar for NathanOliver
0
128
Member Avatar for zebnoon1

Dear friends, Please guide me I want to display data in PHP form from mysql database. my code is below <?PHP //connect to database $username = "root"; $password = ""; $database = "mydatabase"; $server = "127.0.0.1"; $conn= mysqli_connect($server,$username,$password,$database); // checkintin connection if($conn->connect_error){ die("".$conn->connect_error); } // select data $sql = "SELECT …

Member Avatar for zebnoon
0
4K
Member Avatar for rjusman90

<?php echo "<form action='' method=\"post\">"; echo "<table border='1'> <tr class='' > <th> P.Name </th> <th> P.Size </th> <th> P.Quantity </th> <th> P.Price </th> <th> P.Delete </th> </tr>"; $query ="SELECT * FROM `order_detail` WHERE `orderID` = $viewID "; $result=mysqli_query($connection,$query); while($row=mysqli_fetch_array($result,MYSQL_ASSOC)){ $Id=$row['ID']; echo "<tr>"; echo "<td> <input type=\"text\" name=product_name value=\"$row[prodName]\"> </td>"; echo …

Member Avatar for cereal
0
1K
Member Avatar for NightOwl19

Heya guys, i have been trying to make this very famous ball game using java swing. although the primary code ihave used is from this link [[Click Here](http://www.edu4java.com/en/game/game6.html)](null)but been trying to modify it to make it look less complex..But everytime i run it it gives me following error: Exception in …

Member Avatar for NightOwl19
0
530
Member Avatar for divinity02

can someone help me or tell me why I am getting these errors. where I have gone wrong again public static void main(String[] args) { Scanner read = new Scanner (System.in); double taxable_income, income, tax, sum; System.out.println("Please enter taxable income"); taxable_income = read.nextDouble(); System.out.println("Please enter income"); income = read.nextDouble(); if(taxable_income …

Member Avatar for stultuske
0
148
Member Avatar for Mallik_1

Hi I have developed some selenium scripts with TestNG and i made it as a runnnable jar file, but when i am executing that its giving me the following error as log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.FileAppend. The below is my log4j.properties file. # Root logger option log4j.rootLogger=INFO, file …

Member Avatar for stultuske
0
620
Member Avatar for divinity02

I have a program to write and keep getting syntax error but can't figure out what is the error, can somehelp me out here, any kind of help with it will be greatly appreciated. here is the program and what I have so far. this is the program: Write a …

Member Avatar for redtribal23
0
255
Member Avatar for heather_h56

Hi Iam having some problems with this program, I think its minimal but i don't know how to solve it . THIS IS THE PROGRAM=A teacher gives 5 tests, but averages the four highest scores. An average of 90 or better recieves an A, 80-89a grade of B, 70-79 a …

Member Avatar for redtribal23
0
211
Member Avatar for rakibtg

I am using PHP Simple HTML DOM Parser to fetch urls, but i got an error while fetching links. Have a look at this script: $result = str_get_html($result); foreach($result->find('a') as $element) $result = str_get_html($result); $result = str_replace('http://', '', $result); foreach($result->find('a') as $elementa) echo $element->href; echo $elementa->href; Here I want to …

Member Avatar for sagar.shetty.946
0
2K
Member Avatar for Xiao_1

this is my code i dose not work: ( help me i am create for new user from VB with access) Public Class newuserForm Private Sub btncreate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btncreate.Click If txtword.Text = "" Or txtid.Text = "" Then MessageBox.Show("Please complete the required fields..", …

Member Avatar for Xiao_1
0
339
Member Avatar for zainab_8271

hi i have a question , my institution uses pascal and cobol programming language for their system but i think its too old and need something new, so they start using vb.net to make a paper form that get information from the data base of the system and put its …

Member Avatar for SalmiSoft
0
191
Member Avatar for Xiao_1

in vb if in form1 the user login how to come the form2 that come out information with access

Member Avatar for Santanu.Das
0
178
Member Avatar for Ripster

I am not new to programming, been doing it for years but I want to become pro at PHP so what are some good things to develop that will help me gain experience?

Member Avatar for veedeoo
0
150
Member Avatar for markii.borabon_1

I have simple php code here, where basically asking to display the value of query : <?php $table = "tbl_product"; /******************MULTIPLE QUERIES*******************/ if($tbl_code==999){$condition = " WHERE (category = 'wellington') OR (category = 'hivis') OR (category = 'tools') OR (category = 'waterproof') ";} else if($tbl_code==998){$condition = " WHERE category = 'wellington' …

Member Avatar for markii.borabon_1
0
277
Member Avatar for bernardo.mclobo

Hi. I'm learning C++ by myself, so I'm a noob, also i'm a mad scientist :P I'm trying to use a doubly linked list with polymorphism, and got a problem. Here is my code: #include <iostream> #include<string> #include<cstdlib> #include<cstring> #include<sstream> using namespace std; // node class template<typename T> class nodeType …

Member Avatar for bernardo.mclobo
0
414
Member Avatar for myfit

My ability of English is not good, now I have a problem is I want to make a menu collapse jQuery or coolapse bootstrap that have a multiple rank or multiple level (>2 or >3 level) sush as a picture below but I don't know how to do it, so …

Member Avatar for myfit
0
172
Member Avatar for Sophia_1

Hi everyone,i have this mail notification whereby the receiver is selected from combobox. Upon combobox selection, the sender will click the submit button and the mail suppose to be sent to the receiver. But it seems that the combobox selection cannot be read.There is error message ie "Message could not …

Member Avatar for Sophia_1
0
213
Member Avatar for ebutin

I’m a beginner web developer and I’m looking for place where you can find free template. Can you give me some recommendations? My close friend gave me an advice, that I should check [Gavick](http://www.gavick.com) offer. Have anybody heard of it?

Member Avatar for ebutin
0
269
Member Avatar for castajiz_2

Hi, I have developed a application for students that retrieves data (eating menus) from a official eating website of the whole University (13 restaurants located around the city). Actually I spend a month and a half of doing some reconnaissance and programming (getting information of that site) so that I …

Member Avatar for hericles
0
210
Member Avatar for ceelos1974

My program keeps crashing once I try to make my custom class use some of its own functions My custom class looks like this: Entity.h #ifndef _ENTITIES #define _ENTITIES #include "actual.h" #include "Manager.h" struct Position { float x, y, z; }; class Entity { public: Entity(); ~Entity(); bool Init(Actual*, int); …

Member Avatar for ceelos1974
0
234
Member Avatar for chubbyy.putto

I very new to C Shell. I am trying to do is read from Command line. Find the if the file is zip, .txt, symbloic link,pipe, unknow (if file is not zip, txt, sy....) here is what I what got so far. I am very stuck atm Please help me …

Member Avatar for chubbyy.putto
0
182
Member Avatar for ahmedsa

Hi guys i have problem in my code when i try to copy image jpg from local disk in any place to network path DOMAIN it give me error the process cannot access the file it using by another process file why this message show and how to solve.the error …

Member Avatar for ahmedsa
0
252
Member Avatar for toxicandy

A while back [diafol](https://www.daniweb.com/members/120589/diafol) helped me get a searching script working. It works very well the only problem I am having now is getting it to return the searched values. Here's some context to walk you through the process. I have a search page, image attached as help1.png, which I …

Member Avatar for toxicandy
0
381
Member Avatar for Ray Adrian_1

Hello! I need some help regarding to this post https://www.daniweb.com/software-development/vbnet/threads/159483/adding-item-from-text-box-to-list-box#post747691 When I add a text from textbox1 to listbox1, the textbox1 seems to fill up the whole listbox1 with the said text, the thing is the listbox1 is constantly flashing and the program goes to being not responding. My PC …

Member Avatar for Santanu.Das
0
140
Member Avatar for arafath077

<html> <body> <div class="datepicker"><input type="text"></div> <div class="datepicker"><input type="text"></div> </body> </html> i want to select second datepicker's input filed in Jquery.?

Member Avatar for arafath077
0
219
Member Avatar for reds8

Let say I have many many buttons and i want to change all the forecolor of the buttons by clicking on one button. How to do it? I no want type like btn1.forecolor,btn2.forecolor......... because I have more than 20 buttons

Member Avatar for boyboy
0
238
Member Avatar for tshukela.george

Dim item As String = InputBox("Enter Item ordered", "Place an order") Dim quantity As Integer = InputBox("Enter Quantity odered", "Quantity ordered") Dim price As Integer = InputBox("Enter price", "Price each") Dim item As String = InputBox("Enter Item ordered", "Place an order") Dim WrapCharacter As String WrapCharacter = Chr(13) + Chr(10) …

Member Avatar for Xiao_1
0
437
Member Avatar for HuePig

Hi, I'm trying to scroll my texture using `sprite.setTextureRect(sf::IntRect(10, y_axis, 800, 600))`. In my update I increment `y_axis++`, but then the image wont show. Heres the structure so far: init(){ if (!starField.loadFromFile("image/starfield.jpg", sf::IntRect(10, 10, 800, 600))){} s_starField.setTexture(starField); y_axis = 0; } update(){ y_axis++; s_starField.setTextureRect(sf::IntRect(10, y_axis, 800, 600)); } render(){ windows->Draw(s_starField); …

0
175
Member Avatar for Binty

**how to check data by multivalue of array checkbox in multi row one column. ** Hi, im need to checked data from database from checkbox multivalue of array, then insert into tabel in multirow one column. I try to insert same value (month) in student payment but the data still …

0
103
Member Avatar for RonKevinT.Manuela

This code works fine except for the fact that it doesn't display what I queried on posts tabs...only this part of the code with an id=pages displays my query..i checked if I have a wrong query but it works when I change the include("../includes/mainpanelpage.php") to include("../includes/mainpanelpost.php")...meaning only the code inside …

0
102
Member Avatar for kaprikorn07

Hi All, Please let me know the steps to install PHP, MySQL and PHPMyAdmin on RHEL machines.

Member Avatar for veedeoo
0
194
Member Avatar for aida.atef.31

there's a problem on Codeforces.com (it's for beginers) which i know it's solution but my code can't be accepted because there's a condition that i don't know how to write in C++ here's the problem: Michael has a problem in his first year of primary school. He can not write …

Member Avatar for aida.atef.31
0
182
Member Avatar for engrjd91

Hello everyone! I have a problem in login system of my CMS. When I enter the correct Username and Password, the System is always showing Invalid Credentials, However I have checked in my Databse Tables that I am providing the correct username and password. I am not getting the problem …

Member Avatar for toxicandy
0
231
Member Avatar for annya

Iam creating a real estate website and I needed a search box on it. I don't know how to make it, I required users can search plot details by category example below Note: all the field's are using Drop down box to show the value 1st box : Location (India) …

Member Avatar for toxicandy
0
1K
Member Avatar for Elliott_1

Effective January 1st of each year, Gabriela receives a 5% raise on her previous year’s salary. She wants a program that calculates and displays the amount of her annual raises for the next three years. The program also should calculate and display her total salary for the three years. Annual …

Member Avatar for Lerner
0
139
Member Avatar for Benjamin_4

i am designing an android app and in me deisgns there is one with a tabView thats hosts another tabView in one of the tabs. i want to know if there is a way to implement this design please, if yes i would appreciate some suggestions and pointers. below is …

Member Avatar for peter_budo
0
80
Member Avatar for thirsty.soul

Hello DaniWeb, I want to develop PHP application, when there is Entry in specific table of database, it should send that information to subcribers on their emails, i am new to PHP. Suggest me solution to this problem. Thanks:

Member Avatar for diafol
0
150
Member Avatar for hwoarang69

How can I use seleium test case in groovy? such as clinking on links. test case <html> ... <body> <table> <tr> <td>open</td> <td>https://url.web:8010/</td> </tr> <tr> <td>clickAndWait</td> <td>link=service=homeLink</td> </tr> <tr> <td>clickAndWait</td> <td>link=name=contentLink,service=Queue</td> </tr> <tr> <td>clickAndWait</td> <td>link=BackLink</td> </tr> ... groovy script // Setup credentials def String[] credentials = new String[2] credentials[0] = …

0
148
Member Avatar for arafath077
Member Avatar for diafol
0
412
Member Avatar for Blueie

Hello I am trying to give focus to a text box on a form: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) username.Focus() End Sub I know the syntax is correct because I use it elsewhere. However, I am getting the following error (please see attached) with …

Member Avatar for Blueie
0
270
Member Avatar for nitin1

void func(void * ptr) { bytearray temp(10); *((bytearray*) ptr ) = temp; } This code is not going ahead if the third line while executing while this coding is working fine. void func(void * ptr) { const char * temp = "decept"; *((char*)ptr) = temp[0]; } Why is it happening? …

Member Avatar for Banfa
0
143
Member Avatar for notgreatatcode

Hi, I know the reply with this is that there is loads of threads on here with similar problems, but I have looked at them and still can not get this to work... Could someone please help me with this problem.. I am converting a Fractal from another langauge into …

Member Avatar for ddanbe
0
198
Member Avatar for jean_5

I have the code if (!(row.IsNull("bigInt") || row["bigInt"].Equals(String.Empty))) { this.bigInt = Convert.ToInt64(row["bigInt"]); } But, it's give to me the error: Cannot inplicity convert type 'long' to 'int'. An explicit conversion exists (are you missing a cast?)

Member Avatar for ddanbe
0
69

The End.