Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Porkie

Members
  • Joined

  • Last visited

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <form id="RSSFEED" name="RSSFEED" method="post" action="rss_update.php"> <table width="309" border="1"> <tr> <th width="83" scope="col">RSS Feed </th> <th width="198" scope="col"> </th> </tr> <tr> <td>Title : </td> <td><label> <input name="rsstitle" type="text" id="rsstitle" size="33" /> </label></td> </tr> <tr> <td>Link : </td> <td><label> <input name="rsslink" type="text" id="rsslink" size="33" /> </label></td> </tr> <tr> <td>Description : </td> <td><label> <textarea name="rssdescription" cols="30" rows="5" id="rssdescription"></textarea> </label></td> </tr> <tr> <td>Author : </td> <td><label> <input name="rssauthor" type="text" id="rssauthor" size="33" /> </label></td> </tr> <tr> <td>Password : </td> <td><label> <input name="rsspassword" type="password" id="rsspassword" size="33" /> </label></td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td><label> <input type="submit" name="Submit" value="Submit" /> <input type="reset" name="Submit2" value="Reset" /> </label></td> </tr> </table> </form> </body> </html> Hey, I was wondering whether someone could help answer me this simple question, I want the user to have to type a password in this box which is preset, if the password is correct then the form will be added to database otherwise id get an error. And which page would i put this piece of code in , <label> <input name="rsspassword" type="password" id="rsspassword" size="33" /> </label> Cheers in advance
  2. cheers mate it works now
  3. thats because its a .xml file and not .php i have www.getrecognized.co.uk/test1.php also that shows some data but doesnt come up right confused
  4. http://www.getrecognized.co.uk/test1.xml and well i used a tutorial so i dont understand why it doesnt work ? cheers
  5. <?php echo '<?xml version="1.0" ?>'; echo '<rss version="2.0">'; echo '<channel>'; // Opens our main content echo '<title>Test Website RSS Feed</title>'; // Defines the title of the RSS feed echo '<link>http://www.testsite.com</link>'; // Where the RSS feed is from echo '<description>This RSS feed is all about the pie.</description>'; // What its about $c = mysqli_connect('localhost', '', '', '') or die(mysqli_error($c)); // Connect with our information $q = mysqli_query($c, 'SELECT * FROM news ORDER BY id DESC LIMIT 5') or die(mysqli_error($c)); // Query the table for 5 news articles sorting by 'id' while($r = mysqli_fetch_assoc($q)) // While there is more rows to get (max of 5) we get an associative array { echo '<item>'; // Begin a news article echo '<title>'.$r['title'].'</title>'; // Give it a title echo '<link>'.$r['permalink'].'</link>'; // The link to the article echo '<description>'.$r['content'].'</description>'; // The description or content of the article echo '<author>'.$r['author'].'</author>'; // The author echo '<pubDate>'.$r['date'].'</pubDate>'; // The date is was published echo '</item>'; // End news article } // End while statement echo '</channel>'; echo '</rss>'; /> im confused as when i load it up i get an error saying "XML Parsing Error: no element found Location: http://www.quad.co.uk/test1.xml Line Number 27, Column 3:?> --^" where could i be going wrong? thanks in advance

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.