Win a copy of Spring in Action (5th edition) this week in the Spring forum!

Abhradeep Banerjee

Ranch Hand
+ Follow
since Dec 09, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Abhradeep Banerjee

I have only put the PHP code I dont think HTML is needed as its quite a standard form.
I am kind stuck here. What i need to is everytime a user enters the no of oranges, apples and bananas this value be added on to what ever value there is in the text file currently.

in the text file if the user submits for the first time it will print out in the example below:

The total Number of Apples: 10
The total Number of Bananas: 10
The total Number of Oranges: 10

subsequent submission it will add on to the new value entered and it will replace the value 10 in this case.

Can someone assist in solving this problem?
Thanks

5 years ago
PHP
So you don't want the odd numbers that are less than 5, but rather less than x, right? That should point you in the right direction <=== just this statement i dont understand what he means
6 years ago
managed to get it working by using the if statement inside:

6 years ago
maybe this will make it abit clearer of what i understand

6 years ago
z is the odd numbers
6 years ago

Jan Hoppmann wrote:So you don't want the odd numbers that are less than 5, but rather less than x, right? That should point you in the right direction


kind of confused now
6 years ago
only for the first line

2nd line will be 9
3rd will be 15
6 years ago
while (z<5) {
z=z+2;
...
}

do?

Answer that, and I think you'll work out what your problem is.


i know it will keep displaying numbers up to 5 and z increments by 2.
6 years ago
basic java code kind of forgotten need some hel



this will show the following:

NO ODD NUMBERS
5 1 3 5
10
15



but what i want is :
NO ODD NUMBERS
5 1 3 5
10 1 3 5 7 9
15 1 3 5 7 9 11 13 15


thanks guys hope to hear from you
o




6 years ago
anyone ???
I heard that it is possible to do it using a webcrawler program anyone knows how to do it?
Thanks
7 years ago
so far i was able to import the table into excel using the web query function.

Idea 1: detecting the image eg 1.gif will reflect in the table as Low

Idea 2: Goto each hyperlink automatically search for the work Low and paste in the cell

Frankly I think Idea 1 makes more sense. But I have no idea how to do it.

Thanks
7 years ago
yes there is that doesnt answer my question

I want to create a program where by it will detect the image 1.gif and put the word Low inside Excel or even notepad.
Regards
Trendnet18
7 years ago
Hi,

I would like to know if there is a way to detect an image on a webpage for example 1.gif (from a website table)

and then write the word low in a notepad or in excel.
Regards
Trendnet18
7 years ago
is there a way to check if the table has an image?? eg level1.gif

doesn't matter which language it is in can be c# or java or vb