473,387 Members | 3,684 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

java-php-java data transfer

unicorn
23
I've learn PHP and now I need to use Java. I've read some books about javascript and I want to create web-site where only visible pictures will be loaded (using scroll bar applets and MySQL database). I need to know how to transmi data between PHP and aplet that gives me position of "thumb".

I'll appriciate your help.
thank you
Oct 2 '06 #1
6 2323
steven
143 100+
I've learn PHP and now I need to use Java. I've read some books about javascript and I want to create web-site where only visible pictures will be loaded (using scroll bar applets and MySQL database). I need to know how to transmi data between PHP and aplet that gives me position of "thumb".

I'll appriciate your help.
thank you
Java is not JavaScript

Which do you wish to use?

Only visible pictures will be loaded? You will have to be less vague if you want help. =]
Oct 2 '06 #2
unicorn
23
I need JavaScript for viewing images from sql. I think that it would be better if I use PHP but i dont know how. I'm using scroll applets and i wont to view (load) pictures that are visible and preload pictures that are near that area. but scroll bar has to show whole label for all pictures.
Oct 2 '06 #3
unicorn
23
I want to load only that pictures that can be viewed in screen (for example if screen resolution is 1024x768 and i can fit only 4 pictures but i have 100 of them, I dont want to load all of them). and scrollbar should view label for all pictures. thus i'll save my traffic.
Oct 2 '06 #4
steven
143 100+
I want to load only that pictures that can be viewed in screen (for example if screen resolution is 1024x768 and i can fit only 4 pictures but i have 100 of them, I dont want to load all of them). and scrollbar should view label for all pictures. thus i'll save my traffic.
Use the LIMIT clause of MySQL to limit the number of results you pull.

You can use a count query to find out how many images you have, then use LIMIT to only get maybe 4 THUMBNAILS at a time. Then use javascript to preload the fullsize images?

There are different ways of doing it, but I think I would explore this one first.
Oct 3 '06 #5
unicorn
23
thanks, i know how to use MySQL in php, how to retreave lists of needed pictures. I dont know hot to transmit this list of pictures from PHP to JavaScript (applet)
Oct 3 '06 #6
unicorn
23
okay, i can transmit my pictures sql list through php to JavaScript. how can I put this list from Javascript into APPLET?
Oct 4 '06 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Ronneke | last post by:
Hello everyone Is there a possibility to find or to calculate the data transfer-time during downloading a file from the internet? Gretings Ron
1
by: BijuThomas | last post by:
Complicated - ASP/Security/data transfer/XML doubt In our company Head office we are hosting an intranet server in IIS (Windows 2000) , ASP and Sqlserver back end. We are maintaining our branch...
2
by: Sindhu | last post by:
Hi, I have a question about data transfer from V7.2 to V8.1. I am planning on installing V8.1 and then loading data from an existing V7.2 databases. Migrating is not an option and also I have...
2
by: socket | last post by:
Hey, I need to make two programs I wrote to communicate with each other, but what's the best way to implement it? Both programs will be running on the same machine. I don't want to open sockets...
3
by: Sunny | last post by:
Hi all, I'm creating client/server app in C# (VS. 2003). So, I need the client to call the server with some auth info (user and pass). If the auth is OK, server will do some work and will prepare...
0
by: mandar | last post by:
Hi all, we have developed and application in which Mobile devices using Win CE talk to SQL server 2000 db. the applicaiton is developed in .net. using webservices i.e soap protocol data...
38
by: Tom | last post by:
I need my data generating C program on computer #1 to export small amounts of data (one - 40 byte data structure) periodically (once per minute) to a C program on computer #2. I am considering...
19
by: karthi84 | last post by:
hi there, i have a laptop and a pc with me both running windows XP. i am in need to transfer data between these two. and the datatransfer is temporary i.e., only when ever needed. so i am not...
2
by: sachin shah | last post by:
Hi All, 1. i want to transfer the .csv file data into sql server table, i tried with the DTS but while creating DSN it not prompt to attech the .csv file. give me the proper steps to perform...
1
by: Michaga | last post by:
I have a project in Vb.net and I want to transfer a table to "txt". I have a data transfer From iSeries but I want to use my project in VB.net because is more easy to the users acess the as400...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.