function setCookie(CookieName, CookieValue, ExpDate, Domain, Path, Security) { var CookieData = CookieName; //store letters and numbers as themselves, but store any //symbols or spaces in the cookie value as an ASCII code CookieData = CookieData + "=" + escape(CookieValue); //Check for optional parameters values if (ExpDate.value != "") CookieData = CookieData + "; expires=" + ExpDate.toGMTString(); if (Domain != "") CookieData = CookieData + "; domain=" + Domain; if (Path != "") CookieData = CookieData + "; path=" + Path; if (Security == "secure") CookieData = CookieData + "; secure" //insert the cookie in the cookie file document.cookie=CookieData; return; } // ----------------------------- function cookieValue(FirstChar) { //Semicolons separate the cookie name/value pairs in //document.cookie property. Find the index of first //semicolon that follows the start of the cookie value var LastChar = document.cookie.indexOf (";", FirstChar); if (LastChar == -1) LastChar = document.cookie.length; return unescape(document.cookie.substring(FirstChar, LastChar)); } // ----------------------------- function getCookieValue(CookieName) { CookieName = CookieName + "="; var NameLength = CookieName.length; var CookieLength = document.cookie.length; var FirstChar = 0; var LastChar = 0; while (FirstChar < CookieLength) { LastChar = FirstChar + NameLength; if (document.cookie.substring(FirstChar, LastChar) == CookieName) return cookieValue (LastChar); //go 1 character past the space between cookie name/value pairs FirstChar = document.cookie.indexOf(" ", FirstChar) + 1; if (FirstChar == 0) break; } return null; }
PVC Cover Plates

<Back to Place Order

$dsn="mysql:host=localhost;dbname=rcrblicmgrdatbas"; $username="root"; $password="Bot2Design"; $con = mysql_connect("localhost", $username, $password); if (!$con) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db("rcrblicmgrdatbas",$con); $sql = "SELECT * FROM licensetbl"; $result_sql = mysql_query($sql,$con); #echo mysql_num_rows($result_sql); mysql_close($con); $userid=(int)mysql_num_rows($result_sql);