String intValue;
Integer integer = new Integer(intValu e);
int value = integer.intValu e();
User Profile
Collapse
-
The code gives the arrayIndexOutOf Bounds error because inside the for loop you have used the following condition inside for loop.
for (int i=0; i<=a;i++).
Since array indexes are 0 based the last index of the array is always (length-1).(eg: if it is an array of length 2, then the last index is 1).Therefore normally the condition should be i<a .Also since you are comparing two consective values here, the condition should be i<(a--1),...Leave a comment:
-
If I am correct, I guess the method compareTo only returns one of the values 1 ,0,-1 based on the compared dates.It does not return an int which is equal to the overdue amount of days or time.You can only use that method to check whether its overdue or not.Thus using 'overdue' in for loop to increment the fee with overdue_fee is meaningless.
All the same if you are using a loop to calculate the fee I think the code should be changed as follows....Leave a comment:
-
F ny one knows a reference to this kind of a problem(i.e dependent drop down lists+ajax)pls reply .thnxLeave a comment:
-
three dependent drop down lists without refreshing the page
I need to have three drop down lists, but the dependent should get the values from the database without refreshing the page..If knows,someone pls reply soon -
rodeoval started a topic Error In Generating The Ssl Certification(error In Uploaring The Public Key)in ApacheError In Generating The Ssl Certification(error In Uploaring The Public Key)
Can nyone tell me what is crypto/bss..because when creating a ssl certification I get the error as crypto/bss not found in system libraries..Cn nyone pls tell me what's wrong??Its urgent -
SSL-CERTIFICATE GENERATION ERROR-Unable to upload the private key
Hi!!!
I need to configure ssl in WAMP.Following a tutorial,I downloaded a openssl-win 32 thing and copied the two dlls it mentioned to the PHP/extras/openssl folder in which there was a openssl.cnf file.And when I proceeded after much effort, a file type thing which is called a security certificate was created. I want to know whether that's the file that should be generated.Becau se the tutorial says to copy the .crt file to apache2/conf.While... -
No..I get the problem when creating the private key and the certification(i .e when configuring the server to run ssl)nyone knows, please reply..Its a really urgent matter...Leave a comment:
-
Hi!! First of all Thnx..
I followed what it said.But when creating the private key I get an error as
Error opening private key
system library:fopen:N o such file or Directory:.cryp to/bio/bss file.........
Can anyone pls tell me what that is?...Leave a comment:
-
I m doing a web system related to marks.Since they need security I was asked to use https.Since I am a newbie I have no idea of doing it.So cn u please tell me what are the steps I should follow?
In the php.ini file php_openssl.dll is commented.And also in the sub folder openssl which is inside the php folder (in the WAMP folder), there is a speeddial file called openssl(I don't have any idea what that is).So can u please tell me what Iare...Leave a comment:
-
Setting up HTTPS on WAMP
Hey,
Can u pls tell me how to impliment https in WAMP? Nyone knows please reply asap..It's urgent..Thnx n advance -
Well,This is another problem I am having.
I am doing a web application using PHP/MySQL and Dreamweaver.I ve created a database and some tables in it.But when I pass data to a table through a form(using POST method), the actual data does not go to the table.Say I entered the data 5 times.Then it indicates that 5 rows are there,but it does not show the actual data that I entered....Ny guesses y it happens..Someho w I feel like the problem...Leave a comment:
-
PHP?MySQL+Dreamweaver
Well,
I am doing a web application using PHP/MySQL and Dreamweaver.I ve created a database and some tables in it.But when I pass data to a table through a form(using POST method), the actual data does not go to the table.Say I entered the data 5 times.Then it indicates that 5 rows are there,but it does not show the actual data that I entered....Ny guesses y it happens..Someho w I feel like the problem is in the connection of database(I m... -
Hi!,
I could fix it. Thanx!
Now I have some more problems.
1) Is there a way like u enter the name of the table that u need to create in the dbase to a textbox and when u submit it, a table with that name is created in the dbase?
2)U create an HTML form with a table and in one column of it, u have text boxes to enter data.After entering data to those text boxes when u submit it data must be added to a particular...Leave a comment:
-
Trouble in accessing the database
hi!
I'm completely new to PHP and MySQL and I am using WAMP 5.This is something I extracted from a web tutorial. Although it is to create a table called students in a database named College it does not create one.
Can someone pls show me where I have gone wrong in the following codings?
[code=php]
<?
$username="root ";
$password="";
$database="Coll ege";
...
No activity results to display
Show More
Leave a comment: