programação-dinâmica

How do I display a message If record found and if not found?

I have the following routine in php: or die ("Não foi possível realizar a consulta ao banco de dados"); while($rowfoto2 = mysql_fetch_array($ridfoto2)) { How do I display a message If record found and if not found? Thank You Very Much!

Working with array with X layers in JS

I am having a big problem, I have searched in several places and I did not find the solution I hope you can help me... My goa ... ut I can't finish it because of this damn doubt. Code I've already developed http://jsfiddle.net/mateusfmello/mja8ffs2/7 /