Hi,
I'm trying to get the value from a javascript: window.locaiton.href = "db/create_eoi.php?refNum=" + rNum;
.
<?php
if(isset($_GET["rNum"])){
$refNum = trim($_GET["rNum"]);
}
?>
the problem is that where ever I use $refNum
I get an error saying Undefined Variable. To be more clear: what im doing is getting a value from a javascript then put that value in a database.