I need a PHP expression to validate a field value against a list predefined in mysql database
So that anything different from that in the database will not be submitted to the database.
Looking forward to your assistance.
Recommended Answers
Jump to PostPlease let me know how the table is set up so that I can help out with the code.
Is the list in different rows in a table?
Is the list in the same record?
Are the elements in comma separated values?Such questions need to be answered …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.