I am trying to check if a url string value is present with the following code:
if ($_GET["link_inid"] != NULL){
$link_inid = "null";
}
If the address in the browser is (eg):
http://sony/carresa_php/index.php
then the code errors. However, if the url is:
http://sony/carresa_php/index.php?link_inid=100
then the code works fine.
However all I want to do is (below is in asp):
If request("link_inid") = ""
varlink_inid = "null"
else
varlink_inid = request("link_inid")
end if
Basically just set a variable (varlink_inid) = to the url string value.
Thanks for any insights.
🙂