\[quote\] Possible Duplicate:
mysql_fetch_array() expects parameter 1 to be resource, boolean given in select
Warning: mysql_fetch_* expects parameter 1 to be resource, boolean given error \[/quote\]ok so i've looked all over the place and cant find a solution that helps my case. I hope someone can help?basically i have this, and recieve "Warning: sqlite_query() expects parameter 1 to be resource, string given" relating to $dbresult line - so a problem with the query \[code\]function Up(){ $dbquery = "DELETE FROM toolList WHERE toolId='".$data['toolId']."'"; $dbresult = sqlite_query($dbhandle, $dbquery); }foreach($result as $data){ print '< a href="'.Up().'">DELETE!< /a>'; }\[/code\]Any advice would be really appreciated Thanks
mysql_fetch_array() expects parameter 1 to be resource, boolean given in select
Warning: mysql_fetch_* expects parameter 1 to be resource, boolean given error \[/quote\]ok so i've looked all over the place and cant find a solution that helps my case. I hope someone can help?basically i have this, and recieve "Warning: sqlite_query() expects parameter 1 to be resource, string given" relating to $dbresult line - so a problem with the query \[code\]function Up(){ $dbquery = "DELETE FROM toolList WHERE toolId='".$data['toolId']."'"; $dbresult = sqlite_query($dbhandle, $dbquery); }foreach($result as $data){ print '< a href="'.Up().'">DELETE!< /a>'; }\[/code\]Any advice would be really appreciated Thanks