I know how to send a cookie in a page ( b4 the headers are send), but how to you let the people choose between cookies lets say they click button #1 they get cookie that is called " bla " and when they click #2 they get cookie named " foo "
how does that work ??
its simpeler, i just need to know how to send a cookie if someone clicks a button =p
if($something) { setcookie("bla","value"....); } elseif($something) { setcookie("blah,"value"....); } else { setcookie("blahagain","value"....); }
Something like that? Just use if statements.
Remember to include any HTML form AFTER that of course.