Profile Photo

Michael VicenteOffline

  • 64

    Posts

  • 0

    Comments

  • 2.9K

    Views

What are the Basics of Project Management?

I’m currently working on my Google Certificate for Project Management to prepare me on my future career, and on this series of blog posts I’ll be sharing my notes and the information that I learn throughout the program. What is project management? Project Management – is the application of knowledge, skills, tools, and techniques to […] More

submitted by


Generate Simple Sitemap using PHP

.htaccess (File) RewriteRule ^sitemap.xml$ sitemap.php [L] sitemap.php (File) <?php //sitemap.php $connect = mysqli_connect("localhost", "user", "password", "database"); $query = "SELECT username FROM table_name"; $result = mysqli_query($connect, $query); $base_url = "https://domain.com/"; header("Content-Type: application/xml; charset=utf-8"); echo '<?xml version="1.0" encoding="UTF-8"?>'.PHP_EOL; echo '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">' . PHP_EOL; while($row = mysqli_fetch_array($result)) { echo '<url>' . PHP_EOL; echo '<loc>'.$base_url.'/</loc>' . […] More

submitted by



Media

Back to Top

Add to Collection

No Collections

Here you'll find all collections you've created before.