dcblogdev / dcblogcomments

2 stars 0 forks source link

create-an-rss-feed-with-php #34

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

Create an RSS feed with PHP - DC Blog

This tutorial will cover how to create a valid RSS feed from a database table of records using PH...

https://dcblog.dev/create-an-rss-feed-with-php

grgoboy commented 3 years ago

Error Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting ',' or ';' in D:\xampp3\htdocs\4\simple\RSS.php on line 29

dcblogdev commented 3 years ago

the ending line 28 is missing a ; I'll get this corrected.

echo "<atom:link href='http://www.mydomain.com/$row->newsSlug' rel='self' type='application/rss+xml'/>\n";