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
tsalexey544
Forum Commoner
Posts: 41 Joined: Thu Jun 22, 2006 11:19 am
Post
by tsalexey544 » Thu Jun 29, 2006 1:30 am
How can I refresh one code without refreshing the hole site?
and is it posible to create frames using php? and how to make tham in one size( so no one could move within the frames)?
Weirdan
Moderator
Posts: 5978 Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine
Post
by Weirdan » Thu Jun 29, 2006 1:52 am
How can I refresh one code without refreshing the hole site?
Pardon me... one what?
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098 Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia
Post
by Chris Corbyn » Thu Jun 29, 2006 2:40 am
Your question makes no sense but I'll stab a guess that you need AJAX.
Frames are HTML.... PHP doesn't care about them.... if you google on how to make frames you'll find a jungle of information out there
Look at IFrames too.
Jenk
DevNet Master
Posts: 3587 Joined: Mon Sep 19, 2005 6:24 am
Location: London
Post
by Jenk » Thu Jun 29, 2006 3:19 am
Also remember you don't necessarily need frames for AJAX to work.
You can use the attribute 'innerhtml' to populate a div, span, td, etc. with the response from the xmlhttprequest object.
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098 Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia
Post
by Chris Corbyn » Thu Jun 29, 2006 4:28 am
Jenk wrote: Also remember you don't necessarily need frames for AJAX to work.
You can use the attribute 'innerhtml' to populate a div, span, td, etc. with the response from the xmlhttprequest object.
Agreed, if you're going to use AJAX you might as well use the DOM extensively.