Skip to content

KMStanton/php_HTML_swaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published