Made code location more explicit
This commit is contained in:
parent
0430b7d94c
commit
4169afd542
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ This will send the response data to the browser. If you don't do this, nothing h
|
||||||
|
|
||||||
The second parameter of `header()` is false because otherwise existing headers will be overwritten.
|
The second parameter of `header()` is false because otherwise existing headers will be overwritten.
|
||||||
|
|
||||||
Right now it is just sending an empty response back to the browser with the status code `200`; to change that, add the following code between the code snippets from above:
|
Right now it is just sending an empty response back to the browser with the status code `200`; to change that, add the following code between the code snippets from above (just on top of the `foreach` statement):
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$content = '<h1>Hello World</h1>';
|
$content = '<h1>Hello World</h1>';
|
||||||
|
|
Loading…
Reference in a new issue