Page 1 of 1

dynamic data

Posted: Sun Mar 20, 2005 8:18 pm
by bladecatcher
G'day All,

Apart from Java is there anyway of creating dynamically updating data?

For instance: Sporting results, Stock data, News, etc.

tia,
bladecatcher

Posted: Sun Mar 20, 2005 8:31 pm
by John Cartwright
Short answer, yes.

Long answer your going to have to search for yourself.

Most applications requiring dynamic content are database driven, most often mysql.

http://php.net/
http://dev.mysql.com/doc/mysql/en/index.html
http://google.com

should help you get started...
grab a few scripts over at http://hotscripts.com or even search these forums to get a feel for how they work.

Posted: Sun Mar 20, 2005 9:29 pm
by bladecatcher
G'day Phenom,

Don't mind searching, I'm doing that right now, but, I think you misunderstood my question, or more explicitly, I didn't explain it well enough.

I mean data that updates *in the browser* (at client side) from data on the server in a *live* way.

i.e. Cricket scores that update automatically when a run is made.
or stock data that updates when a trade goes through.
or lap times in a motor race as the car crosses the start/finish line.

is that clearer? Sorry to confuse (wince)

again, Thanking you all in advance,
bladecatcher

Posted: Sun Mar 20, 2005 9:33 pm
by John Cartwright
PHP is a server side language.
Everything is compiled and THEN sent to the browser.

You would need some sort of client side scripting to refresh the page to allow the PHP script to be executed.

Posted: Sun Mar 20, 2005 9:39 pm
by bladecatcher
Is there anything else other than Java & VBscript to do this!

tia
blade