199,114 Archived Topics
Remove Filter ![]() | |
Good afternoon everyone, I'm currently working towards to provide the following output for my code: What number shall i start with? 7 The hailstone sequence starting at 7 is: 7 22 11 34 17 52 26 13 40 20 10 5 16 8 4 2 1 The length of the … Programming c++ | |
Hello i want to do a count from 1 to 30 (1,2,3,4,5,6,7,8,9 etc) with javascript I did this var i = 1; if(i<=30) { i++; } '<span>#'+i+'</span>' all good but the count starts from 0 not 1 as wanted | |
So i've made a Node class : public class IntNode { private int _value; private IntNode _next; public IntNode(int v, IntNode n) { _value = v; _next = n; } public int getValue() { return _value; } public IntNode getNext() { return _next; } public void setValue(int v) { _value … | |
Does anyone know what is the correct image size for Facebook. I mean if it is below some certain pixels it doesnt show the og:image. You may see what i mean here https://www.rovespier.com/uploads/Untitled-111.png | |
Is it good idea/possible to encrypt everything in your database (Emails, User Input, Passwords :), everything.. )? Is there something which will shut down the current PHP script OR website entirely ? **EDIT: This is not sponsored queston i have not donated any money, why is `Sponsored` badge at my … | |
Hello i am getting an error TypeError: data is null i can't find the error. js <script> $(document).ready(function() { username='<?php echo $_GET['public_username']; ?>'; apiBaseUrl='<?php echo $base_url; ?>'; singleArtist(apiBaseUrl,username); }); function singleArtist(apiBaseUrl,username) { var html =''; var encodedata=JSON.stringify({"username":username}); var url=apiBaseUrl+'api/singleArtist'; ajaxPost(url,encodedata, function(data) { if(data.length) { $.each(data, function(i,data) { html += 'dddddd'; … Programming api javascript json php | |
I have scenario where one user can refer two codes to other one will become right and other left.Now this right can have two child left and right and so on same for left child user.... So this is binary tree like strucutre so i am selecting a user from … | |
Hello, I am looking for browser simulator to create responsive website. Where to find it? How to create a quick responsive website? For PC, Handphone and Tablets. | |
Help me create a code that will ask the user the guess the randomly generated integer by the computer using recursive function. Thanks! | |
Modify the Week Two Java non-GUI console application using NetBeans IDE (or jGrasp) to meet these additional and changed business requirements: • The company has recently changed its total annual compensation policy to improve sales. • A salesperson will continue to earn a fixed salary of $35,000.00. The current sales … | |
i have just installed c builder and i was doing a simple program and when i set to run it is giving me this error: [Linker Fatal Error] Fatal: Could not open C:\Program Files (x86)\Borland\CBuilder6\Projects\Project1.exe (error code 5) . i read some comments and i saw that i have to … | |
I want multiply three numbers in VB many private sub cmdmult_click() multiplication=Val(text1.text) * Val(text2.text) please assist me | |
Hello, I am trying to create bar chart with html but how? Country Bar Chart 3D https://www.freshdesignweb.com/css-jquery-graph-bar-pie-chart/ I try to copy the bar chart but it does not work out well. Please help. Nothing appears after I copy. I wonder if I copy the code correctly. http://codepen.io/miyavibest/pen/Bfima ![]() | |
hi guys, I came across something rather interesting today. Basically at the moment I'm trying to add multiple spans with a background image to a horizontal div so that the final product looks something like a large ruler ( I use an image with a little black tick to simulate … | |
please , tell me how i should start making a simple search engine.......what are the things i will need to learn.And how should i proceed? | |
I am writing a android and windows native app. The native app stores the login details as reated for mulitple other web apps, and logs them into this when browsing to them from the native app. one of the buttons in my app open a [prestashop](https://www.siteground.com/tutorials/prestashop/) site for a authenticated … | |
I am not expert. I am trying to delete the files from the directory at button click. I have windows application which have folders populated in combobox1 and files populated in combobox2. I need to delete the selected folder from combobox1 and files within the folder. I am getting error … | |
I am coding a roman to arabic console program for class been having issue with it I am not sure how to get the next char after the the first char I have tried everything I am not allowed to use cin.peek(). Also my output loop generates p = 0 … | |
Hi, I've had a report that my website has an XSS vulnerability (specific details have not yet been provided). Can anyone recommend any software that I can use to test my site for weaknesses please? Thank you | |
I am building a system that will take about 20 million records. I am confused, if I should put all these records in one table or I should split it among severals tables to speed up the performance. | |
I want to Develop custom mail client using Asp.Net MVC and C# For my own mail domain (for ex:- myname@mydomain.com) I don't know Is this Possible or Not ? because I am very new to .Net Web Applications If it is Possible I want the following features **1. Send & … | |
Hi Everyone, How are you all? Friends i m new on daniweb, and i just want to know that how can i make diamond with stars (*) using "For" Loop in PHP. My Teacher Gives me an assignment to make like this... [code] for ($a=1; $a<=5; $a++) { for($b=1; $b<=5; … | |
Why was `INSERT DELAYED` deprecated? https://dev.mysql.com/doc/refman/5.7/en/insert-delayed.html I used to use it and it was incredibly useful. | |
Hello could you help me win 12 slot keno...masslottery.com... I am trying so hard to understand your keno code online.. Could you please break it down for me...how do I beat the computer... | |
site/views/index.php <?php foreach($pic as $pic_item): ?> { <img src="<?php echo base_url('assets1/images/slider/'.$pic_item->pic_item );?>"> } <?php endforeach; ?> controllers/Cspages.php public function index() { $this->load->model('gallery_model'); $pic_unique_id = 18; // slider $data['pic'] = $this->gallery_model->get_picture($pic_unique_id); $this->load->view('index', $data); } models/Gallery_model.php public function get_picture($pic_unique_id) { $query = $this->db->get_where('galleries_pictures', array('picture_unique_id' => $pic_unique_id)); return $query->result(); } How to fix … ![]() | |
HI Dani, I am working on a dissertation project, based on a library management systems. There are a number of features as admin, that needs to operate, which are as follows:- 1. Inserting new books' info 2. Issuing books 3. Fines 4. Editing books details 5. Return books 6. Multisession … ![]() | |
I generate qr code for name and country and member qr code generated without any problem but i need to use memory stream and not use save file dialog my code as below using (SaveFileDialog sv = new SaveFileDialog() { Filter = "JPEG|.jpg", ValidateNames = true }) { if (sv.ShowDialog() … | |
i am building a pong like game and cant seem to figure out how to add in a pause feature everything else works i have movement and collision detection, sound, game over and restart options but cant figure out how to pause the game any help would be greatly appreciated … | |
I was able to produce what I want using Adobe Animate. I want to reduce the amount of [code](http://codepen.io/Sheep/pen/VPPyOJ), as Animate inserts extra code that from my perspective seems useless ? | |
hi i have the following form where a member chooses how long they want to be be displayed on another page like example below <select name="hours"> <option value="1"<?php if(!empty($hours)) {?><?php if($_POST['hours']=="1") { echo "selected"; } ?><?php }?>>1</option> <option value="3"<?php if(!empty($hours)) {?><?php if($_POST['hours']=="3") { echo "selected"; } ?><?php }?>>3</option> <option value="6"<?php … ![]() | |
Here is my HTML Code: <div class="container"> <div class="row db-padding-btm db-attached"> <div class="col-xs-12 col-sm-3 col-md-3"> <div class="db-wrapper"> <div class="db-pricing-eleven db-bk-color-one"> <div class="price"> <sup>$</sup>99 <small>per quarter</small> </div> <div class="type"> BASIC PLAN </div> <ul> <li><i class="glyphicon glyphicon-print"></i>30+ Accounts </li> <li><i class="glyphicon glyphicon-time"></i>150+ Projects </li> <li><i class="glyphicon glyphicon-trash"></i>Lead Required</li> </ul> <div class="pricing-footer"> <a … ![]() | |
Hi Dani, I have already posted for the first code, now i want to move on to the next which is issuing books. (due to the closeness of the deadline, i will be posting all areas where i'm having problems) The issue_book.php page is supposed to capture the ISBN, current … ![]() | |
I have an InnoDB table called `articles_read` with fewer than 20,000 rows in it. It consists of 3 columns: member_id article_id timestamp There are two indexes: A unique index on (member_id, article_id) and a regular index on (timestamp). It is read from fairly more than it is written to, and … | |
is there anyway to improve my code's time complexity or memory's complexity ? (without using advanced methods - im a beginner) its a method that gets an array filled with zeroes and other numbers, and it changes each number(which is not a zero) to the distance of the closest zero … | |
I'm having problem using Thunderbird sence this issue from few weeks is there any solution or Mozilla just no more. | |
HI I have .csv file which contains 3 columns ( feature 1 , feature 2 , class ) I need to take 13 row each time from f1,f2 with "1" at the end and save it into another .csv file so if the file contains f1 f2 class 1 1 … | |
i tend to make a method which compares between 2 strings, str1 and str2 and should return true in the terms: -every character in str1 must show up in str 2 at least once or more and in the same order -str2 must be the same length or longer than … | |
Hi every one :) I've been doing a project and it seems hard for me to finish it, because i dont have an idea with the code. i have a code for looping picturebox . several picture box during runtime had been done, but how do i can give them … | |
I have a database with only one table which has around 2 Million rows and 60 columns. I created a php application with multiple search filters like name, country, state, surname, domain etc which will filter and display the result in HTML table. But the problem is, every text field … | |
Hello every one i am having one doubt i have a set of links[url].Now there is pave ackages like 6 links,25 links package. if two user select 6 link each day and both will have same links[url] .now i when user log in then on adversitment page he visit each … | |
Hello, I've been working on learning VBScript to make a few useful scripts to work with WinNT and make a more user friendly interface when searching for users on a domain. While doing so, I discovered something interesting about arrays and I'm hoping someone could explain if it's just the … | |
I wrote the program up, but I'm getting all types of errors. Which I'm new to this whole Java Application class. I keep getting errors : Please help. 1. employee is not defined. 2. NewSalesPerson is not defined. 3. UtilnumFormat is not defined. 4. Variable declaration not allowed here. 5. … | |
Part 2 to Salesperson Java Application, still new to this. class SalesPerson { /** * Fixed Salary */ final double fixedSalary = 35000; /** * Current Commission Rate */ public double curCommissionRate = 0.15; /** * Accrued Commission */ public double curCommission = 0; /** * Total Compensation */ public … | |
Dear, I'm really new in c# WPF and I need to develop a program that read a directory with sub-directories and files. For each directory I need to create a form and for each file a button. the directory structure is: c:\dir1 c:\dir2\subdir1\file.pdf c:\dir3\subdir1\file1.pdf c:\dir3\subdir1\file2.pdf C:\dir3\subdir2\file21.pdf If it's possible, how … | |
Elevator Logic 1. You are an elevator control systems engineer for ElevatorCorp Pty (Ltd) 2. You have been receiving complaints from a specific customer about the performance of your elevators 3. They have 5 elevators installed that have to service 10 floors 4. There are 1500 people working in the … | |
Hi this is my last try before I give up on Forums. I have been asking this question many times, searched the whole Internet and found no answer so far. Can somebody tell me how to insert data in a TablePress table from a form on a webpage(yes like a … | |
Heya i want to use ShowWindow(hWnd, SW_HIDE); to hide some application, The problem is that the code i wrote works perfectly for any application except the one i need it for heres the code [CODE] HWND hWnd = FindWindow(NULL, sName); if(hWnd) { ShowWindow(hWnd, SW_HIDE); } [/CODE] it does execute the … | |
I have my fresh Drupal 7 web site up and running. I am currently testing it. My first test is to try the functionality of creating a new user. I tested added myself (no, not my admin account -- a different one with a different email address). The new user's … | |
Short snippet in C# to do this classic trick, I could not find one on the web. Little, (even none!) error checking is done here. |
The End.