Closed Dave-robinson closed 10 years ago
I worked out where i had gone wrong. As i suspected with pretty much all of my problems it was syntactical ! I was missing the " } " curly bracket thing from :
<option value="0" <?php if (isset($_GET['id'])) { selected('0', $opened['status'], 'selected'); } ?>>Inactive</option>
<option value="1" <?php if (isset($_GET['id'])) { selected('1', $opened['status'], 'selected'); } ?>>Active</option>
Any help would be appreciated. I've been following the YouTube video's and they are amazing ...
I am up to number 55 - creating a user management page and everything else works but when i click users in the admin menu the page only displays till the end of the navigation - no further.
I'm running WAMP and in in Apache log it says: PHP Parse error: syntax error, unexpected end of file in C:\wamp\www\AtomCMS\admin\views\users.php on line 72.
This is my users.php page:
----------------------------------------------------------End -------------------------------------------
I'm afraid i seem to be a slow learner at this but any help would be brilliant. Thanks for your time.