It should be $_COOKIE['name']
, not $_COOKIE('name')
$_COOKIE
is an array, not a function.
More Related Contents:
- Php Login issue [closed]
- Using PHP 5.5’s password_hash and password_verify function
- I have an array of integers, how do I use each one in a mysql query (in php)? [duplicate]
- Levenshtein: MySQL + PHP
- Check if cookies are enabled
- How to combine two arrays together?
- How to test if a MySQL query was successful in modifying database table data?
- How do i “echo” a “Resource id #6” from a MySql response in PHP?
- Check if PHP-page is accessed from an iOS device
- Replacing Placeholder Variables in a String
- How to get first x chars from a string, without cutting off the last word?
- How to destroy the session cookie correctly with PHP?
- Accessing Laravel .env variables in blade
- POST request with JSON body
- Find first character that is different between two strings
- PHP debug_backtrace in production code to get information about calling method?
- Check if “exec” is disabled [duplicate]
- Disable add to cart button for an array of products IDs in WooCommerce
- Resize images with PHP
- How to find a whole word in a string in PHP without accidental matches?
- Handle Guzzle exception and get HTTP body
- Using $this inside a static function fails
- How can I catch an error caused by mail()?
- HEREDOC interfering with code indentation
- Select last 20 order by ascending – PHP/MySQL
- How can you add query parameters in the ZF2 / ZF3 url view helper
- Does memcached.dll exist?
- Find min/max in a two dimensional array
- Array size limit in PHP
- PHP – GetSQLValueString function