Jump to content

Annoying Notice!


crazylegseddie

Recommended Posts

My site was currently running on a PHP 4.0 but server forced me to upgrade to 5.0 suit another site. Now when I go to update my shopping cart I receive the following msg:

 

Notice: Array to string conversion in /var/www/virtual/whitedisc.com/library/config.php on line 51

Unknown column 'A' in 'where clause'

 

and below is the following script snippet.

 

 if (!get_magic_quotes_gpc()) {
if (isset($_POST)) {
	foreach ($_POST as $key => $value) {
		$_POST[$key] =  trim(addslashes($value));
	}
}

 

I created this site a long time ago and havent used PHP since so am really lost with this one?

 

Can someone help me please.

 

Thank You

Link to comment
https://forums.phpfreaks.com/topic/43570-annoying-notice/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.