# \[php\] comparation with database

**URL:** <https://forum.kirupa.com/t/php-comparation-with-database/193115>\
**Category:** programming\
**Created:** [July 4, 2006, 2:01pm UTC](https://forum.kirupa.com/t/php-comparation-with-database/193115 "2006-07-04T14:01:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alapimba](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@alapimba](https://forum.kirupa.com/u/alapimba)\
**Post date:** [July 4, 2006, 2:01pm UTC](https://forum.kirupa.com/t/php-comparation-with-database/193115/1 "2006-07-04T14:01:30Z")

</div>

Hello  
can anyone giveme a help here?  
i have this

```php
<?php if (!(strcmp($row_rs_autores['pdfs'],""))) {echo '<a href=' + $row_rs_autores['pdfs'] + '>Primeiras p&aacute;ginas</a>'; } ?>

```

What ihave to change to the comparation print the echo only when the row\_rs\_autores is empty? In this case he prints if its empty, i want it to print it’s its not empty\*\*[SIZE=2][COLOR=#ff0000]  
\*\*[/COLOR][/SIZE]
