Squid
December 8th, 2004, 01:37 AM
Hi there,
I have a page which displays all the stocks in the storage. My table looks like this:
// display.php
***************** StockID StockName
View Modify Delete 1 ABC
View Modify Delete 2 DEF
View Modify Delete 3 GHI
When user click on the View option, it will linked him to the view_stock.php. How can I link it to StockID so that he can view the details for StockID=1?
How to set the code?
<a href="view_stock.php.".StockID='.$row[0].'">View</a>
seems like I have some error here. how to solve?
I have a page which displays all the stocks in the storage. My table looks like this:
// display.php
***************** StockID StockName
View Modify Delete 1 ABC
View Modify Delete 2 DEF
View Modify Delete 3 GHI
When user click on the View option, it will linked him to the view_stock.php. How can I link it to StockID so that he can view the details for StockID=1?
How to set the code?
<a href="view_stock.php.".StockID='.$row[0].'">View</a>
seems like I have some error here. how to solve?