Problem with PHP7 MySQL syntax highlight
-
Hi there,
I’m using N++ latest version for editing PHP7 files. My problem is with the PHP7 MySQL command’s syntax as those commands are not highlighted. For example:
- mysql_connect
- mysql_query
- mysql_close etc.
these commands are highlighted, but the new PHP7 commands, e.g.:
- mysqli_connect
- mysqli_query
- mysqli_close etc.
these commands are not highlighted.
If possible, how can I switch the syntax highlight on for these commands (and others), too?
Thanks for your help.
Regards,
Attila -
Hi there,
Something has been missed…
It would be also a good solution if I could import a PHP syntax highlight definition into N++ (then I’d append the PHP7 MySQL commands I’d use) but unfortunately I hadn’t found any XML file (UDL) to do that.
Thanks.
-
Hello @Koppány-Attila,
Settings->Style Configurator->Language->php
here you can customize the highlighting and if you click on word in Style two new boxes appear
default keywords and user-defined keywords.
Here ou can add your mysqli … words.Cheers
Claudia -
Hi Claudia,
that’s just what I need! Thanks for your help, now it’s done and perfect!
Have a nice day / evening!Attila
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login