php – How to set a min number of words for a blog post
Question
Just want to say I am beginner I can’t write code to well, but I can read it. I run a website were people can post things. When users go to submit a post they can choose to write it on the websites text editor or they can upload a pdf or a docx file. I want to enforce a 500 word MINIMUM on all articles. Now the problem.
- first I need to be able to require that all authors write a minimum of 500 words, before a post can be accepted.
- The second problem is that I need to enforce the word minimum for uploaded files too.
0
11 months
2021-09-16T17:07:50-05:00
2021-09-16T17:07:50-05:00 0 Answers
0 views
0
Leave an answer