199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gayaneducation

I need jsp function for search data(text) inside a html table. not a my sql table. ex: inside a table "<table><tr><td>some text here</td></tr></table>" i have several text. i need jsp function to search one of the text and highlight it with the position where the word is. or can u …

Member Avatar for Ardit_1
0
851
Member Avatar for Seung Hwan

I want to mark some data on google map. I use eclipse Java EE and xml file is in the same workspace;(workspace_jsp). xml file: <csv_data> <row> <time>10:01:43</time> <latitude>37.4805016667</latitude> <longitude>126.952741667</longitude> <pdistance>0.000555</pdistance> <totaldistance>0.000555</totaldistance> <sectionspray>3343.0</sectionspray> </row> <row> <time>10:01:57</time> <latitude>37.4807483333</latitude> <longitude>126.952753333</longitude> <pdistance>0.027396</pdistance> <totaldistance>0.027951</totaldistance> <sectionspray>3320.0</sectionspray> </row> my code is <!DOCTYPE html > <head> <meta name="viewport" …

Programming google-api javascript xml
0
266
Member Avatar for Link_1

How to break up the string into smaller strings. I am using VB I have the following string which I want to break it up on <br/> Dim s As String "cat dog <br/> red green <br/> car box <br/> " Than I have used a split method Dim s1Temp() …

Member Avatar for Mr.M
0
242
Member Avatar for RudyM

Hi All, I tried reading through this: https://www.owasp.org/index.php/Password_Storage_Cheat_Sheet . But I'd like to know if the following scenario is considered good practice for a simple login/registration system. The userlist table: create table simp ( USR VARCHAR (128), PWD varchar (512), SALT VARCHAR(512) ) I created a stored procedure to execute …

Member Avatar for RudyM
0
238
Member Avatar for directorabbey

void Halt (); void Reply (const char * num,uint8_t stat); { this is the error message for this code 7|error: 'uint8_t' has not been declared 9|error: expected unqualified-id before '{' token

Member Avatar for directorabbey
0
275
Member Avatar for toxicandy

My problem currently is that I am trying to call a function with jquery at a specific event but it is running at the wrong event. The function I want to call is: function resolvedAjax(tid){ $.ajax({type: 'post',url: 'resolveTicket.php',data: 'tid=' +tid, success: function(s){ $('#resolvedTicket').html("Resolved"); mainTable(); }}); } I am trying to …

Member Avatar for toxicandy
0
372
Member Avatar for TheFearful

Hey guys, I'm trying to reupdate a web application that I have going on right now. Originally, I had a php page connect to a database and have a dropdown menu with the list of user id's. When you select the user id, you can submit it and you will …

Member Avatar for TheFearful
0
451
Member Avatar for TheFearful

Hey guys, I am trying to figure out a few things right now. 1. Is it possible to do a nested checkbox where there is the main checkbox and then two tabbed checkboxes that are related to the main one and when the main one is checked, the other subcheckboxes …

Programming javascript mysql php
Member Avatar for TheFearful
0
215
Member Avatar for Muhammad_111

anybody tell me please what is wrong in this code it will give me only blank console screen? #include <iostream> using namespace std; int main() { int x=1; int y=2; int z; while(x<=50) { while(y<x) { z=x%y; if(z==0) { cout<<x<<"is a prime number"<<endl; } else { y++; } } x++; …

Programming c++
Member Avatar for TheFearful
0
200
Member Avatar for hrushi9

Function stored in database is not executing. I have following code for output $q = mysql_query("SELECT * FROM pages WHERE page_id='$id'"); $r = mysql_fetch_object($q); //print the pages content echo "<h1>$r->page_title</h2>"; echo $r->page_content; **page_title** & **page_content** are database column **page_content** column have following data slider(); // it may be text or …

Member Avatar for hrushi9
0
448
Member Avatar for malatamil

?mr1=60,60,60,60,60&mr2=90,90,9&0,90,90&mr3=30,30,30,30,30 from the URL it should remove & ifit is there inbetween numbers(ie 90,90**,9&0**,90,90) and ignore this & if it is there like(60,60,60,60,60**&mr2** ). if **after &** mr2 or mr1 or mr3 then it should take the param value ,if it is inbetween should **remove &** only how to use …

Member Avatar for diafol
0
147
Member Avatar for engrjd91

I am new to python, in the below code i am reading 2 files and writing in 2 files. I want to open these files in seperate functions as to make some indented look. Can anyone suggest me how to do it? def compare(): memberReportFile=open("D:\MemberReport.txt", 'w') readableRulesFile=open("D:\ReadableRules.txt", 'w') membersFile=open("D:\Members.txt") rulesFile=open("D:\Rules.txt", …

Member Avatar for slate
0
265
Member Avatar for pezzinae

Hello everyone please i need your opinion about a creation of a dashboard that can be seen on a webapplication i´ve trying with the controls of DEVEXPRESS but without success, if anyone knows a better way to achieve this kind of task please let me know another thing......all controls it …

Member Avatar for pezzinae
0
191
Member Avatar for Violet_82

Hi guys, I have a form which contains a file upload input field. When I select a file, mainly text files, the actual content of the file is displayed in a textarea field. Now, what I need to do, is to send that information - the data contained in the …

Member Avatar for Violet_82
0
273
Member Avatar for engrjd91

Hello everyone, I have two files i.e Rules.txt and Members.txt. I have set different rules for different members. Now i have break down the rules comma seperately using the for loop. I want to compare each index of the 1st file with the respective index of the second file. If …

Member Avatar for Gribouillis
0
486
Member Avatar for enakta13

I have a char array which need to check each and every character untill there is no more character to check, so in C usually we write as: for(i=0;my_num_Array[i]!='\0';i++) { // some code here } But when i tried the same for java it isn't working! Any idea what should …

Member Avatar for Stungkuling
0
16K
Member Avatar for steve.dannay

Hello Please tell me how can I used CLS in C++.. In any programm. ?

Programming c c# c++
Member Avatar for underjack
0
148
Member Avatar for MOD37

Hi, I have a spreadsheet with data that I need to sort into a more 'usable' format, I want to repeat (/apply) this macro for all the data but am not sure on how to make it loop every 2 cells. Sub Macro1() ' ' Macro1 Macro ' ' Range("C2").Select …

Member Avatar for MOD37
0
172
Member Avatar for cokerz_written

i have error like this : DataTables warning (table id = 'datatables'): Cannot reinitialise DataTable. To retrieve the DataTables object for this table, please pass either no arguments to the dataTable() function, or set bRetrieve to true. Alternatively, to destory the old table and create a new one, set bDestroy …

Member Avatar for Febby
0
1K
Member Avatar for masimies

Hi, Trying to replace jquery-modules, because i need only datepicker, not any additional stuff. Found a light Pikaday datepicker, working just fine as common, but after hours of searching and reading articles, it seems that nobody has not found a good solution to fix date format issue of it, or …

Member Avatar for masimies
0
472
Member Avatar for Lazarus777

Hi, i still learning about python. Now i study learning convert ***bandwidth*** (**Byte**) from `ifconfig eth0`to **Kbps** The problem is, my pc using **os windows 7** not **linux/ubuntu** I dont know how to using command `ifconfig eth0` using win7. Any other way to solved this problem?

Programming python ubuntu
Member Avatar for Lazarus777
0
285
Member Avatar for mcjiwe

Hello guys, I have this structure with another double pointer structure inside that I need to pass through named pipes with the function WriteFile from WinAPI. typedef struct Labyrinth{ Cell **board; int currentLevel; } Labyrinth; typedef struct Cell{ BOOL wall; BOOL player; BOOL object; BOOL enemy; BOOL labyrinthExit; int objectType; …

Programming c
Member Avatar for rproffitt
0
425
Member Avatar for thatsnotmyname

in my database I have table called memory and it have images , description and title I want to display the image like how online shop display their products (eg: http://www.houseoffraser.co.uk/Women%27s+Tops/310,default,sc.html) I was thinking of using grid or table but I don't know which is better I also want to …

Member Avatar for diafol
0
571
Member Avatar for m.a.x

Hi All, How can i get the swing/awt open and save dialog boxes while accessing from the client side ???

Member Avatar for JamesCherrill
0
1K
Member Avatar for glao

I wrote this function : function range(start,stop,step) { var array =[]; for ( var i = start; i <= stop; i += step ){ array.push(i); } return array; } var m = range(1,10); console.log("length = " + m.length); And it returns one. Since, range returns an array , should't it …

Member Avatar for glao
0
132
Member Avatar for rob2

Hi fellas I'm reading "Teach yourself C++" book by Herbert Schildt to learn C++. there is an example in chapter 10 which is tough to me. this is the code I'm talking about: #include <iostream> #include <cstdlib> #include <cctype> using namespace std; class list { public: list *head; // pointer …

Member Avatar for Gribouillis
0
233
Member Avatar for AntonyRayan

Hi, I need your help to zoom a place when click a marker in Leaflet. I used this code from http://leafletjs.com/reference.html#control-zoom map.on('click', function(e) { alert(e.latlng); }); this click event not working

0
158
Member Avatar for garyrichard

I want to create a page like http://uhbvn.org.in/web/portal/faqs With Expand and Collapse all link Along with functionality of Individual Slide Toggle Feature I already worked like http://yamunanagar.nic.in/g/FAQs.asp But in this i have to create separate function for each toggle question Thanks in advance

Member Avatar for garyrichard
0
284
Member Avatar for can-mohan

Hi All , In below code i am getting error while assigning one object with other and result is clear as both objects are different types. it is expected that RHS object should belong to same class. How to resolve this issue. error: no match for operator= in obj1 = …

Member Avatar for can-mohan
0
320
Member Avatar for ravoras

Hey Guys, So using a webform textarea I am passing some data into PHP. This data is basically 4 columns of an excel sheet and potentially unlimited rows. Now I want to be able to go through this data, select each of the four individual elements from each row, insert …

Member Avatar for skradoslav
0
4K
Member Avatar for CreatorZeus

im starting to play with html5's new media stuff but i can't quiet figure out how to send a songs info to play in a iframe. any hints?

0
167
Member Avatar for Kenny_1

so the program needs to dynamically allocate an array large enough to hold a user=defined number of test scores. once all scores are entered, the array should be passed to a function that sorts them in ascending order. another function should be called that calculates the average score. the program …

Member Avatar for Kenny_1
0
1K
Member Avatar for Samyx

I have the query below: $insert2query="INSERT INTO output_search(ref_code, title, author, channel_id) VALUES (select refcode,title, authors, $idquery as cid from chemoJ where title LIKE '%$search%' and refcode NOT IN (select exc_refid_fk FROM exclusions))"; It is giving me an error near the parenthesis, what is wrong with my sintax? I ran the …

Member Avatar for hericles
0
191
Member Avatar for Stefce

I want to make dynamic search button i have this code but doesnt work it gives me this error `Could not connect to database. Fatal error: Wrong SQL: SELECT * FROM kladilnica WHERE Location = Macedonia AND Uplata = 50 AND Liked = 50 Error: Unknown column 'Macedonia' in 'where …

Member Avatar for hericles
0
274
Member Avatar for aaron_10

I am trying to connect my database to my application. this is very basic at the minute but here is my app: [Click Here](http://prntscr.com/b4wciu) I have created a database which is hosted. I was wondering how i would connect it from cpanel/mysql workbench to visual studio

Member Avatar for rproffitt
0
374
Member Avatar for kudus94

I am a beginner. I need to create a table in visual c# such that the number of rows would be created based on user input. The number of colums is 3. For example, if a user enters 3 as the input, a table of 3 rows would be created. …

Member Avatar for tinstaafl
0
274
Member Avatar for Inaam_1

hi i want to create a (.exe) setup for my c# app using visual net (2015) i folloed the (add seup to my solution ) how can i have .exe file to be installed in other machines , without transporting all my dlls. thanks

Programming c#
Member Avatar for rproffitt
0
142
Member Avatar for Seung Hwan

My object: Take latitude, longitude columns from textfile(.txt) and mark them on googlemap api v3. For the first step, I made a code for reading textfile by javascript and html. When I run this code, chrome and IE browser open well but nothing happened. javascript part don't work. How can …

Programming api java javascript
Member Avatar for hericles
0
240
Member Avatar for hefaz

hello there i am trying to make an application that can generat words automatically, i have used four text boxes, i want the first three boxes to get a word automatically from a file or from an array and show it in forth textbox, how can i do that? ![Capture.JPG](/attachments/large/4/45f56d9fc31c7e7b5da52fc4beebd007.JPG …

Member Avatar for rproffitt
0
576
Member Avatar for mitu1997

<html> <head> <style> .button { font-size: 1em; padding: 10px; color: #fff; border: 2px solid #06D85F; border-radius: 20px/50px; text-decoration: none; cursor: pointer; transition: all 0.3s ease-out; } .button:hover { background: #06D85F; } .overlay { position: fixed; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.7); transition: opacity …

Programming gui
Member Avatar for hericles
0
275
Member Avatar for Iamkenny

Hello. I'm new to programming and I'm using vb.net 2010 and I'm stuck with this problem. So here are the details, I have 2 tables in my database, a product table and a category table. In my product table I have product no, product description and category no. In the …

Member Avatar for Mai Phương
0
1K
Member Avatar for thatsnotmyname

my web application is really simple there are two buttons one called "save" and the other called "show my images" basically the user can save images from facebook API and store them in the server folder called "backup" (to back up their images on the server so if they deleted …

Member Avatar for broj1
0
226
Member Avatar for jonsan32

I've got a new navigation layout I'm trying to implement at this url: http://www.50allstars.com/2016/05/grid-menu.html?m=1 It's not all done yet, but in my tests I've found this page to not work on an old un-unpdatable ipad of mine. I figure since not all people are internet-savvy, I'd best think of the …

Member Avatar for broj1
0
169
Member Avatar for Simple Boy

Hi! I have added a contextmenustrip on my form and in the contextmenustrip I have added two items. when I click on the 1st contextmenustrip item it works but when I click on the 2nd contextmenustrip item it does not work only the 1st contextmenustrip item works. and when I …

Programming vb.net
Member Avatar for rproffitt
0
412
Member Avatar for tqmd1

Sir I have following codes to create table <?php function create_table(){ $query = "CREATE TABLE IF NOT EXISTS country ( id INT(6) not null AUTO_INCREMENT PRIMARY KEY, name VARCHAR(30) NOT NULL, reg_date TIMESTAMP)"; $host = "localhost"; $db = "mysql"; $user = "root"; $pass = ""; $conn = mysqli_connect($host, $db,$user, $pass) …

Member Avatar for Stefce
0
401
Member Avatar for Lucas_9

Please help me , I need to convert this C code in Python: #include<stdio.h> #include<stdlib.h> #include<conio.h> main() { system ("color F9"); float preco[150], precoNF, NFPreco_Produto[150]; //Vetores e variáveis que trabalham com preço int a=0, x=0, v=0, rel=0, y, i, aux, cod_exclui, troca; //Declaração de variáveis utilizadas para leitura, gravação, exlclusão …

Member Avatar for Gribouillis
0
1K
Member Avatar for Doogledude123

I'm creating an application that with continuously attempt to run a list of programs until they are open. I'm having an issue when it comes to programs that require administrative priveleges however. I've done some searching and found the below script (in createElevationScript()) that *should* run a program with administrative …

Member Avatar for Doogledude123
0
4K
Member Avatar for FarrisFahad

So I am using jQuery waypoint to get the image id that is viewed on the screen. But I am having problem with content added by AJAX. When I get to the newly added content by AJAX the plugin doesn't work. Here is my code so far: Waypoint = $('.Picture-1A').waypoint(function(direction){ …

Member Avatar for FarrisFahad
0
983
Member Avatar for LONGWAY

I have a problem with the CSS for the logo. I want my logo to be in the middle horizontaly every time but my logo isnt aligned with the centered image in the backgroundand, the logo isnt right in the middle of the browser .With my css code the logo …

Member Avatar for LONGWAY
0
419
Member Avatar for Aeonix

CSS file: http://pastebin.com/tBvGjhTX HTML file: http://pastebin.com/r5YUTHgp I have a div with following rules: { width: 75%; margin: 5% auto; } Obviously works everywhere except Microsoft Internet Explorer 0.5 to Edge. While in every normal browser, box takes 75% of width and is centered horizontally. But Microsoft be like "screw that", …

Member Avatar for gentlemedia
0
353

The End.