This is my code:
<?php
include('admin/connect.php');
$applink = $_GET['app'];
$fetchapps = mysql_fetch_array('SELECT * FROM apps WHERE link = "$applink"');
$title = $fetchapps['title'];
?>
And i receive this error:
Warning: mysql_fetch_array() expects parameter 1 to be resource, string given in /home/trupu8o/public_html/apps.php on line 4
How i can solve this problem ?