php - Breakdown MYSQL Results -
i getting data database using php , echoing data out using:
$data[0]
this displays full list of account numbers, wanting put href around when click on each 1 of account numbers runs mysql query breaks down more information based on account number has been clicked.
how can done?
the href point script evaluates $_get parameters , builds query it, in
<a href="details.php?id=12345">12345</a>
and
<?php // details.php ... mysql_query( "select * mydata id=$_get['id']" );
this pointer, , example prone sql injection etc.
Comments
Post a Comment