vendredi 19 août 2016

php if else multiple lines shorthand

I would like to execute two functions after if:

while($row = mysql_fetch_assoc($result)) (strtolower($message) == $row['question']) ? msg($row['answer']) && update($row['question']) : '';

but this not working, please help.

Aucun commentaire:

Enregistrer un commentaire