Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
|
|
php help |
Page: 1 | Reply |
Apr 5th 2003 | #98637 Report |
Member since: May 1st 2002 Posts: 3034 |
so I suck at php .. but anyway!.. the main body of my site is included php ? include 'blah.php' ? ... how can I make it so when I click a link only that changes ?..without using iframe crap ?
|
Reply with Quote Reply |
Apr 5th 2003 | #98664 Report |
Member since: Jun 30th 2001 Posts: 447 |
Umm... that's not possible. PHP needs to reprocess the whole page. Use an iframe or frameset if you really want to do what you want, though.
|
Reply with Quote Reply |
Apr 5th 2003 | #98666 Report |
Member since: Mar 24th 2002 Posts: 3114 |
yeah, it's not possible, as PHP is a server side language. It has to reload the page to get new stuff. You can always use JavaScript to change contents of say a DIV, but in practice that would simply suck. The rest of the page is cached tho, and in most cases you can hardly notice that it loads the rest too, so it's all good. :p |
Reply with Quote Reply |
Apr 6th 2003 | #98785 Report |
Member since: May 1st 2002 Posts: 3034 |
well can't I have it refresh just my main content? like when I click on the button it can refresh $content or something ? |
Reply with Quote Reply |
Apr 6th 2003 | #98789 Report |
Member since: Mar 24th 2002 Posts: 3114 |
not without frames you can't.
|
Reply with Quote Reply |
Apr 6th 2003 | #98796 Report |
Member since: May 1st 2002 Posts: 3034 |
:(
|
Reply with Quote Reply |
Apr 6th 2003 | #98800 Report |
Member since: Mar 24th 2002 Posts: 3114 |
<-- cheer up, old chap.
|
Reply with Quote Reply |
Page: 1 | Back to top |
Please login or register above to post in this forum |
© Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website. |