Re: Ways to display remaining data columns.

From: Date: Sun, 04 Feb 2007 00:05:58 +0000
Subject: Re: Ways to display remaining data columns.
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-43020@lists.php.net to get a copy of this message
my first idea is the following: since i'm sure there must be any kind of primary key you could add a simple link that opens in a new window and passes your primary key. a script (the one in the new window) now gets the details from the database the link might be something like the following: <a href='details.php?unique_id=123' target='_blank'>Details</a> but please make shure you check the submitted data before using it in a query.....(think of sql injections......) you might consider using a POST form instead of GET in order to make it more secure i think it should also work with something like target='_blank' but i'm not sure at the moment i hope it helps.... and i hope i did not forget security issues ;) Chris

« previous php.db (#43020) next »