little semicolon π ;
thank you!
But if I try this:
$query3= "GRANT SELECT, INSERT, UPDATE, DELETE "
."ON table1, table2, table3, table4, table5 "
."TO ".$arVals['login']." IDENTIFIED BY ".$arVals['haslo1']."";
I have a syntax error: Invalid query: Something is wrong in your syntax obok ' table2, table3, table4 , table5 TO user1 IDENTIFIED BY 'pass1' w line 1
However if I try this:
$query3= "GRANT SELECT, INSERT, UPDATE, DELETE "
."ON table1"
."TO ".$arVals['login']." IDENTIFIED BY ".$arVals['haslo1']."";
This is works, so I don't know why the first statement doesn't work.
Any advices?
Regards