199,114 Archived Topics
Remove Filter ![]() | |
Hi All, I'm working on a script which has a primary function to look for jpg files. I can get it to work if the folder path is just my desktop but if I try the start of the path to be C:\ it errors out. Right now the error … | |
I am developing a inventory software in VB6 using MS Access 2010 as Database, We have a main Store where we receive Products from different Vendors and then distribute the products to our sub-stores located at different locations. I want to create a Periodic activity report of (Inventory) Products at … | |
Hello, i want to try to make a simple program that guesses the password of wifi for education purposes. And writing the guess program is the easy part but here comes the hard. this is the way you connect to wifi with cmd **C:\>netsh wlan connect name=wifiname ** But where … | |
I have the following code: <?php $fieldsClause = array(); $bindArray = array(); $fields = array('status','fname','middle','lname','address','city','state','zip','county','mailing','hphone','mphone','wphone','ext','fax','email','ethgroup','other1','occupation','poe','dob','gender','bhv','mrc','general','evv','allCounties','fillmore','johnson','otoe','richardson','seward','butler','gage','lancaster','pawnee','saline','thayer','cass','jefferspm','nemaha','polk','saunders','york','other2','aro','clergy','intskills','bus','child','law','cpr','data','security','emergency','computer','mechanical','administration','firstaid','translation','construction','basicclean','foodprep','animalcare','heavy','dataentry','identification','phone','runner','greeter','interviewer','safety','other2','interpt','cdl','cpryn','translate','other3','license1','verf1','num1','exp1','license2','verf2','num2','exp2','license3','verf3','num3','exp3','license4','verf4','num4','exp4','license5','verf5','num5','exp5','lsrd','syes','bcert','pauth','dist1','tdate1','dist2','tdate2','dist3','tdate3','dist4','tdate4','dist5','tdate5','felony','felonys','ename','erelation','ehphone','eaddress','ecity','ezip','hdyhau','bdesc','record'); foreach($fields as $field){ if($san = filter_input(INPUT_POST, $field, FILTER_SANITIZE_STRING)) { $fieldClause[] = "`$field` = :$field"; $bindArray[":field"] = $san; } } $sql = "INSERT INTO volunDB("; if (!empty($fieldClause)) $sqlF = implode(', ', $fieldClause); $stmtString = $sql; if(isset($sqlF)) … | |
<?php include('db.php'); $query=mysqli_query($con,"select * from reg"); while($row=mysqli_fetch_array($query)) { echo $id; echo $name; } ?> i want to display it as follows: 1.chaitanya 2.swati 3.rena 4.geeta ![]() | |
When I upload this file core_navigation.tpl, I get this error: **Parse error: syntax error, unexpected $end in /home1/skywestv/public_html/www.flyboeingva.org/lib/skins/fbva_custom/core_navigation.tpl on line 65** Code: <!-- Menu --> <div class="pi-row-block pi-pull-right"> <ul class="pi-simple-menu pi-has-hover-border pi-full-height pi-hidden-sm"> <!-- Home --> <li class="active"> <a href="#"><span>Home</span></a> </li> <!-- End home --> <!-- About --> <li class="pi-has-dropdown"> … ![]() | |
i want to display this slideshow dynamically please help me. I am getting more than 3 images if i put dynamic code <div class="row"> <div id="carousel-reviews" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <div class="item active"> <!--------------------------------> <div class="col-md-4 col-sm-6"> <div class="block-text rel zmin"> <a title="" href="#">Active1</a> </div> </div> <!--------------------------------> <div class="col-md-4 … | |
I have a Windows Form application that has Web browser control. The page I access has input parameters in the Request Body. Request Body looks like below and I want to get values for Doc_Name, Area and SubArea. SearchOrder=2&Start=0&Count=-1&Query=(%5BDoc_Name%5D%3DABC+OR+%5BArea%5D%3DXYZ+OR+%5BSubArea%5D%3DQRS) How do I extract from this? | |
I am thinking about starting a new project which involes image manipulation. After a search around for some libraries ImageMagick's Magick++ kept popping up. Thing is, before I start looking into how to install it, I'd like to know if it will suit my purpose and hoping someone here has … | |
Sup everyone, Does anyone have any recommended tutorials/sites for Hash maps? I'm planning to use it to create and link "locations" in a basic text-based game but i've looked around and there seems to be a lot of description on hashmaps but not much tutorial/examples for them. Any sort of … | |
Description: You are to develop a program that prints out the multiplication or addition table given the users start and end range and type of table. The program will make use of 2D arrays to calculate the table. The program will make use of the System.out.printf() method to allow formatted … | |
i dont understand with these codes below. nkata = Asc(Mid(skata, i, 1)) + 65 nkunci = Asc(Mid(skey, i, 1)) + 65 nenc = ((nkata - nkunci) Mod 26) splaint = splaint & Chr((nenc) + 65) please someone help me!! | |
How do I get average of the duration for multiple weeks. Currently I get something like Student Avg completion time Week Year STUDENT 1 0 1 2013 STUDENT 1 5 1 2013 What I want is Student Avg completion time Week Year STUDENT 1 2.5 1 2013 <code> select a.student,avg(a.duration) … | |
I have a simple sql table with four columns The data types are Athlete nvarchar(30) Mydate date Mytime varchar(8) Session nvarchar(40) Sample Data **Athlete Mydate Mytime Session** Jerry 14/07/2014 00:00:32 200M Jerry 14/07/2014 00:00:31 200M Jerry 16/07/2014 00:00:59 400M Jerry 16/07/2014 00:00:57 400M Jerry 16/07/2014 00:00:58 400M Now what i … | |
Hi. I am making a really simple program to refresh my knowledge in java (which is obviously needed). When I click the screen, I want a bullet to appear in the center and move towards the point I clicked. Right now, when I click on the left half the bullet … | |
It has been about a year since I have even looked at code. I have written a few db desktop apps and I am beginning to learn the db web app. I am looking for advice. I had a hard time running apps I built in the netbeans environment as … | |
I intend to build the web app using a database on a server. I have tomcat running. I am. Working on creating the server on eclipse (mars). I was planning on working with MySQL. What additional set up do I have to do to work with this db in my … | |
I would like to import a netbeans project with dependencies into eclipse. Is there a standard procedure to do this? | |
I am desiging a Form in which I am asking user to enter: Name in Textbox1 ID Card Number in Text2 here i want to code for textbox1 that it accepts only alphabates but don't know how to control. Can anyone help me? | |
Hi, I am using Oracle 10g on Fedora Linux and trying to learn a bit of pl/sql. Here is the piece of code that I today tried to run in the SQL Plus window but it back with an error message saying [B]SP2-0640 Not connected [/B]What could be the problem? … | |
I'm reading 'C++ Programming in easy steps' and the program the book has given me will not compile. Compile line -> `g++ -g -Wall "${ARG}" -o "${ARG:: -4}" &&` ARG is command line argument 1. object.cpp:7:5: error: ‘string’ does not name a type string color; ^ object.cpp:14:19: error: ‘string’ has … | |
<?php session_start(); if($_SESSION['user']!=true) { header('Location:login.php'); } $error=""; ?> <?php include("include/databaseq.php"); $title=$_POST['title']; $date=$_POST['date']; $description=$_POST['description']; function GetImageExtension($imagetype) { if(empty($imagetype)) return false; switch($imagetype) { case 'image/bmp': return '.bmp'; case 'image/gif': return '.gif'; case 'image/jpeg': return '.jpg'; case 'image/png': return '.png'; default: return false; } } if (!empty($_FILES["uploadedimage"]["name"])) { $file_name=$_FILES["uploadedimage"]["name"]; $temp_name=$_FILES["uploadedimage"]["tmp_name"]; $imgtype=$_FILES["uploadedimage"]["type"]; $ext= GetImageExtension($imgtype); … | |
![]() | Greetings everybody, I have been trying to convert UTC time into local time. Using ctime library, time_t, gmtime etc. But I am having nothing. When I searched the web, I saw nothing but examples with this library... I would like to ask you how could I convert UTC, a double … ![]() |
I'm trying to use this code for a fibonocci sequence where I'm setting the starting numbers as b= and c=. What I'd like to do though is have it stop after so many numbers are added together, in this case it would be 53rd (a=53). I've tried a 'for i … | |
Hi, I am really stuck on this problem. I am supposed to write a function that takes in the number of rows of the mountain range as a parameter. The function will then draw a number mountain range on screen using the print function. There are X number of rows, … | |
i need interface and code to create the calculator. | |
I am trying to send Email using email sending software through smtp server But I am getting this Error. The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available we use 2 other email accounts but the same … | |
how do I create an email with VB? when we click the button, type in all the data we sent to the email address we are headed | |
#include<stdio.h> #include<stdio.h> #include<conio.h> #include<math.h> void mergeSort(int arr[],int low,int mid,int high); void partition(int arr[],int low,int high); int decimal_binary(int); int main() { int count=0,k,d[10],c[10],b[10][10],a[10],i,sum=0,n,no,j; printf("Enter the number of binary numbers"); scanf("%d",&no); printf("Enter the binary number"); for(i=0;i<no;i++) scanf("%d",&a[i]); for(i=0;i<no;i++) { n=a[i]; for(j=0;j<4;j++) { b[i][j]=n%10; n=n/10; } } for(i=0;i<no;i++) { for(j=0;j<4;j++) { if(b[i][j]==1) sum=sum+pow(2,j); … | |
Heyy i'm new to this language & i'm luving it. I need some help here guys. I was given this question by my lecturer and i'm not sure what the question wants The array below contains the maximum speed per day attained by mr Speedo on his daily travels to … | |
This question refers to the automatic storage class and its scope is defined as local to the block in which the variable is defined and is alive until the control is present in that block where it is defined. Consider these two snippets ... main( ) { auto int i … | |
How can you find out which version of GCC/GNU compiler your are using? | |
# I REALLY NEED HELP WITH THIS # The purpose of this assignment is to write a program that requests the user to enter the data per year, and that computes the EWMA of the growth rates. It then should use the EWMA to predict the GNI for the next … | |
So I'm taking a Public Speaking course as part of my CS program, at a community college before I head off to a large university in a year to major in Computer Science. For the first graded speech of the class I must make a speech about a "process". Since … | |
can I get code to bring out the state under a country when the country is selected. both state & country from the database displayed in a select dropdown ![]() | |
"Visual Basic 2010" I do have a similar problem, I want to display on a listview a "top 10" highest to lowest data using MySQL as database, my problem is, I dont know the codes for displaying data sorted from highest to lowest. Anyone? Please help me. I am not … | |
I hope I'm asking this question correctly. I am succesfully using [Fullcalendar](http://fullcalendar.io/) on my site to show various dates for various members, all of which are stored in a database. I have implemeneted a bootstrap popover that displays the members name when a mouse is hovered over the event in … | |
Hello! Badly need help. I need to do a program that will produce odd & even numbers using loop structure Sample output: Enter a number: 5 This number is an odd number! Input 1 to run the program again Input 2 to stop Enter your Choice: 1 Enter a number: … | |
how to show all data. Only one row showing | |
Hi all First of all I wana tell about my self,, im not a good coder you can say im newbie. I have a problem with jQuery autocomplete. I want to dispaly images in autocomplete. Image path save in DB and physically every image is in different folder. I have … | |
Hi, IS there any way to load a `*.dll` file at run time into PHP project. For instance I want to use the functionality for encrypting the a string using `MCRYPT` module without installing the module. I found on internet that with the usage of `COM` class I can achieve … | |
hey friend,I want to play a video click on a button in fancy popup window using jplayer,which suppot all browser.plesase help me | |
i want to download JDK but i don't know jdk for windows xp 32 bit.. [Click Here](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) windows x86 or windows x64 where is it can i download for windows xp 32 bit?? i have try, but i can't download.. maybe their server down.. or something happen.. please.. give me … | |
![]() | Greetings everybody, I have been developing a C++ Win. Forms application in VS2010 to acquire data from an external device continuously. In the tutorial of the device the followings are given about commucating with device through RS-232. The external device has a communication format of 38400 baud, 8 data bits, … ![]() |
hello i am doing my assignment on simple calculator in java.Now I want to handle exceptions in it. so i need some information about exception for exemple a user enter any expression like `(10+23+56-55)` it is corrent formate but when the user enter wrong formate like `(20++56//5)` i mean operator … | |
import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Scanner; public class lotto { public static void main(String[] args) { String fileName = "lotto.txt"; final int arraySize = 45; int[] count = new int[arraySize]; File inputFile = new File(fileName); // Initialize the count array; for (int i = 0; i < arraySize; … | |
Hi everyone.. Me again. I am confused about something so please correct me if I am not making sense. I have a program which outputs binary output which has been read from a file of encrypted data. When de-encrypted the output is supposed to represent numbers. Because it comes out … | |
My client wants to send a SMS to his customers from his computerised billing system. But, I do not know anythig about this subject, How it can do. I want to know, how can I do that? And Which services I have to need. How do I correspond with these … | |
Hi, I am working on an aplication which contains two different portals (admin and members). `http://localhost/app/` is used for the members login and `http://localhost/app/admin` is used for admin's login. When I log in into members and admins portal both works fine but if I logout from one portal another portal … | |
Hi, If I have a sentence like this: "I now have a total of % yellow bananas!" but I need it to change the number 2 to a 3, print, then a 4, print, etc until it reaches a set number like 10, how can I go about that? sentence … |
The End.