JavaScript disabled
While it will still mostly work, a lot of this site's functionality relies on JavaScript - please enable it for the best experience.
While it will still mostly work, a lot of this site's functionality relies on JavaScript - please enable it for the best experience.
Welcome to lynxphp! I’m Callum Macrae, administrator of lynxphp and a PHP developer. I’ve been around for a while, but I’ve never actually contributed anything to the developer community, so I thought I would start this website to share my knowledge (and to help myself learn new stuff)! I will attempt to provide useful information and tutorials about PHP, in addition to other generic web topics like server management and third-party scripts. I probably won’t be writing any articles about front end development (HTML, CSS, Javascript, etc.) because I much prefer backend development. (Sorry!)
There is one thing I will never teach anyone, and that is how to say “Hello World!”. For a start, I’m going to assume you know the very basics of PHP, and I also only give real-life examples.
Over the next week or so, I will be attempting to publish an article daily. Okay, that’s not quite as impressive as it sounds – I have loads already saved to drafts that I did while I was buying the domain! When I’ve run out of saved articles, I will hopefully be writing about one weekly.
Until next time!
~Callum
UPDATE: Okay, I may have strayed from this a little bit; the site is no longer exclusively about PHP (I'm not even a PHP developer any more). It's not even called lynxphp any more. Updates on this soon…
# This is an <h1> tag
## This an <h2> tag
###### This is an <h6> tag
Inline markup: _this text is italic_, **this is bold**, and `code()`.
[Link text](link URL "Optional title")
[Google](http://google.com/ "Google!")


1. Ordered list item 1
2. Ordered list item 2
* Unordered list item 1
* Unordered list item 2
* Item 2a
* Item 2b
And some code:
// Code is indented by one tab
echo 'Hello world!';
Horizontal rules are done using four or more hyphens:
----
> This is a blockquote
Inline markup: this text is italic, this is bold, and code().

And some code:
// Code is indented by one tab
echo 'Hello world!';
Horizontal rules are done using four or more hyphens:
This is a blockquote
Comments
Basic "Hello World!" PHP script, for those of you disappointed by Callum's lack thereof.
You're doing it wrong!
lib/mysite/controllers/HelloController.php:
index.php:
views/hello_world.php: