- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 4
- Posts with Downvotes
- 2
- Downvoting Members
- 4
28 Posted Topics
I'm trying to add a file uploader to my website and I was wondering if there is any way or any open source code that can upload a file and the display the contents of the file in an html textarea. This files with most likey be Python or Javascript … | |
I have this rather large form that I need to process and have the results sent to my email. Note the data will only be sent to an email not save in a database. The problem I'm having is that in these form there are tables, not only html tables, … | |
I have this rather large form that I need to grab all the user input from and email it. My problem is there are a mixture of normal feilds and then parts of the form are set up in tables. I'm not sure how to go about naming each of … ![]() | |
I have a form and php code to register a user. It's not complete, but right now I'm trying to get the insert query to work and put the data entered from the form into the sqlite database. I've tried entering the data by puting the form variables in the … | |
I have the registration form and everything seems to work good except when I try to insert the data into the table from the query in the php code. It will submit, but when i check the database the data is not in there. I tried multiple ways, but none … | |
I have this code that displays a thumbnail strip and then when you mouse over a thumbnail a bigger images shows up over the strip. The problem is it only is working on some of them and only when the mouse is over a certain part of the picture. When … | |
I'm using mysql and phpmyadmin to create a video rental database and I've been having problems with the auto_increment feature and the numeric data type. I have auto_increment on multiple tables for their table id's. The problem is when i enter data into the tables the counter doesnt reset. So … | |
I need help using a mysql user defined function in php. What i want to do is use the mysql function to perform a query to get the count from the inventory table whose movie_id's are equal to the movie_id entered by the user. And then I would like to … | |
I need help using a mysql user defined function in php. What i want to do is use the mysql function to perform a query to get the count from the inventory table whose movie_id's are equal to the movie_id entered by the user. And then I would like to … | |
Can anyone help me figure out why the table movie_actor cannot be created and how to fix it? I know it's the only table without a primary key, but I don't see a need for one. [CODE=MySQL] create table actor ( actor_id int not null auto_increment, first_name varchar(20), last_name varchar(20), … | |
I keep getting this error when I try to run and print out the results of my database query. I know that this error usually mean that my query failed but i can't figure out what is wrong with it. [CODE=PHP] $genre=readline("Enter Genre: "); $query = "SELECT movie_title FROM movie … | |
I need help creating the tables for my database, I've got all my tables to work except the first one. For some reason it says it is unable to create the first table and i get this error " ERROR 1005 (HY000): Can't create table 'jfunchio.rental' (errno: 150)" I was … | |
I keep getting the "ERROR 1005 (HY000): Can't create table 'jfunchio.rental' (errno: 150)" error where i run this code. I was wondering if anyone could help with what is wrong. I would really appreciate it. My code is below. [CODE=sql] create table rental ( item_rental_id varchar(8), customer_id varchar(8), movie_id varchar(8), … | |
I'm writing an Observer Pattern program that uses an UpperCaseMonitor subject or concrete subject to monitor when there is an uppercase letter in a line of text entered by the user. Everything seems to work fine until i try to access the state changes to keep count, store, and print … | |
I'm trying to implement an observer pattern that keeps track of uppercase letters in a line of text the user enters. Whenever there is an uppercase letter the observers are notified. It compiles fine and when I run it and enter a line of text with no uppercase letters it's … | |
I'm trying to implement an observer pattern who's subject monitors for uppercase letters in a line of text entered by the user. I havn't had much problem until now i'm getting the error "error C2243: 'type cast' : conversion from 'UpperCaseMonitor *' to 'Observable *' exists, but is inaccessible". I … | |
Hi I'm just learning how to use php and I'm testing out how to use a SQL trigger. What I need to do is print out the fields value before the trigger and then again after the trigger has been activated and changed the value. When I try to do … | |
Hi I'm just learning how to use php and I'm testing out how to use a SQL trigger. What I need to do is print out the fields value before the trigger and then again after the trigger has been activated and changed the value. When I try to do … | |
Im just learning how to do triggers in mysql with php I have two versions of the trigger i would like to use but i keep getting errors saying the syntax is wrong. the first one is: [CODE=mysql] CREATE TRIGGER credits_earned AFTER UPDATE ON takes on (grade) REFERENCING NEW ROW … | |
I'm trying to use the trigger below on my database but I keep getting the error "#1235 - This version of MySQL doesn't yet support 'multiple triggers with the same action time and event for one table'". Could someone tell me what is wrong. [CODE] DELIMITER $$ CREATE TRIGGER grade_change … | |
Im just learning how to do triggers in mysql with php I have two versions of the trigger i would like to use but i keep getting errors saying the syntax is wrong. the first one is: [CODE=mysql] CREATE TRIGGER credits_earned AFTER UPDATE ON takes on (grade) REFERENCING NEW ROW … | |
I'm trying to my friend with an assignment to turn a number from Fahrenheit to Celsius and Kalvin. All that works fine and good. The problem is that his professor wants him to "The main() function ought to use a loop to allow the user to enter a temperature repeatedly, … | |
I am trying to get cygwin and nachos working on my computer which runs vista for my operating systems class. The site I am following to try and get it to run is "http://www.mcs.utulsa.edu/~papama/cs3053/nachos_in_windows.htm" I have cygwin installed in what i think is my home directory named USer. Then I … | |
I need help getting my function to overload the + operator to add a integer and a Rational object. Right now I am able to add two rational objects with my overloaded +. I made a second overloaded + function and now I am able to add an integer and … | |
I'm trying to make my program be able to add Rational objects with integers using type conversion. I've gotten it to compile but when i run it i just get a bunch of random numbers over 1 so something like this -8993458/1. My code for the conversion is. operator int(){return … | |
I need help getting my function to overload the + operator to add a integer and a Rational object. Right now I am able to add two rational objects with my overloaded + function but not and integer and an object. I'm not really sure how to go about doing … | |
I'm having trouble figuring out how to overload the +=, -=, *=, and /= for a program that does operations with rational numbers. Could someone please help me out. [CODE=C++] #include <iostream> #include <string> #include <cmath> using namespace std; class Rational{ public: int num; int den; bool neg; Rational(int n, … ![]() | |
I'm writing a program for a class that does operations with rational numbers. I'm not finished with it, but right now i'm working on the is_negative() function which is required to be in the program by the teacher. He has set up a make file to test each part of … |
The End.