Je moet ingelogd zijn om te stemmen.
$query = "SELECT * FROM `tbl_feed_items` WHERE `id`='1'"; $execute = mysql_query($query); while($item = mysql_fetch_object($execute)){ echo $item->id; }
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\new\lib\body.php on line 41
$query = "SELECT * FROM `tbl_feed_items` WHERE `id`= 1"; $execute = mysql_query($query); while($item = mysql_fetch_object($execute)){ echo $item->id; }
No database selected