Jump to content

[SOLVED] Unsuported operand types?


DEVILofDARKNESS

Recommended Posts

I get the error Unsupported operand types?!

How can I solve this?

 

(the error said it was on the last line from the foll. code)

 

			$query = "SELECT ammount FROM " . $CoRTable . " WHERE (weapon_id = '$weaponid') AND (" . $CoRIdName . " = '$CoRId')";
			$result = mysql_query($query);
			if(mysql_num_rows($result) == 1){
				$curramm = mysql_fetch_row($result);
				$ammount = $_POST['ammount'] + $curramm;

Link to comment
https://forums.phpfreaks.com/topic/169961-solved-unsuported-operand-types/
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.