Fatal error: Uncaught [42000] - SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@list.ru' at line 1 trace: #0 D:\or\config\rb.php(1111): RedBeanPHP\Driver\RPDO->runQuery('UPDATE user SET...', Array) #1 D:\or\config\rb.php(4154): RedBeanPHP\Driver\RPDO->Execute('UPDATE user SET...', Array) #2 D:\or\config\rb.php(10645): RedBeanPHP\Adapter\DBAdapter->exec('UPDATE user SET...', Array) #3 D:\or\config\rb.php(11526): RedBeanPHP\Facade::query('exec', 'UPDATE user SET...', Array) #4 D:\or\pages\set.php(88): RedBeanPHP\Facade::exec('UPDATE user SET...') #5 D:\or\index.php(51): include('D:\\or\\pa...') #6 {main} thrown in D:\or\config\rb.php on line 768 ошибка при попытке вывести Id имея email
R::exec( 'UPDATE user SET numbers = '.$if.' WHERE email='.$_SESSION['_SSA'].'' );