Answer the question
In order to leave comments, you need to log in
Joomla directory. How to implement?
Here, in fact, the link - gpst-novoros.ru
How to implement that when you click on the menu item (on the left) "Textile slings", a drop-down menu opens at the same time and content is loaded on the right? By default, either a page or a drop-down menu is implemented. Is there a way to open it at the same time?
Answer the question
In order to leave comments, you need to log in
it all depends on how the accordion menu on the left is implemented.
For example nextendweb.com/accordion-menu solves all problems
You would do var_dump($stmt) and see what is mixing warm with soft
$sql = "UPDATE users SET ":
if($newPassword){
$sql .= "`password` = :newPassword, ";
}
$sql .= "`name` = :name,
`sec_name` = :sec_name,
`surname` = :surname,
`adress` = :adress,
`tel` = :tel
WHERE `email` = :email AND `password` = :password limit 1";
$salt = getSalt($email);
if (!$salt) {
return false;
}
$curPasswordMD5 = passwordHash($curPassword, $salt);
$stmt = $pdo -> prepare($sql);
$stmt->execute(
array( ":name" => $name,
":sec_name" => $sec_name,
":surname" => $surname,
":adress" => $adress,
":tel" => $tel,
":newPassword" => $newPassword['hash'],
":email" => $email,
":password" => $curPasswordMD5['hash'],
)
);
return $stmt;
} catch (Exception $e) {
exit($e->getMessage());
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question