![]() |
Proper syntax
I am trying to do an insert in database only if all conditions are met. But the below is inserting no matter what. What is wrong in there?
Thanks. PHP Code:
|
If it is inserting then all your conditions ARE being met.. :p
I'm thinking you probably want to replace those ors with ands? That would ensure all the fields have been filled out, and type is equal to "rate". |
OK I will try "AND" because conditions were not met.
|
Quote:
|
All times are GMT. The time now is 02:40 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|