Forum: PHP Mar 9th, 2009 |
| Replies: 5 Views: 463 ok sorry. lets say test1 == course. test2 == topic. I want to add a course in the database and display it to a drop-down menu(done). After selecting the desired course, we will now add a topic to... |
Forum: PHP Mar 9th, 2009 |
| Replies: 5 Views: 463 thanks..
how can i "connect" test1 to test 2? example, i already have an id for the test1. i want to connect test2's id to test1... i dont know how to implement it in PHP... XD |
Forum: PHP Mar 9th, 2009 |
| Replies: 5 Views: 463 hello, how can I display a data (ex. course) in a drop-down list whenever I add a data? thanks! |
Forum: PHP Aug 20th, 2008 |
| Replies: 3 Views: 427 oh okay sorry.
im going(not really lol) to create an online exam that would tell the user what course is appropriate for him based on his answers.
example:
result in science: 50%
result in... |
Forum: PHP Aug 20th, 2008 |
| Replies: 3 Views: 427 is this possible with PHP??? how can i make one?
thanks! |
Forum: Storage Apr 14th, 2008 |
| Replies: 13 Views: 10,622 the hard disk works on another computer |
Forum: Storage Apr 12th, 2008 |
| Replies: 13 Views: 10,622 the cdrom works if i dont connect any IDE cable with it. |
Forum: Storage Apr 11th, 2008 |
| Replies: 13 Views: 10,622 help.. i also have the same problem here. it happened after a power failure. the cdrom sometimes work. |
Forum: Java Jan 31st, 2008 |
| Replies: 3 Views: 2,164 |
Forum: Java Jan 30th, 2008 |
| Replies: 3 Views: 2,164 can anyone prove that T(n) = t(n-2) + t(n-1)? |
Forum: Java Jan 11th, 2008 |
| Replies: 8 Views: 5,136 ammm we should compute it with our hands lol.. |
Forum: Java Jan 11th, 2008 |
| Replies: 8 Views: 5,136 can someone teach me how to get the running time of this program?
import java.io.*;
public class ArrauSample {
public static void main(String args[]){
BufferedReader console = new... |
Forum: Java Jan 10th, 2008 |
| Replies: 14 Views: 1,019 |
Forum: Java Jan 10th, 2008 |
| Replies: 14 Views: 1,019 edit edit... the instructions says that we should be able to put the "front" in the public boolean enqueue (int x).. (what is it called btw? enqueue method?) to be able to see the importance of... |
Forum: Java Jan 10th, 2008 |
| Replies: 14 Views: 1,019 why is it not needed? hehehe |
Forum: Java Jan 10th, 2008 |
| Replies: 14 Views: 1,019 not really required but the fact that our prof is asking if it is possible, then maybe it is required to include the "front"... |
Forum: Java Jan 10th, 2008 |
| Replies: 14 Views: 1,019 but its a requirement for me hehehe.. ok ok.. thanks :) :) |
Forum: Java Jan 10th, 2008 |
| Replies: 14 Views: 1,019 waaa.. its ok... hehe.. im not really good at programming thats why... heheheh |
Forum: Java Jan 10th, 2008 |
| Replies: 14 Views: 1,019 umm how do i implement the "front" to the public boolean enqueue (int x) ??
thanks for replying :) |
Forum: Java Jan 10th, 2008 |
| Replies: 14 Views: 1,019 class Queue {
int front, rear, max, size;
int items[];
public Queue (int s) {
front = rear = -1;
max=5;
size=0;
items = new int [max];
}
// should we still include the "front" in this... |
Forum: Java Jan 7th, 2008 |
| Replies: 4 Views: 3,809 oops sorry.. im ok with reading the file..
i dont know how to place the words in an array and sort the array using bubble sort. and to create an output.txt containing the time.. |
Forum: Java Jan 7th, 2008 |
| Replies: 4 Views: 3,809 how can i bubble sort a txt file with some text in it? and then an output txt file should be created to show how much time the bubble sort took to finish the job...
thanks.. |
Forum: Java Oct 30th, 2007 |
| Replies: 31 Views: 3,417 ahhhh ok! i get it now.. thank you so much for explaining ;) |
Forum: Java Oct 30th, 2007 |
| Replies: 31 Views: 3,417 got it. thanks :)
In GridBagLayout.. i have the code:
c.gridx = 0;
c.gridy = 1;
c.anchor = GridBagConstraints.EAST;
gridbag.setConstraints( rice, c );
add( rice ); //the Label... |
Forum: Java Oct 30th, 2007 |
| Replies: 31 Views: 3,417 there was an error... cannot find symbol: method write(java.awt.TextArea) ??? |
Forum: Java Oct 29th, 2007 |
| Replies: 31 Views: 3,417 aww "output" exist in my code btw. hehe. so that "output" will be saved to savedoutput.txt. right? |
Forum: Java Oct 29th, 2007 |
| Replies: 31 Views: 3,417 if (e.getSource() == save) {
try {
BufferedWriter out = new BufferedWriter(new FileWriter("savedoutput.txt", true));
out.write(output);
out.close();
} catch... |
Forum: Java Oct 21st, 2007 |
| Replies: 31 Views: 3,417 cannot find symbol when i included the xxxx.replaceSelection("replacement text");....??
how can i save a file using a save button? heheh |
Forum: Java Oct 16th, 2007 |
| Replies: 31 Views: 3,417 in the textfield, i have the number zero as a default entry.. now if i click on it, i want the zero to disappear.. and if i click on the other textfield, the zero in the first textfield will appear... |
Forum: Java Oct 15th, 2007 |
| Replies: 31 Views: 3,417 ohhh.. yes i left the textfield blank.. hehehe its ok now.. thank you so much for the help and time!! :)
but im not gonna mark it as solved yet huh.. hehe |
Forum: Java Oct 15th, 2007 |
| Replies: 31 Views: 3,417 updated.. is this right?
public void actionPerformed (ActionEvent e)
{
if(e.getSource() == print)
{ String temp="", temp2="", temp3="", temp4="", temp5="", temp6="";
... |
Forum: Java Oct 15th, 2007 |
| Replies: 31 Views: 3,417 i got an error "cannot find symbol
symbol : variable integerAsString" when i added "int temp = Integer.parseInt(integerAsString);...."
where should i put that? hehe...
public void... |
Forum: Java Oct 15th, 2007 |
| Replies: 31 Views: 3,417 umm ok hehehe. thanks...
another question: my input is an integer.. but i use getText() to transfer that input to the TextArea... Now i want to multiply that integer to a certain number... is... |
Forum: Java Oct 15th, 2007 |
| Replies: 31 Views: 3,417 right! thanks for that... hehehehe...
can i create a table in TextArea? |
Forum: Java Oct 15th, 2007 |
| Replies: 31 Views: 3,417 waa.. i dont know understand about public String getText()...
can you give me a sample of it??
this is my action for the PRINT button:
public void actionPerformed (ActionEvent e)
{
... |
Forum: Java Oct 15th, 2007 |
| Replies: 31 Views: 3,417 the output of my simple GUI (http://img98.imageshack.us/img98/5559/fnlgg8.jpg)
woops.. i copied the wrong link hehe sorry..
similar to what i want to happen ... |
Forum: Java Oct 15th, 2007 |
| Replies: 31 Views: 3,417 Im done with the simple GUI with the help of GridBagLayout... thanks guys..
Output: http://img98.imageshack.us/img98/5559/fnlgg8.th.jpg (http://img98.imageshack.us/my.php?image=fnlgg8.jpg)
import... |
Forum: Java Oct 12th, 2007 |
| Replies: 31 Views: 3,417 I didnt know that BoxLayout and GridBagLayout exists... Hehe ill try that.. thanks!! it really helped me.. :) |
Forum: Java Oct 11th, 2007 |
| Replies: 31 Views: 3,417 need help with the GUI of my program...
i want it to be like this:
http://img256.imageshack.us/img256/8919/faceeq9.th.jpg (http://img256.imageshack.us/my.php?image=faceeq9.jpg)
but this is what it... |