Learning php and other coding is as simple as reading a book. Sadly, lots of people these days would rather drink from a toilet than to even see a book.
That's how my site is where it's at now. I got a big book of php, SQL, and JavaScript/Ajax.
I know my apprehensions might never be allayed. And so I close, realizing that perhaps the ending has not yet been written...