Firstly, open Notepad++. Then open a new document if a new one is not on the screen already. Then go to the languages menu option, go down to P, and select PHP. Then type in your PHP code. When you want to save it, press the save button near the top right hand corner, and choose a name.
That’s all. Pretty simple, eh?
Just note, other languages can be selected from the languages bar. If you select no languages, it would be default text, but that can be changed too, and after you save the file with a .php
extension, Notepad++ will automatically recognise the document as PHP, and render it accordingly.
P.S. If all that seems a smidgen complicated, you might want to read bretterer’s comment. It’s exactly what you should do.
Related Posts:
- How to set 777 permission on a particular folder? [closed]
- How to log in to phpMyAdmin with WAMP, what is the username and password?
- count() parameter must be an array or an object that implements countable in laravel
- regex match any whitespace
- PHP page redirect
- Mysql query- How to use contains?
- How do I resolve a HTTP 414 “Request URI too long” error?
- xajax expanding list query
- Data source name not found, and no default driver specified
- Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, object given in
- How do I redirect a page in jQuery?
- How to echo or print an array in PHP?
- Fatal error: Call to undefined function mysqli_connect()
- Resize image in PHP
- Illegal string offset Warning PHP
- What’s the purpose of ini_set() in php? (especially for error reporting)
- Send email with PHP from html form on submit with the same script
- Setting up a PHP interpreter in PhpStorm
- Forbidden :You don’t have permission to access /phpmyadmin on this server
- PHP: $_SERVER variables: $_SERVER[‘HTTP_HOST’] vs $_SERVER[‘SERVER_NAME’]
- Illegal string offset Warning PHP
- Fatal error: Call to undefined function mysqli_connect()
- Could not open input file: artisan
- How do I run a file on localhost?
- How to call a JavaScript function from PHP?
- Print array to a file
- I have a string with “\u00a0”, and I need to replace it with “” str_replace fails
- Finding the number of days between two dates
- MySqli Commands out of sync; you can’t run this command now
- Trying to get property of non-object in
- CURL ERROR: Recv failure: Connection reset by peer – PHP Curl
- Fix Access denied for user ‘root’@’localhost’ for phpMyAdmin
- Getting connection failed: php_network_getaddresses: getaddrinfo failed: Name or service not known
- “Cannot send session cache limiter – headers already sent”
- PHP mail not working for some reason
- Unable to locate package libapache2-mod-php7
- Get Root Directory Path of a PHP project
- Returning JSON from PHP to JavaScript?
- How to create cron job using PHP?
- Imploding an associative array in PHP
- How to find the date of a day of the week from a date using PHP?
- PHP multidimensional array search by value
- Trying to get property of non-object – Laravel 5
- nginx: connect() failed (111: Connection refused) while connecting to upstream – after update nginx –
- ‘xmlParseEntityRef: no name’ warnings while loading xml into a php file
- mysqli::query(): Couldn’t fetch mysqli
- Fatal error: Call to undefined function sqlsrv_connect()
- Convert a date format in PHP
- Get user role by ID WordPress
- How to fix syntax error, unexpected T_IF error in php?
- NotFoundHttpException in RouteCollection.php line 161: in laravel 5
- Easy way to password-protect php page
- How can I capture the result of var_dump to a string?
- Is Angularjs Clientside or Serverside or Both
- Laravel 5 Class ‘Collective\Html\HtmlServiceProvider’ not found on AWS
- MySQL query to get column names?
- Fatal error: Out of memory, but I do have plenty of memory (PHP)
- Changing permissions via chmod at runtime errors with “Operation not permitted”
- php – How do I fix this illegal offset type error
- Getting ’ instead of an apostrophe(‘) in PHP
- WooCommerce action hooks and overriding templates
- Convert timestamp to readable date/time PHP
- PHP sessions that have already been started
- Updating php version on mac
- Contact Form 7 – Custom Validation
- How to output JavaScript with PHP
- How to send a GET request from PHP?
- WRONGTYPE Operation against a key holding the wrong kind of value php
- Unzip a file with php
- What is the advantage of using try {} catch {} versus if {} else {}
- Difference between require, include, require_once and include_once?
- What does the PHP error message “Notice: Use of undefined constant” mean?
- select * from table where column = value ^ column2= value
- Check if URL has certain string with PHP
- Why I get “ERR_RESPONSE_HEADERS_TOO_BIG” on chrome?
- Subtracting days, months or years from date using php
- Object of class mysqli_result could not be converted to string
- How to write a link like which link to the same page in PHP?
- Download files from server php
- No query results for model [App\Products] Laravel
- Sending POST data without form
- Resetting MySQL Root Password with XAMPP on Localhost
- PHP array delete by value (not key)
- PHP mail: Multiple recipients?
- Having a problem getting mysqli_query to execute
- Returning JSON from a PHP Script
- How to force Laravel Project to use HTTPS for all routes?
- The difference between \n and
in php - PHP Multiple Checkbox Array
- Session variables not working php
- Get JSON object from URL
- How to push both value and key into PHP array
- Find the last element of an array while using a foreach loop in PHP
- Popup window in PHP?
- How can you use php in a javascript function
- How to bypass (deprecated) reCAPTCHA V1?
- Start and stop a timer PHP
- PHP variables don’t evaluate in the query [duplicate]
- Adding days to $Date in PHP
- 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 ””)’ at line 2