Ok so what I am doing is 'looking' through a database where a user's id is equal to the id in the url. Then I will pull all the info on that person with that ID. If that made any sense, can somebody help me? Thank you soooo much!
$prof = $_GET['profile'];
$id = SELECT id FROM *table-name* WHERE id = '$prof'
$item1 = SELECT item1 FROM *table-name* WHERE id = '$prof'
$item2 = SELECT item2 FROM *table-name* WHERE id = '$prof'
$item3 = SELECT item3 FROM *table-name* WHERE id = '$prof'
$_GET[]
variable inside a query as you will be exposed to SQL-injection. Making a search for "PHP and MySQL Introduction" is a good place to start, good luck! – sooper Dec 13 '11 at 1:26"SELECT id FROM table-name WHERE id = '" . mysql_real_escape_string($prof) . "'";
– Book Of Zeus Dec 13 '11 at 1:29