You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Markdown class is in the Michelf namespace. So you have to write the namespace too when accessing the class by writing \Michelf\Markdown. Alternatively, you can create an alias with the use keyword to avoid having to write the namespace part all the time. For reference: http://php.net/manual/en/language.namespaces.php
I'm using php-markdown via
require_once
mode.At the top of my
index.php
I haverequire_once 'Michelf/Markdown.inc.php';
. I checked the directory and file and they're all thereI try to call something as simple as:
and it says
What's going on?
The text was updated successfully, but these errors were encountered: