I'm trying to print some data (C) only when data (A) and data (B) are'nt there (because the user wouldn't had written in the CMS) :
Code: Select all
<?php
$dataA = get_meta('dataA'); //get_meta is one of the CMS functions
$dataB = get_meta('dataB'); //idem here
if ( empty( $dataA) AND empty( $dataB) ) { echo dataC(); }
?>Thanks for any input