Fatal error: Cannot access empty property in /var/www/html//regForm_process.php on line 9

This is te code:

$i = 1;
foreach($_GET as $name->$value)
    echo 'GET '.$i.': '.$name.' and VALUE = '.$value.'

Basically i wanted to get all the variables,a nd assign them as a var to be fed to a mysql insert query.
But the code above is jusr P0C. When called/runned, get this error"

Fatal error: Cannot access empty property in /var/www/html/regForm_process.php on line 9

The fix? easy. change the ' -> ' to become ' => ' As easy as that -______-"
Hope this helps someone.



Popular posts from this blog

SAP Backdoors {placeholder Post]

SAP Fiori Launchpad Activation via Task List (STC01)

SAP SWPM Software Provision Manager SL Toolset 1.0 SP22 Startup Options