[PHP] some hyper links

2001-09-19 Thread Adrian D'Costa
Hi, I have two table: policies: id == auto increment, primary key policy topics id == auto increment, primary key topic polid == linked from policies In the policies table I have 72 records in the topics 325. What I am trying to do is to display all the 72 record for the policies

Re: [PHP] some hyper links

2001-09-19 Thread slavko dervisevic
Hello Adrian, no short and simple solution select * from policies while(policies){ select count(*) from topics if(records) echo link else echo nolink } Wednesday, September 19, 2001, 12:11:05 PM, you wrote: ADC Hi, ADC I have two table: ADC policies: id == auto increment, primary