Re: [PHP] compare arrays problem

2001-02-19 Thread Richard Lynch
> $pages=mysql_query("SELECT CP.page_id, pagename FROM cluster_pagetbl as CP, > pagetbl WHERE > CP.cluster_id = '$id' AND CP.page_id=pagetbl.page_id order by page_id"); > > /* > SQL Result for $id=1: > page_id pagename > 1 breakingnews > 3 weather > */ > > if (mysql_Numrows($pages)>0) { > >

[PHP] compare arrays problem

2001-02-17 Thread Onaje Johnston
I am hoping that someone really understands arrays reads this and can tell me why the following isn't working as I expect it to. I've been trying for days to get it to work. $pages=mysql_query("SELECT CP.page_id, pagename FROM cluster_pagetbl as CP, pagetbl WHERE CP.cluster_id = '$id' AND CP.pa