When I run a php block in the console, it doesn't show the output
How can I get the console to show the output after typing "php <file name>.php" ?
Amy Kelly3,588 Points
- First make sure that the document is saved (if it is not saved it will have a red dot by the file name at the top)
- Save it by clicking ctrl s or by going to file then save.
- Then go into the console and type php <file name>.php and enter. The amount of times I have gone to run the code but it doesn't appear as I haven't saved the file :)