| |
|
Thursday 14 November 2002
|
|
The simple thrills of an Apache/PHP/SQL novice
I got a great thrill last night when I finally got my first bit of PHP coding to work as intended. I was working through a tutorial using BBEdit to produce my HTML and PHP and presumed I could use 'Preview With' on BBEdit's Markup menu like I do with my HTML files. I was becoming increasingly frustrated when my PHP wasn't working and all I was getting was either the raw code displayed or blanks in my HTML where PHP output should have been.
It took a very long time before I realised what was wrong: by using BBEdit's Preview facility I was getting a 'file' protocol showing in the browser's location bar rather than the 'http' which I needed. Once I changed this everything worked. When the penny dropped and the intended result was finally displayed I must admit that I literally cheered! As I say, simple thrills. More seriously, though, this one evening's work has been immensely educational. I am surprised at how reasonably straight-forward PHP is, and its so-neat in-and-out slotting with HTML is just amazing. I'm going to enjoy this, I can tell—though I'm sure there will be many further frustrations along the way when I come to adding in a touch of SQL too. Still, there are so many helpful sites out there that I should manage fine.
9:38:28 AM
|
|
|
|
© Copyright
2002
Jim MacCormaic
.
Last update:
14/11/2002; 09:38:49 am
. |
|
|
| November 2002 |
| Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
| |
|
|
|
|
1 |
2 |
| 3 |
4 |
5 |
6 |
7 |
8 |
9 |
| 10 |
11 |
12 |
13 |
14 |
15 |
16 |
| 17 |
18 |
19 |
20 |
21 |
22 |
23 |
| 24 |
25 |
26 |
27 |
28 |
29 |
30 |
| May Dec |
|
|