I wrote the following code. It works when the primary key is integer. However when the primary key is String (which is what I need) it does not display the selected data in those fields. this is the code:
include("connection.php");
$equipId=$_GET["equipment_id"];
$conn = oci_connect($dbuname, $dbpwd,$db) or die("DB connection unsuccessful!");
$query= "SELECT * FROM EQUIPMENT WHERE EQUIPMENT_ID =".$_GET["equipment_id"];**
Can you please help me with this?