ajax - Does php's include option do a partial page refresh? -
i've started using php locally , notice if utilize include files within main index.php
file, whole page not refresh when click button/link include new/updated include file. question is, php's include alternative ajax , partial page refresh? if so, improve off using plain php or should stick ajax?
php code interpreted server-side doesn't utilize ajax client-side javascript. clicking link request new page, , php interpret requested files , homecoming output. you're not experiencing refresh times because you're working locally. if take @ network tab of chrome developer tools you'll see refresh take place.
php ajax include
No comments:
Post a Comment