if..
Posted: Thu Dec 23, 2004 6:32 pm
must be asleep or whatever cause i cant find whats wrong.
i have changed this part so many times that i am about to go nuts hehe.
in case you wonder the query = executed oke. its all not getting registered as it should.
i have changed this part so many times that i am about to go nuts hehe.
in case you wonder the query = executed oke. its all not getting registered as it should.
Code: Select all
if (($row['docname'] !="") && ($row['imgname'] !="")) {
$_SESSION =array("docname"=>"yes","imgname"=>"yes");
}
if (($row['imgname'] =="") && ($row['docname'] =="")) {
$_SESSION = array("docname"=>"no","imgname"=>"no");
}
if (($row['imgname'] =="") && ($row['docname'] !="")) {
$_SESSION = array("docname"=>"yes","imgname"=>"no");
}
if (($row['imgname'] !="") && ($row['docname'] =="")) {
$_SESSION = array("docname"=>"no","imgname"=>"yes");
}