There is a table, there is a request for output
$sqlpre = mysql_query("SELECT `like` FROM `base` WHERE `id` = 31"); $sqlpreone = $sqlpre + 1; But instead of assigning the value of the column like from an entry with id = 31 to the variable $sqlpre , it assigns an incomprehensible thing (it seems 5).
How to fix it? I need to make so that the variable $sqlpre assigned a value that is in the like column of an entry with id = 31, and after all this, the variable $sqlpreone assigned the value of the variable $sqlpre + 1