Mega Code Archive

 
Categories / Php / Code Snippets
 

This is a simpler version of our metatag generator and only generates

code for the description and keywords meta tags <form action="metatag.php" method="POST"> <font face="Arial" size="2" color="Black"><b>Description:</b></font><br> <input type="text" size="35" name="description"> <br> <font face="Arial" size="2" color="Black"><b>Keywords(Seperate with commas):</b></font><br> <input type="text" size="35" name="keywords"> <br> <input type="submit" value="Generate"> <input type="reset" value="Reset"> </form> <p> <? //generate meta tags echo "Place the following html between the head tags of your site to add your mega tags<br>"; echo "<BR>"; echo "<META name=\"description\" content=\"$description\"&gt;<BR>"; echo "<META name=\"keywords\" content=\"$keywords\"&gt;"; ?>