shiloh2
-
Posts
6 -
Joined
-
Last visited
Never
Posts posted by shiloh2
-
-
OK, i think i can re plan my logic here. and i can apply your idea. thank's for helping. i will repost if what will be the outcome. thanks again
-
im not good at javascript. that's why im here asking for ideas ..
-
yes i saw that.. they dont have the same string length.. but what im after is the string value itself. do you have some idea on how to match the two?? thanks in advance..
-
@kingphilip
Yes, it is <script language="javascript">document.write(document.getElementById("grading").value)</script> ..
but when i var_dump that, it will return to "Third Grading" .. so i decided to match with a string.. but fails. any ideas?
@pkedpker.
how to encode it to php? ..
-
Hi, i just want to ask for any help about my problem.. Im using javascript to get the value of my dropdown. using the onchange Event. Here is my Code:
my dropdown selected is "Third Grading" $drop = '<script language="javascript">document.write(document.getElementById("grading").value)</script>'; if ($drop == "Third Grading") { echo "ok"; }else{ echo "no"; }
i used var_dump($drop) and var_dump("Third Grading") .. this is the result
string(95) "Third Grading" string(13) "Third Grading"
end one echo "no" resulting the else in if statement..
can someone help me why it results to "no"..
[SOLVED] Destroy a Specific Session
in PHP Coding Help
Posted
thank you.. it works
unset($_SESSION['sessname']);