Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7490697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T15:42:43+00:00 2026-05-29T15:42:43+00:00

Im trying to build a feeds application in php in which im using a

  • 0

Im trying to build a feeds application in php in which im using a simple table with 2 columns..one for name and one for the respective feeds…my feed is appearing properly but there is some problem with the name heres the code…

<?php
include_once "connect_to_mysql.php";
 $sql = mysql_query("SELECT id, feed, feeddate FROM feeds ORDER BY feeddate DESC LIMIT     20");
while($row = mysql_fetch_array($sql))
{
$name = $row["name"];
$uid = $row["userid"];
$ufeed = $row["feed"];
$feeddate = $row["feeddate"];


 $feeds .= '
        <table width="90%" align="center" cellpadding="4"    bgcolor="#A6D2FF">
    <tr>
      <td width="7%" bgcolor="#FFFFFF"><a  href="http://www.project360.in/emp_profile.php?id=' . $uid . '">' . $name . '</a><br />
      </td>
      <td width="93%" bgcolor="#D9ECFF"> <span style="font-size:10px; font-weight:bold;   color:#A6A6A6;">' . $feeddate . '</span><br />
      ' . $ufeed . '</td>
    </tr>
  </table>';

}?>
<?php print "$feeds"; ?>

here the $name thing is simply not displaying as a link!please help..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T15:42:51+00:00Added an answer on May 29, 2026 at 3:42 pm

    You are selecting only three columns:

    SELECT id, feed, feeddate
    

    “name” is not among them, so it will be always empty.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build a simple web application using Node.js and CouchDb. The application
I'm trying build a method which returns the shortest path from one node to
I am trying to build an application for iPhone with RSS feed but I
I'm trying to build an application in xcode, which -beside others- reads an rss
I am trying to build a RSS feed reader for my application and I
I'm trying to build a script to retrieve all feed entries from a given
Trying to build a GUI application in Java/Swing. I'm mainly used to painting GUIs
Im trying to build call to action button on my site using jQuery. I
I'm trying to build a feed reader in C++, so I need the program
I am trying to get the profiles feed from my Google Apps domain using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.