> $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) {
>
>
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
2 matches
Mail list logo