199,114 Archived Topics
Remove Filter ![]() | |
Hello, Why is (1/0.3) = 3.3333333333333335 ? Where does the 5 come from? Thank you! | |
I have been trying to get my PHP script return two different pages namely: get2015 and get2016. The aim is to have these two pages have pagination links below them. To achieve this i have written two scripts in two different files that look like this: file 1 = functions.php … | |
Hi im trying to Scrape a **table** of a website and list it in a **datagridview** wich has a column **Name** and a **Url Link** Please Help!!!! Heres the source.. <div class="text"><table class="links"> <thead> <tr class="thblue"><td style="width: 105px"></td><td style="width: 85px">Time</td><td style="width: 540px">Teams</td><td>Broadcast</td></tr> </thead> <tbody><img src='/img/nowplay.gif'><tr> <td colspan='5' class='accordion greybg'><span class='icon'><img … | |
has anyone you seen this one before... it happens when my users tries to purchase a membership package. When it goes to the billing/payment page it shows this error.. Warning: Cannot modify header information - headers already sent by (output started at /home/content/a2pnexwpnas02_data01/92/3515092/html/wp-content/themes/superlist/header.php:11) in /home/content/a2pnexwpnas02_data01/92/3515092/html/wp-includes/pluggable.php on line 1174 | |
I have 2 tables that look like this.(see below). Table one is named tableX and table 2 is named tableY. +-------+---------+ | count | post_id | +-------+---------+ | 3 | 7209 | | 3 | 7210 | | 1 | 7211 | | 1 | 7212 | | 1 | … | |
For Each itm As ListViewItem In ListView1.Items If itm.Text <= CStr(56) Then itm.BackColor = Color.Orange Else itm.BackColor = ListView1.BackColor End If Next this codes change background color of all items in listview....but i just want to change the forecolor mu value of stocks in listview in a column stocks..not all … | |
Hi everyone I'm creating a multi-part registration form using session, I have no problem with the first two page getting post value but whenever I validate the third page for error, it redirects me always to the first page where it should be redirected to the 2nd page once it … ![]() | |
I am trying to load text into a form (textarea) from an existing text file resident on the server. I am having no luck. The code I am using (with variations) is: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html><head><title>SVP Data</title> <link rel="stylesheet" href="main.css"/> </head> <body style="background-color:#FFFFFF"> <title>oakhurstsvp.org</title> <link … | |
I'm trying to learn OOP and i'm trying to create a class which will select me info from a table and a line that i choose. (trying my best to explain it good, not sure if i'm doing very well tho) This is my code in the class: class SelectQuery … | |
Hi guys after fixing my previous bug this one has resulted. What I am trying to do: 1. Make getchar() read only one character per input 2. Make the while loop not accept numbers 3. When the user enters duplicate characters the program should only accept the first character. code: … | |
Hi all. I'm working on a client server application, eventually to be a POS (point of sale) system. The model is something like, client (till) does not have access to the database, instead it sends data to the server application, which in turn deals with the database and any other … | |
Why wont the if look for both Peter and John? #include <iostream> #include <string> using namespace std; int main() { string Name, Mood; // obvious string cout << "Whats your name?" << endl; cin >> Name; if (Name == "Peter"|| "John") { cout << "Hello, master! How are we feeling … | |
I have a query that get the balance for last month and current month balance. I'm using a function inside the view that took more than 30 minutes. May I ask your help guys any idea or approach to speed up the processing or optimize the script it can be … | |
So I'm reading from a text file, that contains numbers, but i can only read as string, how can i contain it as int? string[] lines = File.ReadAllLines("C:\\Users\\Temp\\Desktop\\WriteLines.txt"); for (int i = 0; i < lines.Length; i++) { Console.WriteLine(lines[i]); } | |
How to update jquery on windows 7? my jquery stil 1.4.3 i want to change it become version 1.7.3 thanks before Programming javascript javascript-jquery python | |
suggest me whitch course is useful and booming in software industry...</> | |
I am trying to insert HTML code into my website which will setup a text area that all users can see, edit, and save for other users. I know that the text that is entered must be saved on a file that has be be resident on the server. I … ![]() | |
Hello guys, I would like to know how and where I can find a grid layout after compiling my java program using blue j. I've tried checking the tools section but I cannot find it. Thank you | |
I need help. I am developing an application wherein the user selects multiple images and are displayed on a form. With this application, i need to convert these multiple images into a single image. Any ideas? | |
I am doing an application in c# and in my application I am opening some exe file like MS word, calculator so when I open the application and then I hide it I would like to create a sort of shortcut in the app so that when I click on … | |
Need to know steps of generating HTTP request multiple times in python Programming python | |
have a code that loads an image online with the AsyncImage module in kivy. i wrote the code in python3 which runs well on the pc but doesnt work on a packaged apk. i think this is because i packaged it using python2.7 buildozer. thanks an image showing the error … | |
Hi, I am trying to create something which you can type into entry boxes, then save that information to a .txt file. I have got this to work however I wish to name the file as what is stored in one of the entry boxes and cannot figure out how … | |
Dear Friends, I am facing a problem wuth Dropdown list menu and slider. When i click manu dropdown list is opening behind the slider. Please, check my HTML code and css. <!DOCTYPE html> <html> <head> <title>Hello!</title> <link type="text/css" rel="stylesheet" href="styl.css" /> <?php include ("header.php"); ?> </head> <body> <div id="container"> <div … | |
I'm looking for a way to get the coordinates of a polygon offset x pixels within a known polygon. This seems to be a non-trivial problem, but I thought of a trick - What if I have the original polygon drawn by Windows with a thick line, the inside edges … | |
Hi all, I'm new in this forum and also completely newbie in Web development-so please forgive my lack of knowledge.. I'm modifying a Web template and I've inserted images slide on banner. I reduced images width to fit the size of the site width but still not responsive on others … | |
I have a table in mysql with the following data: | StartDateTime | FinishDateTime | | 2016-08-18 10:00:00 | 2016-08-18 11:00:00 | | 2016-08-18 12:00:00 | 2016-08-18 14:00:00 | | 2016-08-31 17:00:00 | 2016-09-01 09:00:00 | What I would like to get as the output is | Month | Duration … | |
I have finished a web application, but i'm having problem publishing it. The application is meant to be accessed only by people in my office. But i actually don't know how to go about it. Is it possible to host it on my PC and it will be accessed by … | |
Hi guys I am looking to go through C then transition to C++ later this year. I am having a minor problem with switch statement and I am not in a position to ask anyone as there are no tech savvy that I know. So I thought it was better … | |
im using http://cpp.sh/ as my ide. but clrscr() and gotoxy() is not working since conio is not recognize...is there any header file that supports this codes? please help..thanks #include <iostream> #include<conio> using namespace std; int main() { clrscr(); gotoxy(5,10);cout<<"HELLO WORLD"; } | |
![]() | I need an idea for cloud computing graduation project. I was thinking about security and encryption , but most of the ideas are more suitable for a research rather than an application, so I am thinking of making a cloud-based embedded system. What kind of embedded systems can benefit from … |
HI guys, as my next application I thought I'd build a simple converter, something that allows me to convert from, say, Km to miles and so on. The framework I will use is vaadin (unfortunately) but it will still be java anyway :-). So, I just thought I'd see if … | |
I'm trying to write a basic program for a C++ lab for class, and running into some trouble. Senario is that the program averages grades. A user enters the number of grades, then enteres a letter grade, then the program runs for however many grades the user has, then averages … | |
int* poly = new int[lines.size()]; for(int i=0;i<lines.size();i++)poly[i] = - 1; int curPoly = 0; vector<vector<cv::Point2f> > corners; for (int i = 0; i < lines.size(); i++) { for (int j = i+1; j < lines.size(); j++) { cv::Point2f pt = computeIntersect(lines[i], lines[j]); if (pt.x >= 0 && pt.y >= 0&&pt.x<img2.size().width&&pt.y<img2.size().height){ … | |
I need save each word of text file into array of strings I have this code how to do for convert into dinamically #include <stdio.h> #include <conio.h> #define MAX_CHARS 20 typedef char string[MAX_CHARS+1]; // leave one space for '\0' main(){ int i; string array[4]; FILE *data; data = fopen("ard.txt","r"); for(i … | |
Needs save name in employee table and save all courses in employee courses table when click submit button in edit [HTTPPOST] Problem summary submit button save changes only and delete data exist before Problem details when click submit button in edit post .courses will save what i added or selected … | |
this is the html: <!--this is my best site so dont look up here and steal!--> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows 1252"> </head> <body> <table bgcolor="white" align="center" border="1" width="400" cellpadding="10" cellspacing="0"> <tr> <td> <h1 align="center">Forms</h1> <hr> <form action="php.php" method="POST" name="form1"> <p><strong>Name</strong><br> <input type="text" name="name" width="20"> </p> <p><strong>Password</strong><br> … Programming daniweb-feedback email html-css php | |
#include <ctype.h> #include <stdlib.h> #include <stdio.h> #include <string.h> char c; { char text[1000]; FILE *fp=fopen("filename", "r"); int i=0; while((c=fgetc(c))!=EOF) { do something } } | |
I like art and I like web development. I've been out of the loop the last two years and coming back, I see tons of new in-browser abilities. I don't know advanced code but wonder if the Internet can handle serving an adjustable (with scaling limbs), posable mannequin (like those … | |
Hi, everybody, How to change the images after every 5 seconds in html?????? The images should display in the same places for every 5 seconds????? can anybody send me code please.... i posted this thread in HTML forum somebody told me that post here so please help anybody And Advanced … ![]() | |
Hi guys, Here is the question: I have Activity A, Activity B. Now, A --> B . Now, pressed the home button. Now, go to any image & "open with" will show my app. when pressing my app as the option, it will hit Activity A. When it will hit … | |
Hi i am new to cpp i have created a win32 project in visual studio but i need to read a xml file with ms xml the xml file <game> <id="g"> <name>gta</name> <ver>1</ver> </id> <id="x"> <name>mta</name> <ver>5</ver> </id> </game> please answer | |
I am new to java and trying out a question but I have no idea why it can't calculate my commission public static void main(String[] args) { Scanner keyboard= new Scanner(System.in);// input form keyboard double retail_price; double emp_num; char trans_code; double a =0.06; double b = 0.08; double commission; System.out.println("Please … | |
Hi guys. I'm working on my school project. My asigment is to make a piano game. The program works fine but my work stopped when i came to a problem. I would like to put the integers, which i get from pushing the specific JButton, into an array. For example … | |
**I have the xml file below from a blogger rss feed** <rss> <channel> <item> <guid isPermaLink="false">tag:blogger.com,1999:blog-000000.post-0000000</guid> <pubDate>Wed, 25 May 2016 18:00:00 +0000</pubDate> <atom:updated>2016-05-25T19:01:58.172+01:00</atom:updated> <category domain="http://www.blogger.com/atom/ns#"></category> <category domain="http://www.blogger.com/atom/ns#"></category> <title> "sorry... google play services has stopped" </title> <description>bla bla bla bla </description> <link>http://0000.blogspot.com/2016/05/sorry-google-play-services-has-stopped.html</link> <author>noreply@blogger.com </author> <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://2.bp.blogspot.com/-2gbmug6spxE/V0XgFalWLXI/AAAAAAAAAO0/RN0Uo4A1rmwbVKXErfshYabwdhzAdOCmwCLcB/s72-c/Google-Play-Services-338x600.png" height="72" width="72" /> <thr:total>0</thr:total> … Programming file-stream xml | |
Hello there I am currently just making a sample website to try and get back into the swing of things but I am encountering a problem with one of my divs. The div giving trouble is the leftContent div. I want to set the height of it to fit the … | |
Hi!, I am getting a warning message while trying to update values in textfield but the values are getting updated in database. here is my code, <?php $id = $_GET['id']; //print_r($id); $action = $_GET['action']; $page_name = mysql_real_escape_string($_POST['page_name']); $page_content = mysql_real_escape_string($_POST['page_content']); if (isset($action) && $action=='edit') { $sql = "SELECT * FROM … | |
I am designing an application in Java and it requires networking and for that I am using a framework called Kryonet, now I've been able to learn how to send packets and connect, etc, but I'm still not sure how I would handle logging in. The user would need to … | |
I want to build a very configurable web app where a user can just right-click and add/delete menus. So I would like to get some suggestions( web links, books, frameworks) that can get me going - from design to development. I'm willing to using Javascript and/or Java/JSP. | |
$sql = "SELECT doc FROM file_loc where file_id='1'"; while($results = mysql_query("$sql") or die("Invalid query: " . mysql_error()); { // set the header for the image header('Content-type: application/pdf'); header('Content-Disposition: inline; filename = "' .$results . '"'); header('Content-Transfer-Encoding: binary'); if (isset($results)) { $pdf = new FPDI(); // get the page count $pageCount … |
The End.