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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -