I have this mysql request:
mysql_query($query) or die(mysql_error());
It´s simple, but I want to change the mysql_error()
for this div:
<div class="ui-widget">
<div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
<strong>Error!</strong></p>
</div>
</div>