Forum Moderators: coopster
Thanks,
Steven.
Sure, you can do this with query strings.
index.php?id=ID_NUMBER_HERE
SELECT * FROM table WHERE id = '".$_GET['id']."' LIMIT 1;
And then display your data. Assuming you have a unique identifier for each row. This is ideally an auto increment id field.
Its worth noting that query strings are open to abuse if not used correctly. So, try and check any data that comes in from a query string to make sure that no-one has attempted to change anything. This can be a common cause of SQL Injection Vulnerabilities [webmasterworld.com].
Some of the PHP functions like strip_tags [uk3.php.net] & the ctype [uk3.php.net] functions should prove useful, along with some of the regex [uk3.php.net] commands.
dc
A similar tech was discussed
HERE [webmasterworld.com]