Store their current choice of text_only and/or text_size in $_SESSION.
http://php.net/session_start
//start the session:
session_start();
//use saved setting:
$text_only = isset($_SESSION['text_only']) ? $_SESSION['text_only'] : 0;
//override saved if they clicked on link and it's in GET:
$text_o
$text_only = isset($_GET['text_only']) ? $_GET['text_only'] : 1;
if ($text_only==1) {
?>
off
// import css here
on
// import css here
secondly the text size links
A
A
A
these work great independently but when I use one the other switches off.
any ideas how I can combine them?
2 matches
Mail list logo