DEMO : PHP reading cookies

No Cookie is set
if(isset($_COOKIE['Plus2netCookie'])){
echo "<div class='alert alert-info'>
<div class='row'> <div class='col-md-4'> <b>Name</b> </div><div class='col-md-4'>".$_COOKIE['Plus2netCookie']['name']."</div></div>
<div class='row'> <div class='col-md-4'> <b>City</b> </div><div class='col-md-4'>".$_COOKIE['Plus2netCookie']['city']."</div></div>
<div class='row'> <div class='col-md-4'> <b>State</b> </div><div class='col-md-4'>".$_COOKIE['Plus2netCookie']['state']."</div></div>
<div class='row'> <div class='col-md-4'> <b>Zip</b> </div><div class='col-md-4'>".$_COOKIE['Plus2netCookie']['zip']."</div></div>
</div><br><br><div class='alert alert-warning'>";

print_r($_COOKIE[Plus2netCookie]); 
echo "</div>";
}else{
echo " No Cookie is set ";
}


plus2net.com




Post your comments , suggestion , error , requirements etc here .




We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2020 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer