Hello everyone,
First of all , I'm a new member here (and I'm sorry for my bad English 🙂 )
I wanna share my 2 "LITTLE" problems with you;
THE FIRST : I know how to build a condition that checks if a value is equal exactly to another value (or exactly not) but , what's about value thats includes other value? how does that's condition look like ?
2.I have a mysql table that has (for example) these fields;
id, ask1, if1, ask2.
let's say it has one row with these values:
'1', 'hello, mello, hey, hi' , 'AND' , 'you';
(Which means that id='1' , ask1=''hello, mello, hey, hi' , if1='AND' ....)
I wanna write a little function that takes those values from the table and build from it a new conditional clause and after that ask it itself.
for example, with those values the output-condition should look like that :
IF (($massage <includes one of> $mysql['ask1']) AND ($massage <includes> you)){
something();
}
Thanks anyone!