No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello, I'm pretty new to php and i am trying to get the code below to work but i get the following error: [CODE]Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\Program Files (x86)\EasyPHP-5.3.5.0\www\Aution\itemdetails.php on line 14[/CODE] The code is: [CODE] <?php session_start(); include('config.php'); include('functions.php'); $db = … |
|
Hello I am trying to connect to an access database, i have tried using the[CODE]Class.forName("sun.jdbc.odbc.JdbcOdbcDriver")[/CODE] but this does not work. I am using Eclipse IDE and running windows 7 64bit. Does anyone know how to make it work? Thanks |
|
Hello, I have two classes, Help and RecylingGui. I have a button on the RecyclingGui called Help, which when clicked should open the text area created in the Help class. I added the ActionListener for this but nothing is happening. Any help would be appreciated. Thanks. The Code: Recycling Class … |
|
Hello, I am trying to do a first fit allocation in java my problem is how do i keep track of which memory block i have cheked and if there are no suitable blocks put the job in a waiting queue. Thanks for all help [CODE] import java.util.*; import java.util.Scanner; … |
|
Hello, I have got a Java queue and i want to print out the smallest number in the queue. Right now my program prints out the first number in the queue. Here is the code: [CODE] import java.util.ArrayList; import java.util.Iterator; public class Assign1 { private final int MAX_QUEUE_SIZE = 5; … |
|
Hello, I have got two arrays one called NB(number of memory blocks) and the other called NJ(number of Jobs). I want the NB arrays to search through the jobs and find a job that is <= to the block. So for example if i had: [B]Blocks[/B] 800 300 750 200 … |
|
Hello, I have been trying to turn this pesudo code into java code but i have been unsuccessfull. I need help doing this and any help would be appriciated 1.Initialise memory_block(0) = 99999 2.Computer initial_memory_waste = memory_block(0) – job_size 3.Inialise subscript = 0 4.Set counter to 1 5.Do while counter … |