Hello All,
If there is no data to return from the MySQL db I want to be able to return a var, noRecords, from my select.php page. Can anyone help?
- $.getJSON("select.php", function(data) {
- $.each(data, function(i, row){
- $.each(row, function(i, value){
- });
- $('.main').append(
- 'html ouput'
- });
- });
Thank you very much everyone! ;)