199,114 Archived Topics
Remove Filter ![]() | |
Hello everyone have a nice day or night where ever you are so i hope i will have a great night if i fix this problem i have right here :D i have a array list with some match tips and i have a 16 input fields so i want … | |
i have 1 class Timer. the class works fine, but when the windows loses the focus, the timer stops... why these happens? | |
Hello friends :) I'm almost familiar with Tkinter and Kivy frameworks, but i'm looking for other python GUI frameworks, soething better than Tkinter. Kivy is also great but i need to watch more tutorial videos and i'm not able to do that right now. Can you introduce a better and … | |
The topic is the question, is there a way to access embedded resources folder by name dynamically via string? The closest I think I've gotten is the following code which has error "Cannot implicitly convert type 'System.Collections.Generic.IEnumerable<string>' to 'string'", if i try to get the only folder it should return … | |
Hello, As Homework, we had to do the most boring thing known to Mankind, Mathletics. It is so easy. Mathletics links to live Mathletics where you have to answer as many Math questions as possible in 60 seconds. Later on, I found that Mathletics could be used as a challenge. … | |
what if I wanted the user to enter his birth month and I don't know whether the user input is integer or string for example july or 7 what should I do ??? | |
Hi All ,how do i round up this to 2 decimals: public override double GetPaymentAmount() { double paymentAmount = (WeeklySalary * 52 / 12); return paymentAmount; } | |
good day! I have a php form. I have made some ajax validation on it but everytime i click the submit button it does not validate, and when I try to issue an alert command on ajax function, it returns undefined on certain variables? Here is my present code: <Form … | |
I have a Yahoo website that uses phpMyAdmin. I've been given the directive "Please run the script mysql_fix_privilege_tables that should be included in your MySQL server distribution to solve this problem!" I do not know how to run this script (or any script) through phpMyAdmin. I've been looking online and … | |
Hi guys, im new here and new to web development. I want to build a marketplace for tutors where they can upload their profile and information. Students who want to find a home tutor can go there and find a suitable one by submitting a home tuition request. I want … | |
So here is my assignment: File name: project1.cpp You work for the Jet Propulsion Laboratory. They want you to write a program that will take a two-dimensional array containing the digitized representation of a picture of the night sky and locate the stars on it. The array elements are integers … | |
<?php include('connect.php'); $upid=$_POST['id']; $upname=$_POST['categoryname']; $updesc=$_POST['description']; $newupid=mysql_query("update tbl_category set categoryname='$upname', description='$updesc' where id='$upid'")or die(mysql_error()); echo "<script type='text/javascript'> alert('Updated Successfully'); window.location.href='view.php';</script>"; ?> This is updated code. It works successfully. but I want to show alert box "Nothing can be updated" if no changes made. And it should have the same . | |
I'm trying to make an 'Install-To-Run' version of my Windows Forms Application through Visual Studio 2013 Express Edition(Couldn't afford another version..). However when I check my template list in 'project types' it doesn't show the 'other projects' list or any sort of list related to 'Setup and Deployment' at all. … | |
trying for the longest while to get this program to run at least properly, havent finished entering all of the codes as, just testing each part of the statement before i add in the rest of the codes the program is not working properly dont know where I have gone … | |
Good day! I just want a little help on how to get all data from mysqltable where month=january or feb.. etc. and year =2015 or maybe 2014 I have a table with datefield(yyyy-mm-dd) example dates data are: 2015-01-17 2015-02-17 2014-12-17 2014-10-17 2014-03-17 And I have a span list of months … | |
sorry for my bad english... Is it possible to create a Pharmacy Portal(multi-Portals) online Pharmacy delivery system using Drupal commerce? It has multiple Pharmacy Portal (Pharmacy) in different locations which can be manageable by individual portal admins and Portal admin will have n number of medicals and medicals will have … | |
![]() | I'm sure this is simple, but I'm having a time trying to figure out how to add two fields from two different tables together. <?php include_once('conn/db.php'); $query = "SELECT SUM(`sold`) AS total FROM veggies"; $stmt = $con->prepare( $query ); $stmt->execute(); while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); echo "<small><u>Plants Sold</u>: {$total}</small>"; } … |
**My goal:** search webapps folder to find all .war files and make sure a folder exists with the same name(indicating .war expansion) **My Code:** import os import stat file = open("hosts.txt","r") for servername in file: path = '\\\'+servername.strip()+'\\d$\\tomcat\\Servers\' server_name = servername.strip() for r,d,f in os.walk(path, topdown=False): for files in f: … | |
Hello everybody. I need a quick help. I have a problem with running my python file code. I use Linux. I had a file with the name "app3.py" file on the Desktop; then i removed ".py" from the end of the name of the file; so now i have "app3" … | |
#include<conio.h> #include<iostream> #include<stdlib.h> using namespace std; class SStack { private: int *arr=NULL; int top=0; public: SStack(int size) { arr=new int[size]; } SStack() { arr=new int[5]; } void push(int x) { if(top>5) { cout<<"stack is full"; return; } arr[top++]=x; cout<<"successfully inserted:"<<x; } void pop() { if(top<0) { cout<<"stack is empty"; return; … | |
please help me with this. | |
hi please help me with this. when I try to save it, it saved. but the problem, it is saving though it has the same record If idno.Text = "" Or proflname.Text = "" Or proffname.Text = "" Or _ profmi.Text = "" Or subcode.Text = "" Or teachuser.Text = … | |
As a begginner in C++ i'm having problems to use microsoft visual studio 2010. How do i go about it? | |
Hi, I have a cricket related website that is currently hosted on a VPS with two other websites. We are expecting a huge hike in traffic during the next 6 weeks during World Cup. I need suggestions for hosting and CDN to be able to stay live throughout the event. … | |
I have several pages that has the following mark-up in it, but the value of the datetime attribute is on each page different. <a class="index" href="#"> <time datetime="2015-W01"> <strong>week</strong> <strong>01</strong> <strong>2015</strong> </time> </a> On each page I include with PHP at the bottom a page with the following mark-up: <ul … | |
Hello. How can i set an image as a Tkinter window background? I mean the whole background of the window not a photo area. | |
help please, i really need to solve this one. when the quantity of the product is increasing/decreasing, i want the Total Price to update/increase/decrease also, but its only remain working. the button is declare, so when i click the button , all of the info of that will be transfer/view … | |
Guys I need some help... This is my program... #include<iostream> using namespace std; int main() #include<iostream> using namespace std; int main() { int a=1; int b=5; cout<<"*"; cin>>a; while <a=>5>; { cout<<"*"; ++a } return 0; } { And this will be the output of my program. * ** *** … | |
I have a little problem over here this code doesn't work well what is the problem if anyone know ? $getUsername = getUserData('Username'); $sql = "INSERT INTO `kladilnica` VALUES ('', '".$getUsername."', '".$betAmouth."', '".$gain."', '".$date."', '".$match1."', '".$match2."', '".$match3."', '".$match4."', '".$match5."', '".$match6."', '".$match7."', '".$match8."', '".$match9."', '".$match10."', '".$match11."', '".$match12."', '".$match13."', '".$match14."', '".$match15."', '".$match16."', … | |
ms access [tblorder - code[text], items[text], total[text]] code = lblcode [label] items= x.SubItems(1) [in listview] total = lbltotal [label] as of now i can only save 1 item in the field 'items' , but i want to save 2 or more items,how can i do that? For Each x As … | |
Hey guys. I have a function that is returning options that the user has selected. I need to get these options in an array for matching. Here is my rough code. $test = array(); $newVals = (printList($file_names)); $newArray = array_fill_keys($test, $newVals); if (in_array("this.pdf", $test, TRUE)) { echo "Match found<br>"; } … | |
I'm writing a piece of code for a class, and part of it is to take an operation on integers and store it in a double (without any truncation). I'm trying to use the static_cast <double> (EXPRESSION GOES HERE); form, but it isn't working. When I output the new value, … | |
Hi, I run into an interesting thing. I'm looking into SQL a bit, and was reading some tutorial on W3C, so I built a small application to play with SQL queries: inserting info in a table and then retrieve it as it is, filter it etc. The table contains 5 … | |
Hi DW I have create a client using VB.NET using Winsock 5.0 as a socket to communicate with the server which I did it in java. The problem is that for terminating the client first send a termination request to the server and the server grants the permit and the … | |
Every time I try to compile this code I get the same error but it doesnt seem to make any sense. This is the code: public class Software Development { public static void main(String[]args) { System.out.println("Hello World"); System.out.println("2name"); System.out.println("name: \n"+name); System.out.println("\"name:\""+name); } } And this is the error: Software Development.java:1: … | |
I must admit I feel a little embarrassed to post this, but I don't seem to get this simple flipping application to work and I'm getting this error: Login failed for user ''. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack … | |
Hii All, i am a begginer at c programming in the first semetser of study, and i am trying to doing my project what is: Diff — The program should compare two text files and list the differences, i.e. lines and columns of the beginning and the end of a … | |
Hi all, I am using Ardent as a standalone package, together with Laravels Database package. Things are set up, and I can query just fine - But when I define my relations, I get a white screen when I try to dump the expected data. I have double checked and … ![]() | |
Hello is there a way of checking the input field have a value but with out clicking a button, for ex. if i write any letter inside the field to give me result for example `hello` or something else... ![]() | |
![]() | Is it possible to add a character entity to an input field using javascript? I've been able to do it statically by just including it in the value attribute of the input tag like this: <input id="degInput" type="text" value="180°"> However, I'm not able to use setAttribute() to add it dynamically. … ![]() |
Is there any simple PHP based backend system that has multi user and multi roles access control? | |
Hi guys, I'm in a bit of a situation here and I was wondering if anybody has any suggestion. Basically, I need to retrieve some data from 2 or perhaps 1 SQL table (that's what I'd like you to help me finding out). OK, here are my two tables (sure … | |
Hello guys, I create an aplicattion for read value from a PLC. When I used one function socket the php page works fine, but when i put two or more I need around 20secundes to open one php. Somene Knwos i can improve my code or sockets in php are … | |
Please explain the difference between the two mentioned above.what is assembly in a c# program? Thnx | |
I am currently working on a program that asks a student to answer 5 simple maths questions after each question it will state whether the answer is right or not. which it will out put a grade and grade average percentage. Currently I'm stuck on the if statement where it … | |
Hello i have this code and something isn't working but i dont know what, the code it does not updating the database at all and i don't get any errors. <?php if(isset($_POST['howMuch']) && isset($_POST['where'])) { $howMuch = $_POST['howMuch']; $where = $_POST['where']; if(!empty($howMuch) && !empty($where)) { $user_mBalance = getUserData('payCheck'); if($howMuch > … | |
i have a problem with generating a one time password that will expire once used or after a few miute. this is what i want to do page 1. create a captcha. if verification is valid then direct me to page2 page 2. this page asks for my name or … | |
Hello DaniWeb community! I recently posted a question asking about the character creation screen and that it is all set! I then continued with form validation, and storing values and spitting them back out in a message box. Then I made the create a character screen close, and open the … | |
I am trying to come up with a query to track a student cohort based on their start term. I want to see if the number of students that started in 2012 actually go down in 4 years time. For this example I am starting with fall 2012 (12/FA). I … | |
The End.