Hi,
I don’t know if it’s my fault but in my external library/menu02.html i use php with sc_lookup and i have this error :
- Fatal error: Uncaught Error: Call to undefined function sc_lookup()
this is my code in menu02.html. May be i have to include something.
<link rel="stylesheet" href="{SC_LIB_CURRENT}menu/css/menu02.css">
<link rel="stylesheet" href="{SC_LIB_CURRENT}libs/bootstrap/css/bootstrap.min.css">
<span class="glyphicon glyphicon-bell help-tip" aria-hidden="true">
<?php
//Get message from table
$check_sql = 'SELECT message FROM message';
sc_lookup(rs,$check_sql);
if (isset({rs[0][0]})) // Trouv?
{
$glo_msg = {rs[0][0]};
}
else // No row found
{
$glo_msg = 'Aucun message';
}
?>
{message}
any idea ?
thanks
Guy