#18 PHP Ecommerce website development | Password hashing | MVC OOP - Quick programming

preview_player
Показать описание
Learn how to code your own ecommerce website in PHP. This tutorial series will also include the admin area, login and signup pages. the payment system integration may not be included

Your Support will be most appreciated on patreon:

Templates url:

Templates Zip:

Entire playlist:

#PHP #Ecommerce #OOP #MVC
Рекомендации по теме
Комментарии
Автор

So glad you found the email duplication problem and sorted it! I couldn't get past the signing in page - thank you!

Lev
Автор

I mistakenly put password2 in the "Insert" statement. It works fine now. Thank you

NewsThatsUsed
Автор

nice work man, what if i want to use ajax to check for wrong login information, how can i do it ?

mohammedattar
Автор

PHP signup form errors show on page load instead of after form submission. $_SERVER["REQUEST_METHOD"] == "POST" returns "POST", but validation still runs. How do I fix this?

sporteditforyou
Автор

we could also use just "if($check)" instead of "if(is_array($check))", it makes it simple and doesn't pass the empty array

arshwy
Автор

I cannot write to the database, and hope you can help me with it.
Warning: PDOStatement::execute(): SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in app/core/database.php on line 52
and this is my write statement
//write to database
public function write($query, $data = array())
{
$stmt = self::$con->prepare($query);
$result = $stmt->execute($data);

if($result)
{
return true;
}

return false;
}
thank you in advance

NewsThatsUsed
visit shbcf.ru