199,114 Archived Topics
Remove Filter ![]() | |
I got a database with 2 tables. Table 1 is saving personal information Table 2 is saving dates, Time and a number In table 1 there is a date, time, number textbox. Which also is in Table 2. But Table 2 has some other fields which contain other data. Basically … | |
A books says that a register is abt 1KB.the books is trustworthy.But aren't they supposed to be 32-64 bits? http://oi45.tinypic.com/24lpjt3.jpg Inside the Machine: An Illustrated Introduction to Microprocessors and Computer Architecture screen capture from the book | |
Can I get help writing a program for a 12 sided and 10 sided die and rolling snake eyes? | |
Hello all, trying to get my program working. The program is to take input from the user in a hh:mmx format (x being p or a, standing for PM and AM) and tell the user how many minutes from midnight that time is. I was able to make it so … | |
When my code gets to a loop it always crashes and I am not sure why the system that I have been tasked (as a school project) to build is an Electronic Point of Sale system for a fast food resturanct. I will load the all the menu items and … | |
I have a simple jQuery code for toggle. I want to apply it in multiple <div>s as more I need. here is the code: <!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> <script> $(document).ready(function(){ $("#flip").click(function(){ $("#panel").slideToggle(500); }); }); </script> <style type="text/css"> #panel,#flip { padding:5px; text-align:center; background-color:#e5eecc; border:solid 1px #c3c3c3; } #panel { … | |
I'm working on a website: http://tinyurl.com/9sdq3eo (I've used tinyurl as I don't want you to think I'm promoting, the website isn't even finished yet. Free2Read.co.uk for those not wanting to view on tinyurl Anyway I'm trying to learn OOP with PHP before I delve into frameworks but I'm having excruciating … | |
Hello, I am trying CIUnit - PHP unit integration to codeigniter. But I am stuck - getting error that file is denied: E:\projektai\php projektai\htdocs\ci_unit\tests>phpunit PHPUnit 3.5.14 by Sebastian Bergmann. ....[CIUnit] PHP Error: Warning - include(E:\projektai\php projektai\htdocs\ci_u nit\application\config\testing\database.php): failed to open stream: Permission denied File Path: database/DB.php (line: 41) [CIUnit] PHP … | |
call method from another class Hi , I'm almost done with my practice paper I have done with the first part and now I'm working in the second part I came to this question and I stopped and didn't know how to call method from another class here is the … | |
I am trying to search a dataset I have populated from several XML files for certain words in each column. The dataset table is "item" and the columns I want searched is "descritption". "description" are several articles from an rss feed. I want to search the articles for sports players … | |
Hi I want to be able to change the name of the JFrame I am working on. It is currently named SwimmingPoolVolumeCalculator. When I go the Company Tab and enter in a name, I want that name to be shown as the new Title of the JFrame. How can i … | |
Good day, I'm tasked to develop an application that opens a web page, completes some fields to log on and then issues a crlf to send it on its way. Here's the code Public Sub LoginIntoSite(ByRef wbBrowser As SHDocVw.InternetExplorer) Dim HTMLDoc As mshtml.HTMLDocument Dim HTMLDoc2 As mshtml.HTMLDocument Do Loop Until … | |
Happy aquatics specialise in insatlling aquariums into the offices of corporate customers,customers may order many installations but each installation is assigned to one specific customer.installations are classified by type.each installation may have one or more staff assigned to it, since these installations are often very large they may involve carpenters … | |
How to add an integer no to a date so tat i can a new date foe ex: date=10/11/2012 no=5 newdate=15/10/2012 **Any body plz help to solve the problem** | |
#include <iomanip> #include <iostream> using namespace std; int main() { cout << left << setw(10) << "Hello"<< "*" << right << setw(4) << "World\n"; } is the above code correct?? I think the alignments are not working for me.. MY output Hello^^^^^^^^^*World (represented spaces as ^) | |
n my sidebar every widget title is enclosed in <h2> tags. I use 4 widgets in my sidebar and I'd like to have the first 2 widget titles as <h2> and the other 2 as <h4>. I changed in my function.php as given below: 'before_title' => '<h4>', 'after_title' => '</h4>', … | |
Hi, I have an array like this: Array ( [23] => 0 [12] => Array ( [2] => Array ( [66] => 0 [67] => 0 [68] => Array ( [14] => 0 [15] => 0 ) ) [3] => 0 [4] => Array ( [56] => 0 [77] => … | |
So I have a drop down list with various options, one being other. I want it so that if the user selects user the text box automatically appears. Ive placed the text box in a panel and set the visibility to false then added the following code : protected void … | |
Am running a script that checks every line in a foreach loop. I would like help in how to tackle this each execution needs to be written to a log file which will show how log it went to process the each line at a time and if there is … | |
Hi guys, I have an ideea of doing 3 form validations from one file The content of the file is //detalii 1-categorie var categorie = new Validator("categorie"); categorie.addValidation("add_categorie","req","Va rugam sa va completati categoria"); //detalii 2-subcategorie var subcategorie = new Validator("subcategorie"); subcategorie.addValidation("add_subcategorie","req","Va rugam sa va completati subcategoria"); //detalii 3-continut var continut … | |
I have String. Var Str = "INC300051546,INC300051553,INC300051561,INC300051579" I want to check there should not be seperator other than comma in the string. And Comma Seperated String should contain INC as 1st three character and after that 9 digits followed by comma. Is there any regular expression to validate the string. | |
I am a final year of student of a Polytechnic in Nigeria and into Software. I want develop a software using either Visual Basic 6 or Visual Basic.Net I dont know wat exactly to even develop, I'm just confuss and need help. | |
So i have to echo this onclick="dhtmlHistory.add('location1',{message: 'backbox'});countdown()" and if i echo " ...." the whole thing top it wont show because of the apostrophe | |
Hi, I'd playing with JavaScipt nowadays. I'm trying to display the selected value in a dropdown list (those values are the array elements). Here is what I've tried so far: <html> <head> <script type="text/javascript"> window.onload = function() { var artists_arr = new Array(); artists_arr[0] = "The Beatles"; artists_arr[1] = "The … | |
I suppose I should post my question about the Twisted http server here, but correct me if I am wrong. I don't know much about python or the twisted server, but I have a project on it and I must install it in my pc. I have googled some stuff … ![]() | |
Dear Experts,can we make dll in turbo c and use that dll in vb 6.0. Actually i have a program in c and it has so many constant 3 dimensional array.I have to use some API which can not be used in turbo c so i am planning to make … | |
well I've been searching for this from hours now, and also tried to look in this forum. or maybe I dont know what is it called. I'm searching for a script to display featured products on my website, in a sqaure box on right side. but it shouldn't be so … | |
How to check if a vector is NULL? [code=c++] vector <int> test; [/code] How to check if this is NULL? [code] if (test == NULL) [/code] returns compiler errors. | |
Hello, I have created the login page and I have imported the excel sheet of 10000 email id’s with their password in mysql. I have created the Password by a script. So, I need to send the password to all users with welcome message and login link. So could you … | |
Greetings. I'm having a problem that is we have a fingerprint devices in the factory, we have 2 work shifts OK so the security guys must switch the devices from "in state" to "out state" so that the [in/out mode] in the database being 0 "means attend state" it changes … | |
hey guys.... anyone here know why my time here in localhost is different from the internet, let's say even though i already set my timezone to "America/New_York" the time is still different | |
Inline Code Example Here import java.util.*; public class DiceGame { public static void main(String[] args){ Random myRand = new Random(); Scanner myScan = new Scanner(System.in); double money = 10.00; int temp2 = myRand.nextInt(6)+ 1; int temp3 = myRand.nextInt(6)+ 1; int roll = temp2 + temp3; int choice = 0; boolean … | |
My file function doesnt seem to want to open my file in a folder. $lines = file('/download/test.xls'); | |
I'm trying to build a banking program with the capability to create new accounts (savings or checking), process a deposit, process a withdrawal, or print one or all of the accounts at this "bank". I am doing this utilizing two classes, one for 'Checking' and one for 'Savings'. I've more … | |
I don't need the exact query , just the logic of how I should go about it: I need to compare for equality all records of a table for a given set of fields. If count of such similar records exceeds a particular value, I have to delete all those … | |
Hello Everyone..!! I am beginner at PHP. I would like to have solution for "\n" in textfile php. $file = "testFile.txt"; $fh = fopen($file, 'a+') or die("can't open file"); $firstname = $_POST["prenom"]; $lastname = $_POST["nom"]; $mood = $_POST["humeur"]; $datestring = date("d/m/y "); $timestring = date("H.i.s"); $data = "$firstname ; $lastname … | |
Hello when i use below program to write and read data from USB mass storage device(flash memory) i am getting following error. I've succeeded with usb_bulk_write() but can't utilize usb_bulk_read(). It returns an error. Set configuration usb_bulk_write: 12 bytes written 33 5b 2 1 0 5 1 3 7 f … | |
hi guys I really need some help I don't quite understand the instructions in our homework, I uploaded it below for your reference. Please explain to me how to do the things required on the instructions, it's not clear to me at all. Thank you for those who will help. … | |
Hello, I need to trigger an insert statement into my SQL database every time certain buttons are pressed. There are a total of 6 buttons, which makes having: string connString MySqlConnection conn = new MySqlConnection(connString); MySqlCommand command = conn.CreateCommand(); etc, etc. 6 times over in each button seem very inefficient … | |
hello, i am sofie. here is my code. <tr><td><label for="Cname"> No of Partipants:</label></td><td> <select style="width:160px;" id="text" name="participants" required="required" > <option id="" value="" name="">-Select participant-</option> <option id="1" value="0" name="" >1</option> <option id="" value="1" name="" >2</option> <option id="" value="2" name="">3</option> <option id="" value="3" name="">4</option> <option id="" value="4" name="">5</option> <option id="" value="6" name="">6</option> <option … | |
Hi!! Just started windows phone development. Need to know how to use beginInit() and endInit() functions i'm processing an animation, and want the control to show new page after the animation is over but the control switches before the animation is completed. How should i do that ?? Please let … | |
import os data = map(lambda c: ord(c), file(args[0]).read(os.path.getsize(args[0]))) For one file, os.path.getsize(args[0]) returns 10456 while len(data) returns 281. After looking at different files, I realized that it always stops reading at the 0x1A character. The documentation says that in Windows, Python uses _wfopen which (for compatibility reasons) interprets 0x1A (CTRL-Z … | |
hi, good day . ahmmm, i have a problem in terms of adding a technology which is biometrics in our project, can you please help me on how to code the finger biometric in our online website my front end is asp.net and my back end is sql database. and … | |
I can't seem to see how this slice works test = (1,2,3) >>> test[::2] (1, 3) any insite would be helpful | |
Greetings I wanna know what is going inside the steps when compiling a C++ source code to native code. I know the steps are such that: 1- Preprocessor copies the contents of included header files into the source code file. Q1: So how would the C++ source code file look … | |
Hi! I'm in charge of building a somewhat complicated app for the Android. I know enough Java to do this, but I have been running into a couple of snags as far as the mobile bit goes. The app opens on a standard login page, using the client's ID number/SSN … | |
Hi, I am trying to get a php variable into a header, I have managed it in another file but it not having it this time and I do not know why. Here is my php code [code=php] <?php header("Location: photo.php?albumid=".urlencode($albumid)); include_once 'title.php'; $result = mysql_query("SELECT id FROM user WHERE … ![]() | |
Hello all, I would really appreciate some help. I have an assignment for my class that is due where the objective is for the program to recognize the holiday when a specific date comes around. The easy ones are holidays that fall on a specific date every year, examples such … | |
I've implemented this dialogue box that shows a preview of the site you're abuot to go to. All looks good until I add more links on the same page. I've tried to adjust my div from absolute to whatever and have also fiddled around with the top - left spacing … | |
I have been trying to read back the information from a file that i created. I get all the information i need out of the file but now all i want is to use the display function from the linklist to get that information. I would like it if the … |
The End.