while ($news_id = $result->fetch_assoc()) {
$get_news = "select * from content
where Page_ID = '{$news_id['Page_ID']}'";
$news_result = $handle->query($get_news);
if($news_result->$num_rows()){
Im trying to connect to the database and make a query in a slightly different way that im used to. But im getting an error message i have never got before:
Fatal error: Method name must be a string in C:\wamp\www\EasyDesign\index.php on line 16
The php above is where the error is. Can anyone help?