Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 498 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 498 Bytes

php_HTML_swaper

With this you can easily create code to swap HTML within a div.

Instructions: Place at top of main inex page:
if (!isset($_SESSION['i']) || $_SESSION['i']==''){
$_SESSION['i'] = '0';
}

Call function by:
including file
div_swap($link_text, $div_target, $loader, $pass_var)

Variable Descriptions:
$link_text //displayed text
$div_target //What div content are you replacing
$loader //what's being loaded
$pass_var //values being passed