<?php $var = '0'; echo "<h1>trim() en vergelijking</h1>"; if(trim($var) =="") { echo "Leeg"; } else { echo "Gevuld!"; } echo "<h1>empty()</h1>"; if(empty($var)) { echo "Leeg"; } else { echo "Gevuld!"; } ?>
You have javascript disabled. You will not be able to edit any code.