Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Javascript/PHP help | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
SyntaxLegend

Double metal axe
Level: 25

Posts: 88/222
EXP: 78264
For next: 11356

Since: 04-21-04
From: Australia

Since last post: 20 days
Last activity: 10 hours
Posted on 10-03-04 07:43 PM Link | Quote
well, im trying to do something in PHP with a bit of java, i want an SQL query to refesh when i click a button from a list of users, i want it to load the list of forums that user is modding. So i have a combo box of users, i press a button next to it, and under it another combo box appears with the names of the forums that user i selected is modding, i can get the box to appear, but i cant get the SQL query to refresh. Any help? i hope i was clear on this.
Jraregris

Blue Octorok
Level: 10

Posts: 17/36
EXP: 4319
For next: 95

Since: 09-28-04
From: Norway

Since last post: 16 days
Last activity: 5 days
Posted on 10-04-04 01:36 AM Link | Quote
Why not load everything at once when the page loads, and then, with the magic of java, select what info to display without actually querying?
SyntaxLegend

Double metal axe
Level: 25

Posts: 89/222
EXP: 78264
For next: 11356

Since: 04-21-04
From: Australia

Since last post: 20 days
Last activity: 10 hours
Posted on 10-04-04 02:44 AM Link | Quote
but the thing is constanly changing, so i dont want to go in the file and edit the properties everytime someone gets promoted.
Black Lord

Level: 34

Posts: 64/453
EXP: 235639
For next: 18012

Since: 03-15-04
From: Nebraska, what's a Nebraska

Since last post: 8 days
Last activity: 1 day
Posted on 10-04-04 04:12 AM Link | Quote
What are you talking about... if you query everything you should be fine...
SyntaxLegend

Double metal axe
Level: 25

Posts: 90/222
EXP: 78264
For next: 11356

Since: 04-21-04
From: Australia

Since last post: 20 days
Last activity: 10 hours
Posted on 10-04-04 10:34 AM Link | Quote
then i would also add and change querys every time someone gets added and deleted. i thought you would be able to refresh querys dynamically.
Modereb

Paragoomba
Level: 15

Posts: 60/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 10-04-04 04:08 PM Link | Quote
Originally posted by Black Lord
What are you talking about... if you query everything you should be fine...
That's how newbies unaware of resource and database usage do it.


(edited by Modereb on 10-04-04 07:10 AM)
Boom.dk

Level: 31

Posts: 91/392
EXP: 168692
For next: 16671

Since: 07-18-04
From: Denmark

Since last post: 10 days
Last activity: 1 day
Posted on 10-06-04 05:42 PM Link | Quote
Have I not understanded what you want to do or can an auto refresh script work?
FreeDOS

Lava Lotus
Wannabe-Mod :<
Level: 59

Posts: 755/1657
EXP: 1648646
For next: 24482

Since: 03-15-04
From: Seattle

Since last post: 6 hours
Last activity: 4 hours
Posted on 10-09-04 04:43 AM Link | Quote
I'm going to clear this title up in this post:

This has nothing to do with PHP. Unless you're using an HTTP redirect to the page again.
This has nothing to do with Java. It deals with JavaScript.
Boom.dk

Level: 31

Posts: 102/392
EXP: 168692
For next: 16671

Since: 07-18-04
From: Denmark

Since last post: 10 days
Last activity: 1 day
Posted on 10-09-04 04:54 AM Link | Quote
COULD this be what is needed?

<script>
function time(){
var t;
t=setTimeout("update()",5000);
}
function update(){
history.go(0);
time();
}
time();
</script>
Jesper
Busy, busy, busy.
Level: 69

Posts: 969/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 10-12-04 10:48 PM Link | Quote
That's the worst abuse of Javascript I've seen. Use meta refresh instead, if you have to refresh the whole page. Or do the really right thing and use remote loading via hidden elements (iframes) without refreshing the whole page
Deleted User
Banned
Level: 8

Posts: 1/12
EXP: 1736
For next: 451

Since: 01-23-01

Since last post: 13089 days
Last activity: 21 days
Posted on 10-13-04 12:04 AM Link | Quote
tja, jag
Boom.dk

Level: 31

Posts: 131/392
EXP: 168692
For next: 16671

Since: 07-18-04
From: Denmark

Since last post: 10 days
Last activity: 1 day
Posted on 10-13-04 04:08 PM Link | Quote
Originally posted by Jesper
That's the worst abuse of Javascript I've seen. Use meta refresh instead, if you have to refresh the whole page. Or do the really right thing and use remote loading via hidden elements (iframes) without refreshing the whole page
Haha
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Programming - Javascript/PHP help | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.010 seconds.