Search:

Type: Posts; User: matthewmjscott; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    28
    Views
    8,463

    Oh wait, fixed this problem myself. $this_page...

    Oh wait, fixed this problem myself.
    $this_page should be
    $current_page

    Thanks again!
  2. Replies
    28
    Views
    8,463

    Oh my god thank you so much... you are totally...

    Oh my god thank you so much... you are totally awesome... thanks for helping me out when other people have turned me away!

    This truly is the best coding forum in the world - I will be recommending...
  3. Replies
    28
    Views
    8,463

    I hate PHP too, it's frustrating... anyway,...

    I hate PHP too, it's frustrating...

    anyway, I'm now getting an error on line 97, which is this:


    static function get_current() {

    It's a static variable, which is what seems to be causing...
  4. Replies
    28
    Views
    8,463

    Sorry to be a huge pain but I am still getting...

    Sorry to be a huge pain but I am still getting the following error:



    Line 95:


    static $instances = array();

    There is no PHP code in there whatsoever apart from what I have used from...
  5. Replies
    6
    Views
    8,581

    Wow, domagoj.barisic, I love it! Well done!

    Wow, domagoj.barisic, I love it! Well done!
  6. Replies
    28
    Views
    8,463

    Yeah. There's no missing curly braces, I think...

    Yeah. There's no missing curly braces, I think it's because I don't have PHP5. Thanks for your help anyway, I will recommend DD to my friends :D
  7. Replies
    28
    Views
    8,463

    Thanks Twey, but using that I get the following...

    Thanks Twey, but using that I get the following error message:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in...
  8. Replies
    28
    Views
    8,463

    This is my array... doesn't appear to be working...

    This is my array... doesn't appear to be working though:


    <?php

    define('SITE_URL', 'http://localhost/');

    // array(page_title => page_url)

    $pages = array('Home' => SITE_URL,
  9. Replies
    13
    Views
    3,139

    I'll be getting an iPod Touch as soon as they...

    I'll be getting an iPod Touch as soon as they reach the UK.

    I'll also be a Mac convert by the end of the year ;)
  10. Replies
    28
    Views
    8,463

    I found this Smarty-related PHP code which if...

    I found this Smarty-related PHP code which if re-written might help the other code posted by boogyman:


    define('SITE_URL' = 'http://localhost/');

    $smarty->assign('current_section',...
  11. Replies
    28
    Views
    8,463

    Is there some other code required to make that...

    Is there some other code required to make that work?
  12. Replies
    28
    Views
    8,463

    Thanks Boogyman!

    Thanks Boogyman!
  13. Replies
    28
    Views
    8,463

    Is there any non-Smarty alternative to this code?

    Is there any non-Smarty alternative to this code?
Results 1 to 13 of 14