简体   繁体   中英

Why is it everytime i try too open up PHP script inside my HREF it kills my site and wont run anything after this?

Im trying to use the following code:

<a class="brand" href="<?php echo site_url('admin/dashboard'); ?>"><?php echo $meta_title; ?></a>

It loads an empty navbar but wont load anything under and there are no links. cheers.

I didn't understand your question. Give more details.

What is the result of the following?

<?php
    ini_set('display_errors', 1); 
    error_reporting(E_ALL);

    echo site_url('admin/dashboard');
    echo $meta_title;
?>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM