64,152 Solved Topics
Remove Filter ![]() | |
I have a project in wich i have to create a program making usae of geotechnology. My program revolves around pilots, paragliders and airbaloons. Basicly it has 3 seperate programs for each category and solves some of the difficulties that come along with it. Any idead for a name and … | |
hi. i just want to know if that is possible. for example there are 5 blank textboxes with no specific id or class: <input type="text"> <input type="text"> <input type="text"> <input type="text"> <input type="text"> is there a way to loop through the textboxes and find the first blank textbox? say the … | |
Hi I am new to Java/netbeans. I have been working on a school assignment to create a commission calculator. I have it done I believe but, have some errors. Please help. /* * To change this license header, choose License Headers in Project Properties. * To change this template file, … | |
hy, unfor its not showing nothing...what it is wrong...? <?php include('config.php'); error_reporting(0); ?> <table border=1> <tr> <td rowspan="3">Ditta</td> <td colspan="6">mandatori riceve</td> <td colspan="6">mandatori consegna</td> <td colspan="6">saldo</td> </tr> <tr> <td colspan="3">carelli</td> <td colspan="3"></td> <td colspan="3">carelli</td> <td colspan="3"></td> <td colspan="3">carelli</td> <td colspan="3"></td> </tr> <tr> <td>carrelli con piastra luc.rosso</td> <td>carrelli con piastra luc.nero</td> … | |
When i copy a text and upload it the output looks like that PROLOGUE\n\n\nIF you leave the city by the Porta Maggiore and take the Via\nPrænestina, which leads east into the Sabine hills, at some thirty-six\nkilometers i want to replace \n with a line break i use this `UPDATE messages … | |
We have a Zebra QLn420 label printer and I am writing a .Net application to allow the user to scan an item, process it through our system, create a shipping label, then send it in a .ZPL file to the Zebra label printer. Where I'm running into trouble is getting … | |
Everyone, I have a question... hope you can help me... I have 4 methods and they are expecting to return some value to the caller. MethodA() MethodB() MethodC() MethodD() MethodA() call MethodB() then MethodB() call MethodC() then MethodC() call MethodD() and MethodD() will return something. if the MethodD() return empty … | |
Greetings, i have this code that inserts an item on the table item_tbl and it should also get the added items primary key and insert it on table fields_tbl. My question is how can i get the primary key of the item that i will add and insert it on … | |
Hi, I have been creating a round robin. This is similar idea to speed dating except everyone has to talk to everyone. Whilst I have been able to create this, there is a lot of repetition in my code and I wondering if any of you have recommendations for removing … | |
Hi if myTable has a column like Col 10 7 3 5 9 4 How can I select three smallest numbers? my resultset should be 3 4 5 I don't prefer the following; with myT as (select col from myTable order by col) select top(3) from myT Any better idea? … | |
Hi, I'm having trouble reading a file the way I want it to. /*Textfile.txt*/ ROOM Closet Its too dark, you cant see anything. EXIT out Basement 1 ROOM Basement Its too dark, you need some sort of light to help you see. EXIT enter Closet 1 EXIT up Dinning_Room 1 … | |
What is the difference between these two classes? In the second one `protected:` looking like it isn't doing anything at all, there's nothing under it umbrella. class Tank { protected: int wheels; public: void setWheels(int newWheels) { wheels = newWheels; } int getWheels() { return wheels; } }; /////////////////////////////////////////////////////////////// class … | |
Hey hey ..I've got stucked onto another one ... So, not sure how to explain this 1 but I can give an example ... When input = 1 - expected result is a string = "a b c d e f g h i j k l m n o … | |
I am try to figure out how to check current time against time in database and header the user to "expired page" if the current time is greater than the one in database "1 hour" $email = $token = $check_time = ""; $crossToken = $db->prepare("SELECT email, token, check_time FROM pw_reset_company … | |
Hey guys, I've got stucked on something here ... so to explain it here is an example. Let's say I have a string "aa a i". My idea is to get a result that is "aA A I". -> this is a challenge on Codehunt and I got stucked on … | |
Hey guys, I am making something that it takes a char, then it sums it with 5 and returns the new char according to the ASCII table, for example input is 'a' , then output will be 'f'. This code is doing it somewhat .. public static String Puzzle(String s) … | |
I keep getting coredumps when i run this function. void readUser(int uid) ///Reads users from data directory { std::stringstream fileName; fileName << "./data/" << uid << ".dat"; user myUser; std::cout << "USERNAME:" << myUser.name << "\n UID:" << myUser.uid; ///Reads data from file FILE* dat = fopen(fileName.str().c_str(),"rb"); fread(&myUser, sizeof(user), 1, … | |
hello I am working with the daniwebjsptutorial the first one. I have a src and in it I have the resource.dir. I have the HttpServlet.jar there. I do not know how to get the LoginServlet class to find it using eclipse. Is there a standard entry point for the web … | |
Hello How can i add ID='xyz'in IMG tag <div class="main-banner"> <img width="1000" height="242" alt="cropped-Penguins.png" class="attachment-full" src="http://../cropped-Penguins.png"> </div> JQuery which i have tried jQuery('.main-banner').append("img").attr('id','xyz'); But Not Work. Give me suggestion Thank you | |
Hi, I already have an excel file (MyXL.xls) and a Visual Basic (Form1.frm) with a command button. Now, I want to write a code for the Visual Basic so that when I click on the command button, the excel file will be opened. Any help is significant to me! Thank … | |
Trying desperately to get CodeIgniter and Nginx to play nice. I was able to get it working once a long time ago and I cannot seem to reproduce what I had. I am trying to follow: http://wiki.nginx.org/Codeigniter However, it works fine where / gives me the default controller/method, and I … | |
I'm reading my C++ book and I've come to a chapter on structures and unions. The book has tried to explain the difference but I'm not getting it's explanation. Playing with the structure examples in the book reminds me of accessing attributes to a python Class but apart from that, … | |
I am taking my very first programming class ad kind of stump on the problem mention in this post.. In coding I only got so far as what shows here.... 2. Write Python statements corresponding to the following: a. Assign to variable flowers a list containing strings 'rose', 'bougainvillea', 'yucca', … | |
Hey everybody, As of this moment i'm trying to work out how to approach a state design. I've come across Source Makers' site [http://sourcemaking.com/design_patterns/state/cpp/1](http://sourcemaking.com/design_patterns/state/cpp/1) and am testing out the example. The program works fine when it's all in 1 file, although i had to change some stuff in main, but … | |
[CODE]<div id="wrapper"> <div id="header"> <p>This is the Header</p> </div> <div id="navigation"> <p>This is the Navigation</p> <a href="#">Home</a> <a href="#">About</a> <a href="#">Contact</a> </div> <div id="content"> <p>This is the main content</p> </div> <div id="footer"> <p>This is the Footer</p> </div> </div>[/CODE] This is my HTML code. I have menus in navigation div. Content … ![]() | |
Hi! i am writing a program in which i am reading a text file named "studentinfo". I have made a notepad file as "studentinfo" and then wrote a program to read this file. but there is an error occuring : " invalid operand of types 'char[20]'and '<unknown type>' to binary … | |
Hello Daniweb, So, I am currently working on a simple download time estimator program using JOptionPane and some loops. I have some beginning code and wanted to check how it is working, only it seems I messed up something and am stuck in my loop when I run it. I … | |
Hello everyone, I am putting together a project where people are able to upload multiple choice questions to a larger database and then create tests from them. I have several questions (and I apologize for the length of this post) about what is the best way to go about doing … ![]() | |
Hi, I have an Item class, how can I make my Item object be composed of more Item objects? Say I have a gun and its composed of more items like bullet and magazine, how can i make it do that? /*Item.h handles the item in game*/ #ifndef ITEM_H #define … | |
I am trying to make a simple calculator, unfortunately, it isn't going so well. Any ideas on how to make it simple? if gamemode=1 then {If gamemode 1 has been chosen} begin clrscr; title; writeln ('Welcome to Calculator'); writeln; writeln ('To begin, press <Enter>'); readln; clrscr; title; writeln ('Choose which … | |
okay guys here is a thing i am new in asp.net and just love toying with technology and trying to learn asp.net through creating persnal projects. i am trying to create website that will basically take users info and users information and then store that in the data base. once … | |
Hi! I want to display a table in the Local Report using SQL Connection. Parameters will be user-defined. Example. sqlSearch = "SELECT * FROM shipment WHERE " & port & " BETWEEN @datePerformedFrom AND @datePerformedTo ORDER BY recno DESC" `@datePerformedFrom` and `@datePerformedTo` will be supplied by the user. Please help … | |
Hi. I have a little technical enquiry about PHP that I'm hoping someone here can help me with. I have a PHP/MySQL application on website A. This app takes a user input, does a few date/time calculations and presents the result onscreen as a series of 6 times. A friend … ![]() | |
Is the a model folder and file structure to follow if I wanted to build java projects in eclipse? | |
I have a couple java apps that run good in netbeans and in eclipse yet when I compile on the command line during the build.xml they all get these 100 errors. The list looks daunting but they are all dealing with joda time. Not sure what is going on. I … | |
Hi. Sorry for my english (is not good) I have sql query for get all results by some parameters: `$sql_string = 'SELECT SQL_CALC_FOUND_ROWS ip_ip, ip_time, ip_location, ip_referer, ip_username, ip_user_type, ip_browser FROM ' . IP_TRACK_TABLE;` Is for phpbb3, but it does not matter now. In this table have 7000 rows with … | |
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)) … | |
Hello, I am creating login system with session for secure login and logout. Yet, I don't think it works as it suppose to be. This is my codes: admin.php <?php // Check if session is not registered, redirect back to main page. // Put this code in first line of … | |
Hi! The for loop works and it reads the value of `recno()`. However, the sql code itself is being executed once only. Is there any tweak I need to do for DB2 iSeries codes? For k = 0 To recno.Length - 1 sqlUpdate = "UPDATE shipment SET status=@status WHERE recno=@recno" … | |
Hello to all frndz! i want to write a program in which i have stored some integer elements in an array and i want that my program searches for the largest integer and displays it. for example if i have some integers in my array like 23, 38, 81, 12. … | |
I have a JDesktop app using apache derby embedded db. Without totally rewriting the app can it have the same db but on a server? | |
Hi guys, so i know this question has been asked and answered on the web a million times but it seems that how my page is structured it doesn't seem to submit at all though it does refresh. I think i also need expert input on the structure of my … | |
![]() | Hello, on korean games I noticed that you always have to start the game through the website. First I want to know why they do it that way? Only to gain traffic? And second how can I do that too? Is it even possible with php? I couldnt find anything … |
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 … | |
<?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"> … ![]() | |
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 … | |
|
The End.