unexpected 'use' (T_USE)
Content
Hi! I'm trying execute a php code in CP, but, the following error appear: "Parse error: syntax error, unexpected 'use' (T_USE) in /cgi-bin/mySite.cfg/scripts/cp/customer/development/views/pages/account/detalhe.php"
How can I know the version RNCPHP I need use?
The code is a very simple exemple, just to show the error.
Version
17DCode Snippet
<?php use RightNow\Connect\v1_4 as RNCPHP; $res = RNCPHP\ROQL::query( "SELECT * FROM Contact WHERE Contact.Login = 'abcdef'"); if ($res != null){ echo "Done"; } ?>
0