dynamic data

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bladecatcher
Forum Commoner
Posts: 67
Joined: Sat Mar 12, 2005 12:50 am

dynamic data

Post 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
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post 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.
bladecatcher
Forum Commoner
Posts: 67
Joined: Sat Mar 12, 2005 12:50 am

Post 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
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post 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.
bladecatcher
Forum Commoner
Posts: 67
Joined: Sat Mar 12, 2005 12:50 am

Post by bladecatcher »

Is there anything else other than Java & VBscript to do this!

tia
blade
Post Reply