I have this link:
<a href=\\"view_singleunit.php?org=$unit\\">$unit</a>
However my sql statement is not picking it up. All I get is a blank.
$chk_id = \"SELECT org from lsv WHERE org = \\"$org\\"\";
$chk_id_res = @($chk_id,$connection) or die(\"Couldn\'t execute query.\");
$chk_id_num = mysql_num_rows($chk_id_res);
if ($chk_id_num == \"0\") {
header(\"location: $indexurl/index.htm\");
exit;
} else {
$sql = \"
SELECT *
from lsv
where org = \\"$org\\"
\";
$result = @($sql,$connection) or die(\"Couldn\'t execute query.\");
while ($row = mysql_fetch_array($result)) {
extract ($row);
Any help would be appreciated.
Thanks
:o) Ivan