PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Are these both in the same script? If so, you should put the second query into the same loop.You can then just use the $row array to hold your elements. Also,I dont see where $box/$box_url are being declared.
as per my understanding you need once the drop down ist get loded same time the your "box_url" filed get inserted by "url" filed ofsource table and "box" with "name" respactively.