xyn Posted November 21, 2006 Share Posted November 21, 2006 Hey, I'm not sure what to do about this error:Warning: join() [function.join]: Bad arguments. in /home/zroxxco/public_html/habbix/inc/functions.php on line 95My code:function deletepost(){ $deleteList = join (',' , $_POST['del']); <Line 95 mysql_query ("DELETE FROM requests WHERE id IN ($deleteList)" ); include("topb.php"); echo ("You have deleted the selected requests."); include("btm.php"); } Link to comment https://forums.phpfreaks.com/topic/27988-warning-join-functionjoin-bad-arguments/ Share on other sites More sharing options...
esukf Posted November 21, 2006 Share Posted November 21, 2006 join -- Alias of implode()http://www.php.net/manual/en/function.implode.phpThe second argument need to be an array but you are passing $_POST['del'] Link to comment https://forums.phpfreaks.com/topic/27988-warning-join-functionjoin-bad-arguments/#findComment-128028 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.