hello, i'm trying to make a profiles page for a band so i made a database and a table with a row of the names
example:
+--------+----------+
| id | name |
+--------+----------+
| 0 | jairo |
+--------+----------+
| 1 | josh |
+--------+----------+
| 2 | ed |
+--------+----------+
...and i can't figure out how to get for example only josh's name printed on the page. the only thing i'm capable of doing because of my lack of knowledge of commands is (example of my code):
$d = SELECT * FROM table LIMIT 2;
while($c = mysql_fetch_object($d))
{
print $c->name
}
and that prints the whole 'name' row..
please help =P