Does anyone see the error in this snippet? PHP Code: function get_phone_number() {
Bad Code
8
Does anyone see the error in this snippet?
I'm getting:
I got the code from this site and I've tried both the way it was written $_COOKIE['Believe_Adwords] and the way I thought it should be written $_COOKIE['Believe_Adwords'] both without success.
Any input is appreciated!
PHP Code:
function get_phone_number() {
if (isset($_COOKIE['Believe_Adwords'])) echo "555-0968-5566";
else echo "555-8979-4567";
}
I got the code from this site and I've tried both the way it was written $_COOKIE['Believe_Adwords] and the way I thought it should be written $_COOKIE['Believe_Adwords'] both without success.
Any input is appreciated!
- Tom B Banned
- [1] reply
- sdwrage
- ocsSEO01 Banned
- [1] reply
- CarloD.
- [ 1 ] Thanks
- [1] reply
Next Topics on Trending Feed
-
8