Hi, this is obviously a bug in phpmyadmin.
When i change:
UPDATE `arma_user1_xml` SET `squadNick` = 'Squad Nick 1' WHERE `id` =1 LIMIT 1 ;
to php code in phpmyadmin:
SQL-query:
$sql = 'UPDATE `arma_user1_xml` SET `squadNick` = ''Squad Nick 1'' WHERE `id` = 1 LIMIT 1';
I get:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in C:xampplitehtdocsinsert.php on line 37
I tried fix this by adding “” instead of ‘’ from the start of UPDATE to the end of LIMIT 1:
SQL-query:
$sql = "UPDATE `arma_user1_xml` SET `squadNick` = ''Squad Nick 1'' WHERE `id` = 1 LIMIT 1";
Errors goes away, but doesn’t update the database, is the syntax reading propaly?
Thanks v. much in advance