gerrydevis
Topic Starter
Okay. I've been learning PHP for some time, but this will be one of my first real attempts to create something with it.
I've kind of got an idea of what I'm doing, but I need to know how to grab database entries by specifying the value of one of the fields. E.g..
ID - Name - Species
1 - Mark - Human
2 - Zulu - Alien
3 - Rooly - Alien
4 - Billy - Human
How can I grab all database entries with the Species value of "Alien"? I'll be then trying to display them like this:
CODE
echo "ID: {$row['id']} - " .
"Name: {$row['name']} - " .
"Species: {$row['species']}
"; And repeating it to create a table listing Alien characters
"; And repeating it to create a table listing Alien characters