This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //wrong | |
| // function testAPI(callback) { | |
| // console.log('Welcome! Fetching your information.... '); | |
| // FB.api('/me', function(response) { | |
| // console.log('Successful login for: ' + response.name + "/" + response.gender); | |
| // // document.cookie = "username =" + response.name; | |
| // // document.cookie = "gender =" + response.gender; | |
| // // document.location.href = "testing.html?name=" + response.name + "?gender=" + response.gender; | |
| // localStorage.setItem("name", response.name); | |
| // localStorage.setItem("gender", response.gender); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- | |
| _ _ _ | |
| | |_ _ (_) _ __ __ _ _ __ | | | |
| | _ | | | | '__| /___\ | \ / | /___\ |_| | |
| |_| |_| |_| |_| \ __ ||\\//|| \ __ (_) | |
| _ _ _ _____ | |
| | |_ _ (_) _ __ ___ _ _ __ | | | _ | | |
| | _ | | | | '__| //_\\ | \ / | /___\ |_| | |_| | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| echo "hello world"; | |
| //this is comment | |
| /*this is comment | |
| for many lines*/ | |
| $mycounter = 1; | |
| $mystring = "Hello"; | |
| $myarray = array("one","two","three"); | |
| echo $mycounter; |