dreampolice
Technical User
I have links that I list where each one shows a result from an Oracle database:
<a href="mylink.php?id=34">id34</a>
<a href="mylink.php?id=76">id76</a>
<a href="mylink.php?id=24">id24</a>
For example if someone clicked on id34 the page should show the record info for id = 34.
The problem is the record doesnt show.
Here is how request part in mylink.php looks:
Please advise what I am doing wrong.
<a href="mylink.php?id=34">id34</a>
<a href="mylink.php?id=76">id76</a>
<a href="mylink.php?id=24">id24</a>
For example if someone clicked on id34 the page should show the record info for id = 34.
The problem is the record doesnt show.
Here is how request part in mylink.php looks:
Code:
$id=$_REQUEST ['id'];
$s=OCIParse($dbConnection, "select * from TableOne where id = $id");
Please advise what I am doing wrong.