<?php
//Eg- Panagram - The quick brown fox jumps over the lazy dog
$str = "Bright vixens jump; dozy fowl quack";
$wordarr = array();
$lettercount = 0;
for($i=0;$i<strlen($str);$i++){
if((!in_array(strtoupper($str[$i]),$wordarr)) && (ord(strtoupper($str[$i])) >= 65)
&& (ord(strtoupper($str[$i])) <= 90)){
array_push($wordarr,strtoupper($str[$i]));
$lettercount ++;
}
}
if($lettercount == 26)
echo 'is Panagram';
else
echo 'not Panagram';
To embed this project on your website, copy the following code and paste it into your website's HTML: