334 Posted Topics

Member Avatar for rotten69

Hi everyone, I've been trying different commands that check inputs that will be entered into the tables I've got. I want to check that Amount/Ename columns can not be NULL. What's <> do in SQL? [CODE] // first command ALTER TABLE Emp ADD CONSTRAINT CK_AMOUNT CHECK ( AMOUNT NOT NULL); …

Member Avatar for hfx642
0
148
Member Avatar for MoNaLiZaOman

I don't think you need to register in order to download a SQL Plus software from Oracle site. Always go to Oracle site and download their product/s..

Member Avatar for rotten69
-1
118
Member Avatar for rotten69

Hi everyone, I am doing a Java course at uni at the moment and it kinda doesn't make you become a real programmer with the confidence that a programmer should have. I really want to program in Java and any language(not python though because it is not a user-friendly programming …

Member Avatar for rotten69
0
190
Member Avatar for Dean_Grobler

I think w3schools.com is your source of the language you're using. And also, webdesign.about.com could be helpful.

Member Avatar for ayubcbe
0
785
Member Avatar for rotten69

Hi everyone; I'm working on a c# service that queries the DB and checks if the right info is available for users. It's an Airline tickets reservation system. I am not sure why my code is breaking after it gets the query and it gives an error about sqlclient.. [CODE] …

Member Avatar for arunkumars
0
205
Member Avatar for rotten69

hey everyone, I'm just having a problem debugging this line and I don't see anything wrong with it. I tried using SelectValue and other ways but nothing seems to be working. The error message I get is that Exception Details: System.FormatException: Input string was not in a correct format. [code] …

Member Avatar for kvprajapati
0
105
Member Avatar for edn_781
Member Avatar for rotten69

hey everyone, I'm just having a problem debugging this line and I don't see anything wrong with it. I tried using SelectValue and other ways but nothing seems to be working. The error message I get is that Exception Details: System.FormatException: Input string was not in a correct format. [CODE] …

Member Avatar for rotten69
0
107
Member Avatar for rotten69

Hi people, I just re-installed Linux on my machine and I am trying to update it by using the command [CODE] sudo apt-get update[/CODE] and the error messages I get in the terminal are [CODE]Err http://security.ubuntu.com natty-security InRelease Err http://extras.ubuntu.com natty InRelease Err http://security.ubuntu.com natty-security Release.gpg Could not resolve 'security.ubuntu.com' …

Member Avatar for JasonHippy
0
373
Member Avatar for rotten69

Hey everyone, I looked around if anyone has the same error. there are people who have had this error, but I couldn't really get to the point that what causes this error to occur. I thought the data types in my table are the reason and I changed them. But, …

Member Avatar for hericles
0
107
Member Avatar for rotten69

Hi everyone, I'm just adding these two binary numbers and not sure about the sub-questions(a,b) of the question that are below: Q1 - What is the (5-bit) result of adding the 5-bit unsigned numbers 10001 and 00111? Answer: 11000 Q1a - What is the value of the carry in to …

Member Avatar for rotten69
0
266
Member Avatar for rotten69

Hello everyone, I'm just having a problem that is stopping me from doiing my work and I've tried fixing it. I don't know what's really wrong with what I've got typed in visual studio. [code] string connString = @"Data Source=.\SQLEXPRESS;AttachDbFilename='C:\..................\Database1.mdf'; Integrated Security=True; User Instance=True"; SqlConnection conn = new SqlConnection(); conn.ConnectionString …

Member Avatar for rotten69
0
181
Member Avatar for rotten69

Hello everyone, I'm trying to make a small application that checks on submission if a user is human or not by just copying what's shown on a page and submitting it for validation. OK, I have a few errors with this piece of code and am unsure how to fix …

Member Avatar for kplcjl
0
182
Member Avatar for rotten69

G'day everybuddy, I just have a question about how to update a service on the server after changes are made to the code. Cheers,

Member Avatar for rotten69
0
142
Member Avatar for rotten69

G'day everyone, I just have a few questions about Java programming language. Before getting started with the question, I was actually doing some reading for my java course and there was an implementation of Coffee vending machine in java. Therefore, the questions came to my mind and these are: Do …

Member Avatar for peter_budo
0
201
Member Avatar for rotten69

Hey, I'm getting this error every time I run my program. I dunno what it means and how to fix it. [code] Uncaught error fetching image: java.lang.NullPointerException at sun.awt.image.URLImageSource.getConnection(URLImageSource.java:99) at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:113) at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:240) at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172) at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136) [/code]

Member Avatar for NormR1
0
249
Member Avatar for sarathsshanker

The adjective (public) given to a class meaning that it is accessible so you can use this public anywhere in your java project. (int void) means that it will return or give you an integer value. And this method takes/expects a String parameter which is specified in between the brackets …

Member Avatar for stultuske
0
379
Member Avatar for rotten69

Hey everyone, my if-statements are working as expected. Actually, they are not working at all. The syntax is right but they are never run. The program terminates before it runs them. [code] public static void main (String args[]){ Scanner input = new Scanner(System.in); Display fName = new Display(); // creating …

Member Avatar for aman rathi
0
133
Member Avatar for rotten69

Hello, Are we allowed to assign different values to just one variable? For example, gender = [Female, female, fEmale] so if one a user enters any of the specified ones then he/she will be taken to the next step/level. I'm just doing a tute at the moment and coming up …

Member Avatar for NormR1
0
195
Member Avatar for rotten69

Hey everyone, Just curious why my little program doesn't go through the if-statement I specified in it. [code] public static void main (String args[]){ Scanner sc = new Scanner(System.in); System.out.println("Enter a value for girls:"); int GIRLS = sc.nextInt(); System.out.println("Enter a value for boys:"); int BOYS = sc.nextInt(); if (BOYS == …

Member Avatar for NormR1
0
193
Member Avatar for rotten69

Hello everyone, I have a book called "Java Genesis" and it has some files such as packages, projects and hints to enhance learning. So, I have set up a file structure in Eclipse and it shows that there are errors and warnings. When I tried running a Java Application using …

Member Avatar for rotten69
0
10K
Member Avatar for rotten69

Hi everyone, I'm using a mk320 logitech that is connected to my laptop wirelessly. When I want to use the built-in keyboard on my windows7 starter, keys are giving me the values as they're expected to give like pressing button p gives me numeric value and likewise for o,l and …

Member Avatar for flagstar
0
83
Member Avatar for hsetaknev

Hi there, To fix your PHP code, [code] <?php echo "My first program and its a failure" ; ?>[/code] a semi-colon was missing. Also, to fix your HTML [code] <head> <title> My first PHP program </title> </head> [/code] Always, try keeping your tags in lower case letters like <head> </head> …

Member Avatar for hsetaknev
0
716
Member Avatar for Hani1991

They are both database langauages and I think the difference between them is to do with the version of PHP that is used in the application. For example, if you're using the latest version of PHP and that is php5, you will need to use mySQLi because it's the improved …

Member Avatar for Hani1991
0
234
Member Avatar for rotten69

Hi, How are you doin there? I'm just doing an example here. I wanted to access all elements that our user 'George' has. [code]$players = array( 'George' => array('Age'=>20, 'Hair Color'=>'Black', 'Cars'=>array('BMW', 'Toyota', 'Nissan', 'Shitty Cars lol') ), 'Mikayla' => array('Age'=> 16, 'Hair Color'=> 'Bruntte'), 'Mel'=> array('Age' =>21, 'Hair Color' …

Member Avatar for pritaeas
0
72
Member Avatar for rotten69

Hi everyone, I am just having a few issues with Ubuntu system on my machine. It doesn't fix broken packages and everytime, I want to install/remove a software from my machine, it says "can't locate PACKAGE NAME" Now, I want to re-install Ubuntu. I logged into my other OS which …

Member Avatar for jbirdsall
0
264
Member Avatar for heshanm

it is safer and cleaner to separate PHP section/query. Therefore, try putting all PHP codes into a PHP file. Then, name it, for example query.php, then put the name into the action attribute of your form. In regard to adding/updating data on your site, I can NOT see any fields …

Member Avatar for heshanm
0
156
Member Avatar for rotten69

Hi people, I am so interested in learning PHP as it is a powerful language in the web. I know a little bit of PHP so you can say that I've got an intro to PHP at this stage. What I am really struggling the logic of PHP. What would …

Member Avatar for rotten69
0
517
Member Avatar for patrickm129

Line 16 needs a ; it's OK. Sometimes, you write a bunch of lines and when you're trying to run them, you don't find an obvious mistake.But, having someone to look at your code helps a lot.

Member Avatar for rotten69
0
2K
Member Avatar for Jaklins

I think you may have to change file size that is specified in your php.ini in the apache server. As I can slightly remember the line, it is " upload size maximum" or something like this. Because by default, it only allows you to upload a maximum of 4 MB, …

Member Avatar for Jaklins
0
704
Member Avatar for sha1023012

Just a piece of suggestion for you. I think you should use CSS rather than using CSS properties in PHP because it gets a little harder to debug a piece of combined code. It's like a container inside another inside another. If one was broken, you would have to fix …

Member Avatar for rotten69
0
2K
Member Avatar for k9shark

Absolutely, PHP is just an amazing and powerful language to learn. However,with the goal you're trying to achieve, you will need AJAX (Asynchronous Javascript And XML) and PHP to build a web app that allows users to comment on things and the system get updated asynchronously. Good luck..

Member Avatar for diafol
0
229
Member Avatar for rotten69

Hey all, I'm just hoping to receive great help from you people.. I'm tryin to fix my PHP coding and it looks good,but the server says that a particular line is broken.. [CODE] <?php $hd = fopen('content.txt', 'r'); $line = fgets($hd); $content = array(); while($line) { $word = explode(',', $line); …

Member Avatar for vibhaJ
0
90
Member Avatar for phpbeginners

Die(); // at the end of your code may be useful. Depending on what you're doing in the PHP coding.

Member Avatar for diafol
0
151

The End.