How to create a blog PHP and MySQL database #11 | User registration

preview_player
Показать описание
In this video, we start implementing user registration for our blog application. We are going to put to use our reusable database function to create our user in the database. After creating the user, we'll use the selectOne function to fetch back that user so that we can log them in immediately in the next episode.

Рекомендации по теме
Комментарии
Автор

good morning sir. I am having issues with the submitting my information to the database

kumashilton
Автор

Hi Awa, absolutely love your videos! I followed your series on implementing the email verification registration/login first. Now combining it with this series is a bit tricky since some of the file names are different. I'm stuck at the point where you added the admin value as 0, (at 9:30 in the tutorial). I've tried adding it to the authController.php in the email series but it keeps saying Notice: Undefined index: admin on line 38. I've tried everything I can think of but still unable to get it to work. Can you please please help? I would appreciate that so much.

WatIsbiz
Автор

I want to know how you changed the for view to to the array syntax on browser

paularyeetey
Автор

Hey Mel! Some advice if u can, please...How would you go about creating a website which can have only one admin (admin has create/edit/delete content permissions)? Example: a landing page which has a "blog" part, in this blog, only the owner of the landing page's business can post stuff. What im interested in is the admin part. Millions of questions, but ill just ask u this...should i hardcode owners login data (doesnt sound good, imagine he wants to change password or username, he would have to ask me)? If registration is for the public, who decides which users can be admin?.
Thank you, even if u don't answer haha

emiliop
Автор

Hello please I need your help, the registration, and login works perfectly on my localhost it creates and redirects to the destination page, but on my online server its creates but it does not redirect as well as my login it will show "login successful" at the top of my login form and doesn't redirect. the php version on my localhost and online servers is 7.2 so what could cause it not to redirect on my online server. Please i need your assistance. Thank you

GGuru-Official
Автор

What if the login and sign-up forms are pop-up?
Please how will I do the form action?
Thanks.

syrinebeats
Автор

after i refresh everythg goes it just shows me conection successful the created at doesnt show or ant other data

latojr
Автор

I have being trying to download the complete Source but my country Nigeria’s card is not working, please reply to comment immediately

tourmygallery
Автор

What should i do? its the same as your code plss

ayushbinjola
Автор

Pls the password hash it showing index password error on the browser, I need your help

salvationegoh
Автор

I've been looking over my code, and can't find the solution to my problem. I am able to create a user. The id is always 0. When I try to create another user, I am not able to do so. If I delete, the current user, I can then create another user. Only after I delete the user from the MySQL database, can I add another. Any help is appreciated.

jaken
Автор

User registration, then user log in, then hopefully comment system with the registered users? *-*

nightbeforeflourist
Автор

Fatal error: Uncaught Error: Undefined constant "ROOT_PATH" in Stack trace: #0 {main} thrown in on line 2
Hi, I need to help.

nguyenang
Автор

hey melvine im getting an fatal error in bind_param in db.php can you please help me..

anantsingh
Автор

pls tellme how to contact you i really need your help

latojr
Автор

Pls away the password harsh display encrypted password on the browser, but show ing an error msg that undefined index: password. Thank I am waiting for your response.

salvationegoh
Автор

Bro, can we send username into the database in other language then english.
Like I want to send it in urdu.

WaqasKhan-nqww
Автор

im steel having a problem with bind_param any help???

byassine
Автор

can u help me i got an error with bind_param, i try to create new database and all, I'm using my own HTML and implement you database into my HTML. please

anisarip
Автор

hello awa please i need your help, i have a problem just when i have added the two lines {$user_id = create('users', $_POST);} and {$user = selectOne('users', ['id' => $user_id]);}
please help me i have a project in faculty

SalmaSalma-zejr
join shbcf.ru