199,114 Archived Topics
Remove Filter ![]() | |
Hey guys, how is it going? I am wondering whether this my idea is possible to achieve .. I am looking at this search engine https://datacvr.virk.dk/data/ and it can take names,cvr number, address etc as input and return a facinating output. I think they are using elasticsearch to do all … | |
I am using Eclipse, java8 I am trying to connect access database with eclipse but it is not working. I first created data source in "ODBC Data Source Administrator(32-bits)" for windows and than I added the jar file (mysql-connector-java-5.1.35-bin) But I am getting an error: ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver at … | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <form name="entry" method='post' action=""> <label>NAME </label> <input type="text" /></br></br> <label>mobile</label> <input type="text" /></br></br> <input type="submit"/> </form> </body> </html> <?php $servername = "localhost"; $username = "root"; $password = ""; $dbname = … ![]() | |
Help pls. I need to make a program. A program that calculates an employee’s pay per week. Obtain from the user an hourly pay rate and the number of hours worked for the week. Calculate their pay for the week (no overtime, and no taxes). | |
I have four files in c++ 1. BankAccount.h 2. BankDatabase.h 3. Main.cpp BankAccount.h #include <string> class BankAccount { public: BankAccount(int accNumber,const std::string& accName); void setAccNumber(const int accNumber); int getAccNumber() const; void setAccName(const std::string& clientName); std::string getAccName() const ; protected: int mAccNumber; std::string mAccName; }; BankAccount::BankAccount(const int accNumber, const std::string& accName):mAccNumber(accNumber),mAccName(accName){} … | |
I'm curious, when setting the default close operation for JFrames, should you use JFrame's constants or WindowConstants' constants? As far as I can tell they're the same. Although, IntelliJ (not tested on other IDE's) prefers WindowConstants' EXIT_ON_CLOSE at least. So basically my question is, which one should be used? Which … | |
Hi, I am using the below program to parse a file ,extarct values and store them into an array. Here i have same values repeated for example IP , so i need to take only instance of it but rest of data store accordingly. so the correct format is {IP … | |
Hello, i am planning on designing an airline mobile application with android, as my testing devce. i'm doing this for the first time, can someone please guide me on how to do this? All help wiil be appreciated | |
I have four files in c++ 1. BankAccount.h 2. BankDatabase.h 3. Main.cpp //BankAccount.h #include <string> class BankAccount { public: BankAccount(int accNumber,const std::string& accName); void setAccNumber(const int accNumber); int getAccNumber() const; void setAccName(const std::string& clientName); std::string getAccName() const ; protected: int mAccNumber; std::string mAccName; }; BankAccount::BankAccount(const int accNumber, const std::string& accName):mAccNumber(accNumber),mAccName(accName){} … | |
hello..... i am new in the coding field..... and i understand the working of codes in java......but couldn't able to start.....i have to make a program of videoconferencing.....how to start coding on it..... | |
A sparse vector is a vector whose entries are almost all zero, like [1, 0, 0, 0, 0, 0, 0, 2, 0]. Storing all those zeros wastes memory and dictionaries are commonly used to keep track of just the nonzero entries. For example, the vector shown earlier can be represented … | |
Hello Everyone, So I've begun a new project, in an attempt to show off my progress with Javascript. I'm making a little text-based RPG. However, I would like for it to permanently save your character and their progress. Thus, I need a MySQL database. I won't lie, I've only used … | |
I tried the following ways of calculation and passing back to the form I made. The commented out function is the same, but handled differently and was my first attempt. function oneRepCal(wt,rp) { this.wt = parseFloat(document.ormCalc.wLift.value); this.rp = parseFloat(document.ormCalc.rComp.value); lifted = this.wt * this.rp; oneRepC = (lifted * .03333) + … | |
Hi there, I have a file with unicode characters I used url decoder code below on a large file, but what is funny is that it doesn't decode some lines,but when I use the code on a file with just that line it decodes it correctly. import urllib.parse for lines … | |
In my project the client pay money to admin using paypal system . sometimes Admin need to return back some amount to the user .now my client ask us to done it systamatically .is it possible ? please advise on this | |
Hi guys, I am working on my PHP script as I want to add the value in the variable to add it to 5 hours forward. When I use this: <?php $links = $row['links']; $html = file_get_html($links); $base = $row['links']; $curl = curl_init(); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($curl, CURLOPT_HEADER, false); curl_setopt($curl, … | |
Hello i want to know how create form signup php&mysql And how security form for inpot with insert data in database 1- firstname 2- lastname 3 -password 4- ُEmail ![]() | |
Hello, i had some problem with the below code. How to change the 'Click to Read More' and 'Click to Hide' function by just click 'Step' to show and hide? page.php <blockquote class="bigtext"> <p class="title"><b>Step 1</b><hr class="style1"></p> <p></p> <p></p> </blockquote> javascript <script> $(function(){ var animspeed = 950; // animation speed … ![]() | |
Hi All, In below code snippet i am getting segmentation fault. Could you let me know what can be cause. usually we will face segmentation fault if auto_ptr is used due to ownershpt issue (Assignee pointer becomes NULL) but why i am facing the same issue with unique_ptr move semantics. … | |
id,ancestor,descendant,lvl,tier_id 1, 11, 11, 0, 0 2, 11, 65, 1, 1 3, 65, 65, 0, 0 5, 11, 66, 1, 2 6, 66, 66, 0, 0 i am using closure table model. i placed tier_id cloumn there. let say new entry save in above table then tier_id should be placed … ![]() | |
Hi, Good morning. In a table I show a list of names using while loop from 'name' table and textbox for each student to enter the marks. I showed two students , so two textbox fields will be displayed, and after entering marks in two textboxes, I wrote normal insert … | |
I have done a lot of research on this issue that I am getting, but I am unable to solve this error. Over the Internet, folks are suggesting to use findFragmentBy ID or Tag, but both of them resulting in null Pointer Exception. This is the Code that I have … | |
someone please help me to solve this coding... Given 3 inputs - First input is previous reading, second input is current reading and last input is per unit charge , Write code to calculate the current bill. Reading Format - XXXXXAAAAA where XXXXX is consumer number and AAAAA is meter … | |
Is this try catch block enough to ensure the process ran successfully? protected boolean attemptLaunch() { try { System.out.println("Attempting to open '" + name + "'."); //Try to open the Process new ProcessBuilder(path).start(); return true; } catch (IOException e) { System.out.println("Opening failed. Will retry during next Iteration."); return false; } … | |
I'm not a programmer. I am doing a project for Biology where I will be conducting an experiment on reaction times. Briefly, the subject should click anywhere on the screen as soon as a dot or circle (some graphic) appears on the screen. Details: 1. Program must start at a … | |
Hi All, I am using php to create a Webservice API calls. I am checking all the service calls in Chrome's Postman and sending the data in JSON format. I want to upload an image in JSON format with other datas.Actually I have converted the image to base64 before uploading.Its … | |
As it stands, the data elements are submitted to the database. But I need help figuring out two things: one, is how to show the new deptCode in the dropdown list of deptCodes and two, how can I clear the form after a successful submit? Below is the code that … ![]() | |
This is my code to upload files with a progress bar. Problem is all three progress bars are listening for one file and not three different files. Please help me. $('.btnUpload').click(function(){ //submit all form $('form').submit(); }); $(document).on('submit','form',function(e){ e.preventDefault(); $form = $(this); uploadImage($form); }); function uploadImage($form) { alert("in"); $('.progress-bar') var formdata … ![]() | |
Am coding a college council voting system for my school in netbeans and mysql saver. i have populated jtables containing cadidates (jtable1 for president, jtable2 for vice president etc) and i have put a jbutton so that after sellecting candidents of choice one from each jtable, you click the jbutton … | |
Hello Group, I'm attempting to create and write to an Excel file. I'm sure I've hit the first of many snags. Hopefully you can point me in the right direction. In this first attempt, I'm getting an error code: "Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))". The error is attached … | |
hello, i am neha currently and 2 nd year It student required to do a mini project using vb as frontend and sql as backend i liked the idea of student database project can someone help me with its coding and gui screens plz its urgent only 2 weeks to … | |
I am using eclipse 4.4 luna, where i created the web application project as my project is to be deployed on app engine. So when i try to run the project, there is no 'run on server' option to run the project on Tomcat. Please help me, am stuck on … | |
hello daniwebers... I am really stuck with this design of tables for calendar. Here is the thing...there are employees in a specific company. Each employee accepts customers of the company per day. The number of customers is limited by the doctor on a day by day basis. So for e.g. … | |
Hi there, my table fields are. id mobile email date. Here mobile and email should be unique. How to check exisitng email and existing mobile number in php. i want to put the message separately. this is what i done . public function createUser($name, $email, $password, $mobile_no) { $response = … | |
hello guys iam new to asp.net i want to build web applications for that what should i do suggest me guys | |
hi i'm struggling to read data from database i created a table with 5 rows as for Login form username and password i would like to have access to forms when i enter password and username of department 1 it shows department 1 but when i enter password and username … | |
Dear forum members, i a m trying to export the contents of datagrid to excel but i am facing errors.After searching i have seen that the problems occurs because one of my columns is of type TIME and taht is why i am getting the error : Object reference not … | |
I'm doing a multi-line string saved to the variable str: str = """ This is a multiline string """ When I `print str` it works fine. But if I print a different multiline string: ` str = """ This is a multiline string """ print str # Works Fine str_2 … | |
Hi guys, i am creating a search function on my web. This is the result [CODE]"SELECT [ROUTE], [INST_KEY], [INST_TYPE], [ACCT_KEY], [STATUS], [DMZ], [CUST_NAME], [ADDRESS_LINE1], [ADDRESS_LINE3], [ADDRESS_LINE4], [ADDRESS_LINE5], [METER_KEY], [SIZE], [INSTALL_DATE], [X], [Y], [Z], [ADDRESS_LINE2], [MI_PRINX] FROM [DBCUSTOMER] WHERE ([CUST_NAME] LIKE '%' + @CUST_NAME + '%')"[/CODE] This function just looking one … | |
Hi guys! I'm getting frustrated with my code because my filter in my query is not working. All of the item_model in my receiving_details table were being suggested in auto complete but as you can see in my query that I'm filtering item model with a certain form_no. Please help … | |
Hi There, I'm checking if I can get all the occurrences of a variable in a php file. What will the best and easest method be? Any help is greatly appreciated. Regards | |
Hi i am currently building a admin section for my website but i am stuck at a certain point, right now my user authentication is working and my form validation is working great, when i log in as admin i want it to display the admin dash and when a … ![]() | |
Hi I am newbie to PHP. I just wanted to create a registration page for students. In that page I've populated checkboxes for students who wants to enroll more than one classes. Everything got done. But I'm stuck with the final phase of this idea. I just wanted to save … | |
I have an app that uses GPS proximity alerts. I want to populate two textviews from my string.xml when the proximity alert fires off. Does anyone know how to do this?? Thanks, hendo | |
I'm trying to give access to client computer from my server and also tryin to revoke the granted access... the grant is successful but the revoking is not working please help. hms is the satabase that i want to give access to my clients.. my code try { Connection con … | |
Hello. This is my code: from bs4 import BeautifulSoup import urllib2 url = urllib2.urlopen('http://www.website_address.com') soup = BeautifulSoup(url) images = soup.find_all('img') Now how can I get the "src" of img tags? | |
I have no idea how to open extra chat box if room_id record more than 1 <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Admin</title> <script type="text/javascript" src="js/jquery-1.9.0.min.js"></script> <script type="text/javascript"> $(document).ready(function() { // load messages every 1000 milliseconds from server. (1 second = 1000milliseconds) var roomID = $('#room_id').val(); load_data … | |
Sorry, may i know what is the problem? load_data = {'fetch':1}; window.setInterval(function(){ $.post('shout.php', load_data, function(data) { $('.message_box').html(data); var scrolltoh = $('.message_box')[0].scrollHeight; $('.message_box').scrollTop(scrolltoh); }); }, 1000); $("#shout_message").keypress(function(evt) { if(evt.which == 13) { var iusername = $('#shout_username').val(); var imessage = $('#shout_message').val(); var roomID = $('#room_id').val(); post_data = {'username':iusername, 'message':imessage, 'roomID':roomID}; //send data … | |
hello guys please help me , i make a project of window form appliction , but work well on my own pc , but if i copy full project and run on other computer it not work. Any body knows the solution of this . please tell me , iam … | |
Hi for some reason i keep getting a parse error when i try to load my view could someone tell me why it says unexpected end to file on line 20 <section id="login-landing" class="block block-gray"> <div class="container"> <div class="card card-container wow zoomInUp animated"> <a href="<?php echo base_url()?>"> <img id="profile-img" class="profile-img-card" … |
The End.