Is it possible to link two bases, possibly using the where clause?

I wanted to create comments for samopinnymi news, but when I wrote

  $resulc =mysql_query("select * from ` comment` where `new_id` ='"$result['id']"' order by dask"); 

Only the latest news is displayed, but there are no comments at all.
Using echo $result; tried, and output using while fetch_array .

  • read about join. or give the structure of the tables - Novitskiy Denis

1 answer 1

I join the previous commentator, or you just have an error in the request right here: comment extra space.