Hi all ,
I have the following problem :
$some_query = mysql_query(
"SELECT table1.id, table1.category , table1.author, table1.title,
table2.title, table2.category FROM table1, table2
WHERE table1.category = table2.category ORDER by table1.id DESC");
while($record = mysql_fetch_arr ay($some_query) )
{
$mycategory = ($record['table1.categor y']);
$mytitle = ($record['table2.title']);
echo"$mycategor y";
echo"$mytitle";
}
Does someone know what's wrong here ?
echo don't show the requested values ....
thanks !
I have the following problem :
$some_query = mysql_query(
"SELECT table1.id, table1.category , table1.author, table1.title,
table2.title, table2.category FROM table1, table2
WHERE table1.category = table2.category ORDER by table1.id DESC");
while($record = mysql_fetch_arr ay($some_query) )
{
$mycategory = ($record['table1.categor y']);
$mytitle = ($record['table2.title']);
echo"$mycategor y";
echo"$mytitle";
}
Does someone know what's wrong here ?
echo don't show the requested values ....
thanks !
Comment