Comment output

Hi there,

I'm currently using

`



<?php $description = printImageDesc(true); if ($description == "") {echo "No description";} else {echo $description;} ?>`

Yet the output (for a image with a description) is:

'By Nicholas Terry.No description'

Any ideas as to what I'm doing wrong?

Comments

  • You need to use getImageDesc() rather than printImageDesc()
Sign In or Register to comment.