Hi I have two Mysql tables, one with the information in and another with payment information in. I want to echo the results that have paid first and then the rest of the results. If information has no payment associated with it it does not appear in the payment table. Does anyone have any suggestions for the best way to do this? I know it would be much easier to combine the two tables but I coildn't get that to work with PayPal IPN so have set it up this way instead. Any suggestions/examples would be greatly appreciated. Thanks
Try using join followed by an order by clause. You can add an extra flag bit column to indicate whether a customer has paid or not.