
Christopher Mitchell
336 PointsWhen 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" ?
1 Answer

Amy Kelly
3,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 :)
Michael Cockrell
Pro Student 542 PointsMichael Cockrell
Pro Student 542 Pointsor just read the 5000 other questions asking the same thing that give the exact same answer.