PHP code example of emmetltd / valid
1. Go to this page and download the library: Download emmetltd/valid library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
emmetltd / valid example snippets
$valid = new \Emmetltd\valid\lib\EmmetValid;
$valid->make();
$valid= new \Emmetltd\valid\lib\EmmetValid;
if($valid->check()){
$_SESSION['tncode_check'] = 'ok';
echo "ok";
}else{
$_SESSION['tncode_check'] = 'error';
echo "error";
}