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
~53.5K People Reached
Interests
********pr0graMminG*********
Favorite Tags
java x 164
c x 89
php x 49
Member Avatar for DemonLady

I got this assignment and I'm stuck. I have to write a function that takes an integer value and returns the number with its digits reversed. For example, given the number 7631, the function should return 1367. Can someone help? :confused:

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
185
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
166
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
235
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
616
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
84
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
167
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
945
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
616
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
357
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
267
Member Avatar for Jessurider

can anyone tell me how here the count of [B]st[/B] is [B]incrementing[/B] like this[B] 2,4,6,8,10 and not like 1,2,3,4,5 [/B] how could i get the count of [B]st[/B] to increment as [B]1,2,3,4,5[/B] [CODE] PrinterJob printJob = PrinterJob.getPrinterJob(); Book book = new Book(); for(int i=0;i<5;i++) { book.append(new IntroPage(), printJob.defaultPage()); } [/CODE] …

Member Avatar for Jessurider
0
278
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
133
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
87
Member Avatar for aru211285

Dear friends, I have created a html page with dynamic select boxes and included the below line in the form [COLOR="red"]<form action="sqlpage.php"target="_blank" method="post">[/COLOR]. The mentioned sqlpage.php contains some php code which connects to MySQL DB and search for queries and displays the results on a webpage. But when i run …

Member Avatar for aru211285
0
149
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
359
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
118
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
94
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

I am new to php (sorry). I cannot figure out how to make 'field_4' below display as a click-able URL. It is stored in my mysql db in a varchar field. Any help would be great, thanks. [CODE] $result = mysql_query("SELECT * FROM units ORDER BY `field_1`, `field_2`"); echo "<table …

Member Avatar for mcgeepj2
0
129
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
93
Member Avatar for soomro_moon

how to remove a post form this forum .i was having problm in php but it is solved now so i want to remove that post

Member Avatar for Xufyan
-1
75
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
116
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
145
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
68
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
68
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
727