stitchwort — 2014-02-02T17:00:59-05:00 — #1
I've just started Kevin Yank's book PHP & MySQL 5th edition. I've installed MAMP correctly on a Mac. I wrote the script today.php as in the book, saved it to htdocs, called it up at localhost on a browser… and got an empty page. It should work, but it doesn't. The book's only suggestion is to visit these forums, so here I am.
stitchwort — 2014-02-03T05:03:42-05:00 — #2
I checked the file again and saw I'd put a closing bracket in the wrong place. So it was a syntax error. I fixed that and the script now runs.
fretburner — 2014-02-03T05:19:08-05:00 — #3
Hi Stitchwort, welcome to the forums!
I don't have access to the book, so it's difficult to help you without seeing the code. Could you possibly post the script here or, if it's too long, put it in a gist and link to it?
pullo — 2014-02-03T05:30:57-05:00 — #4
Stitchwort's second post got help up in the moderation queue.
Seem's like the problem is solved