Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
31% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
5
Downvotes Received
11
Posts with Downvotes
9
Downvoting Members
8
7 Commented Posts
~54.6K People Reached
Interests
********pr0graMminG*********
Favorite Tags

105 Posted Topics

Member Avatar for DemonLady

you can use an array to enter numbers and print that array in reversible order

Member Avatar for Ajini
0
3K
Member Avatar for Xufyan

Hello, I am having trouble fetching content from a web-page, actually i wanted to fetch all the inner text from div name 'displaybody' but my code doesn't seems working, it is fetching all the content of the page and after 4 page successfully fetched i get an error, [CODE][B]Fatal error: …

Member Avatar for LastMitch
0
187
Member Avatar for Xufyan

I am trying to figure out the way to use the nested loop in a proper way but so far i am failed, The loop run to infinity when i run the program which i definitely don't want to do, here is my code, .MODEL SMALL .STACK 100H .DATA var1 …

Member Avatar for sbesch
0
3K
Member Avatar for Xufyan

There are so many services which can be used with the interrupt 10h, I'd like to ask the question about two of them whom with i am confused First is, AH = 06H SCROLL UP WINDOW AH = 07H SCROLL DOWN WINDOW While coding in DOS what is meant by …

Member Avatar for mathematician
0
181
Member Avatar for Xufyan

here i've created the first applet but it is not working, [CODE] import java.applet.Applet; import java.awt.*; public class FirstApplet extends Applet { public void paint(Graphics g) { g.drawString("Look at me, I'm a Java Applet!",10,50); } } [/CODE] i am getting no errors but when i am opening the html file …

Member Avatar for _aven
0
240
Member Avatar for Xufyan

I have a form having two radio buttons and one heading, [CODE]<form name="f1" method="POST" action="<?php echo $PHP_SELF;?>"> Family filter: <ul> <li><input type="radio" name="r1" value="o" onclick="submit();">On</li> <li><input type="radio" name="r1" value="p" onclick="submit();">Off</li> </ul> </form> </div> [/CODE] CSS, [CODE]#filterbox {border-radius:8px; width:208px; margin-bottom:15px; background-color:#e1f6fa;} #filterbox ul{margin: 0; padding: 0; list-style-type: none;} #filterbox ul li …

Member Avatar for dipeshbeckham
0
634
Member Avatar for Xufyan

I have a basic question regarding javascript, i need to generate the time table of input number, here is the question have a look at the attachment I'm not achieving the desired output , please help me out, here is the code but it isn't working please provide me with …

0
86
Member Avatar for Xufyan

I've the following code for the two radio buttons but it isn't working i don't know why :S If 'On' is selected it displays 'ON is selected' and so on but it isn't working :S and i want one button to be selected at a time but when i run …

Member Avatar for aadesh.aakash
0
1K
Member Avatar for Xufyan

Ok, I have two radio buttons 'A' and 'B' and user have a choice to select anyone of them, by default button 'A' is selected but when user come to my website and selects 'B' then selection changes to button 'B' however the problem is, when the user move to …

Member Avatar for diafol
0
173
Member Avatar for Xufyan

OK, i wanted my page to post a random post in every 24 hours , so i found that code over the internet, I was trying to understand the code and added the comments to those lines which i understood, however i am not able to understand the complete program, …

Member Avatar for Xufyan
0
955
Member Avatar for Xufyan

here why should we have to write [B]c=1[/B] ?? i couldn't understand the logic of writing c=1 :s... please just explain the logic [CODE]void main(void) { int a,b,c=1; a=5; for ( b=a; b>0; b--) { c*=b; } printf ("The Factorial of %d is %d\n",a,c); getch(); }[/CODE]

Member Avatar for muktigeek
0
649
Member Avatar for Xufyan

Hello Everybody, please explain me what is pass by reference ,i know what does it mean but i could not find any of its simple example that differentiate between pass by reference and pass by value :( please help me i have spent almost 4 hours searching for it but …

Member Avatar for Zetlin
0
359
Member Avatar for Xufyan

Hello everyone, i was reading java tutorials on the internet then i saw this program, [CODE] class Cat { private String mCatName; Cat(String name) { mCatName=name; } public String getName() { return mCatName; } public void setName(String strName) { mCatName = strName; } public void messWithCat(Cat kitty) { kitty = …

Member Avatar for JamesCherrill
0
276
Member Avatar for Jessurider
Member Avatar for Xufyan

Hello, I am damned confused about the versions of PHPs , which version include Object oriented PHP ? and which PHP is better to learn ?? please explain

Member Avatar for MooGeek
0
136
Member Avatar for Xufyan

i was reading tutorials about php date() function, i wonder how could i write the code that show total number of days of my age till today ? but i am stuck here, [CODE]<form method="POST" action="<?php echo $_SERVER['PHP_SELF'] ?>"> Example: 2010/18/12 </br> <input type=text name="year" value="Year">/ <input type=text name="day" value="Day">/ …

Member Avatar for karthik_ppts
0
89
Member Avatar for aru211285

you are required to install php, mysql to run .php files so simply download XAMPP and install it into your local machine

Member Avatar for aru211285
0
153
Member Avatar for Xufyan

Hello I have developed a form , i want the user to only input number if a user input any alphabet or symbol ad submit the form the error must appear on the same page, i have done this with form action but i want the error to be shown …

Member Avatar for Stefano Mtangoo
0
361
Member Avatar for Xufyan

this is the simple php for loop, [CODE]<?php for ($a=1; $a<=10; $a++) echo $a . ", "; ?>[/CODE] the output of this program is 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, i want to remove ',' from the last value i want the output should be, 1, …

Member Avatar for twiss
0
119
Member Avatar for Xufyan

please look at this code, [CODE]for ($count=$num1; $count<=$num2; $count++){ for ($count1=1; $count1<=2; $count++){ echo $count1; } } [/CODE] why this is never ending loop ? when i run this code my browser hanged, why it is happening ??

Member Avatar for Xufyan
0
96
Member Avatar for Xufyan

php url and pagination i have a problem in my code, when i click on page number the page is opening correctly but there are only 6 pages but there is no 7th page but when i am replacing the page number in the url to '7' the page is …

Member Avatar for diafol
0
1K
Member Avatar for mcgeepj2

use urlencode and urldecode to display data as url for field_2 , url will be, [iCODE]echo $row['field_2'] ." "." <a href= 'abc.php?field=" . urlencode( $row['field_2'] ) . "'>Click Here</a>";[/iCODE] now create another page and call it 'abc.php' and decode the url in it, [CODE]$link = urldecode( $_GET['field'] ); echo "<center><h1>" …

Member Avatar for mcgeepj2
0
132
Member Avatar for Xufyan

look at the code first, [CODE]<?php $name=$_POST['name']; ?> <form method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <input type="text" name="name"> <input type="submit" value="GO" name="submit"> </form> <?php include ('db.php'); if(isset($_POST['submit'])) { mysql_query ("INSERT INTO example (name) VALUES('$name')") or die(mysql_error()); } if (!isset($_GET['startrow']) or !is_numeric($_GET['startrow'])) { $startrow = 0; } else { $startrow = (int)$_GET['startrow']; …

Member Avatar for diafol
0
95
Member Avatar for soomro_moon
Member Avatar for Xufyan
-1
79
Member Avatar for Xufyan

i want my code to Prevent fetching data on page refresh [CODE]<?php $name=$_POST['name']; ?> <html> <body> <form method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <input type="text" name="name"> <input type="submit" value="GO" name="submit"> </form> </body> </html> <?php include ('db.php'); if(isset($_POST['submit'])) { mysql_query ("INSERT INTO example (name) VALUES('$name')") or die(mysql_error()); } if (!isset($_GET['startrow']) or !is_numeric($_GET['startrow'])) …

Member Avatar for chrishea
0
118
Member Avatar for Xufyan

php mysql simple form help whats wrong with my code ?? every time i refreh my page a new field is created in database 'example' i want my code to create new field in database only if something is insert in text field here is my code [CODE]<?php $name=$_POST['name']; mysql_connect("localhost", …

Member Avatar for Xufyan
0
152
Member Avatar for Xufyan

i've installed a script in my website, here is the script description, [ICODE]http://community.serverstack.net/files/file/13-likeengine-free-facebook-like-script/[/ICODE] and here is the Demo of the script, [ICODE]http://likeengine.ssdemos.info[/ICODE] see the demo, all the results (likes) are appearning on main page and there is no next page option, i want the script to show a next page …

0
70
Member Avatar for Xufyan

i have downloaded a php script , it includes just checksum.md5 file, index.html, file_id.diz and favicon.ico this script requires to add databse and other config , how can i use this script without any config file or php files ?

0
71
Member Avatar for Xufyan

i want to make a calculator in which a user allowed to input two numbers in text fieldand on pressing the particular operation button the operation performed.but how could i restrict user to input only numbers and no strings ?? [CODE] import java.awt.*; import java.awt.event.*; import java.applet.*; public class calsc …

Member Avatar for ajst
0
1K
Member Avatar for Xufyan

what does it mean , use printf in JNI from C ??? i searched alot and found this, [url]http://java.sun.com/docs/books/jni/html/start.html[/url] but didn't find the specific answer :( i need the answer by tomorrow !:( help!

Member Avatar for masijade
0
745
Member Avatar for Xufyan

In this program i have input name and code in super class and print it, it also print in sub class [iCODE]Manager[/iCODE] I created the object for super class to input name and code, and another object to input Manager's Data, but in the output the Name is showing null …

Member Avatar for JamesCherrill
0
139
Member Avatar for Xufyan

From what I gather as a Java beginner, when accessing instance members, the "this" keyword may apparently be used. see this program, [CODE]class sphere{ static final double PI=3.142; static int count=0; double radius,xcentre,ycentre,zcentre; sphere(){ xcentre=0.0; ycentre=0.0; zcentre=0.0; radius=1.0; count++; } sphere(double xcentre,double ycentre,double zcentre){ this(); // what does this mean …

Member Avatar for ruchi18
0
240
Member Avatar for Xufyan

Setter getter ..? what is this and what it does ? i searched over google but didn't find the suitable answer...!

Member Avatar for imtiyaz41
0
459
Member Avatar for Xufyan

Our teacher really sux, he just wrote this down on the board but didn't explain the program :(...after a lot of search i finally understand what is try and catch but what is the meaning of [iCODE]byte b=new byte[255];[/iCODE] in this program ? and why the program is not working …

Member Avatar for JamesCherrill
0
166
Member Avatar for lena13
Member Avatar for Xufyan

I've coded this program but i am getting this error, EmployeeeMain.java:57: non-static method getdata() cannot be referenced from a s tatic context Manager.getdata(); ^ 1 error I've used the same technique in other program , it is working fine but this program is not working !! Why I am getting …

Member Avatar for JamesCherrill
0
372
Member Avatar for musikluver4
Member Avatar for ayesha08

Huh...exactly same question asked there, [url]http://www.daniweb.com/forums/thread316921.html[/url] are you a same guY ?

Member Avatar for ayesha08
0
100
Member Avatar for shinnie

you simply need to apply [iCODE]If[/iCODE] condition to shut the program if array index equals to 5. Please provide little more details about the program and a piece of code so we can understand a little more what you wanted to do...!

Member Avatar for jon.kiparsky
0
292
Member Avatar for toshiro101
Member Avatar for NormR1
0
159
Member Avatar for Xufyan

I've create a program for the array of objects, here is the code..! [CODE]import java.io.*; class Student{ int rollno; String name; public void setValues (int rollno, String name){ this.rollno = rollno; this.name = name; } public Student getValues(){ Student s = new Student(); s.rollno=this.rollno; s.name=this.name; return s; } } class …

Member Avatar for NormR1
0
231
Member Avatar for nix_xin

use Array.length() to loop through the array , create a temporary variable to arrange (Sort) the numbers..! you've created a garbage program try to create Array loop!

Member Avatar for Xufyan
0
173
Member Avatar for poornimashobana

[QUOTE=poornimashobana;1352666]hi , this is Poornima i am a trainee in java i want many questions for banking problems in java to get trained where can i get that plz help me else plz send some questions[/QUOTE] please specify you problems

Member Avatar for melessa
0
87
Member Avatar for Xufyan

In this program how can i overload the pop() method to use two pop() methods (int and float) in a program as i used two push() methods ? [CODE] class Stack{ int StackArrayI[] = new int[3]; float StackArrayF[] = new float[3]; int tos=-1; public void push(int value){ if (tos==2) System.out.print …

Member Avatar for Xufyan
0
1K
Member Avatar for Xufyan

i've learned arrays, loops, Creating objects and classes, creating methods, Encapsulation, Polymorphism Overloading constructors, Stack what next should i learn ??

Member Avatar for Xufyan
0
108
Member Avatar for JonGR
Member Avatar for nix_xin

use nested for loop to print, input number of rows from command line argument ! [CODE]for (int i=0; i<5; i++){ // '5' is number of rows !!! for (int j=0; j<i+1; j++){ System.out.print ("*"); } System.out.println (""); }[/CODE]

Member Avatar for Xufyan
0
173
Member Avatar for shivaniaroraji
Member Avatar for JamesCherrill
0
150
Member Avatar for raincomeagain

Use Math.random() to generate random numbers, create an integer array with 1 row and 6 column ! set each value in array to 0, Switch the random number use 6 cases (1,2,3,4,5,6) if random number equals to 1 then increment to the first position of Array if random number equals …

Member Avatar for Xufyan
0
142
Member Avatar for Xufyan

In my program I've created two methods , one with integr type and other with float (line # 20 and 29) !! [CODE]class Stack{ int StackArrayI[] = new int[2]; //0,1,2,3,4,5,6,7,8,9 float StackArrayF[] = new float[2]; //0,1,2,3,4,5,6,7,8,9 int tos=-1; public void push(int value){ if (tos==1) System.out.print ("Stack already Full..!\n"); else StackArrayI[++tos] …

Member Avatar for Xufyan
0
114

The End.