vendredi 14 juillet 2017

php concatenate if condition array line

I have a line in php like this:

if ($line[3]<=12)

And now I need to add new condition while keeping the old one. Something like this, but is not working:

if ($line[3]<=12|$line[10]<1)

Could you please help? Thank you so much!

Aucun commentaire:

Enregistrer un commentaire