How to Create a Blog PHP & MySQL database #28 | fix validation issues

preview_player
Показать описание
In this episode, we fix the unique record validation issue during an update attempt.

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

hello Bro! is longtimes you published this video, but is the first time for me to have a look on it, my question is " if someone doesn't want to change the picture, he wants the to let the same picture how will it be", because all the times you are editing the post you are changing also the picture, thank you, you're doing a good job

lohatajean
Автор

Thanks for this awesome series, Awa!

I noticed that if you try to edit something (e.g. a post) to the same title as a different post, you will receive the error as intended, but then afterwards you will not be able to edit that post again. I fixed this by changing the form action in the edit files to include the id of the element you are trying to update.

MulldyrAnton
Автор

Awa. thanks for the great tutorials you are amazing bro,

HK_Mashup
Автор

Thanks for this class, I found that when I click on update post without changing anything then it asks me to update image, and when i select any image then and click on update then it says post without changing anything this title already exists. Can you please try one time. Thanks

madhushrestha
Автор

Awa thanks a lot once again, I have missed you so much.

Bless you!

#AwaInspires indeed

urbaindesign
Автор

On the validateTopic function, I changed the variable $post to $topic because I was getting and error message that $post is undefined. It seems to work after changing this. Should I have changed that? It actually works both ways

jaken
Автор

Thanks, its been great all along. Please I don't know why the hover on my toggle menu, on index doesn't work unless I remove the slick slide. I have tried so many ways I still can't fix that. They work normal in full view, but once media queries at 770 is activated, only the Home link hover works, about, services, dont work. How do I go round this or is it normal? Thanks 🙏. You are doing great.

gandepuunlanshima
Автор

Please Awa i stock at tutorial No. #20 because of much errors. please what php version are you using please i really want to follow all your footstep. Hope to here from you. Thanks for your great tutorial.

victornzube
Автор

Thanks please can you do a video on how to create a forum website? I was given as a project in my university.

oriaburehopeeromhosele
Автор

Bro when I update a post, if I select the image first then click update it is successful. But if I don't choose an image and the image required error pops up, I still get the name already exists error. Do you know how to fix this?

WatIsbiz
Автор

Hello awa
thanks for the great tutorials it's all amazing,
Please after we finished with this season please also make a tutorial were you deploy it on heroku thank you

fredaya
Автор

Hello Awa....i didn't make any of these changes but my edit form is still working perfectly

mosesegboh
Автор

Hi! :)
How can I edit admin without editing the password? :/ (I do not want to edit the password every time)
I tried to do the same as you told for the email, but does not work :/

Thank you

arualbubble
Автор

Hi,
Thanks for your great and practical tutorials.
I wonder, if this tutorials are done, or if there will more videos to come.
Br,
I am Nyoman, from Bali, Indonesia

after