Re: Ways to display remaining data columns.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux