firekiller15
asked on
Why i received error message:Warning: implode() [function.implode]: Invalid arguments passed in C:\wamp\www\test.php on line 489
PHP
Why i received error message:Warning: implode() [function.implode]: Invalid arguments passed in C:\wamp\www\test.php on line 489
i have this code
if my select output is empty would it display this message?
Why i received error message:Warning: implode() [function.implode]: Invalid arguments passed in C:\wamp\www\test.php on line 489
i have this code
if my select output is empty would it display this message?
function getStock()
{
$query =mysql_query("SELECT MAX(TEST1.DAILYSTOCK.STOCKREFILLDATE) AS STOCKREFILLDATE, TEST1.DAILYSTOCK.BARCODE
FROM TEST1.DAILYSTOCK JOIN TEST2.ITEM ON TEST1.DAILYSTOCK.ITEMID = TEST2.ITEM.ITEMID
WHERE TEST2.ITEM.SUPPLIERID = "15466654"
GROUP BY TEST1.DAILYSTOCK.BARCODE");
while($row = mysql_fetch_array($result))
{
$this->GetstockReturn[$i] = array($row['STOCKREFILLDATE'],$row['TEST1.DAILYSTOCK.BARCODE']);
$i++;
}
}
function readgetstock()
{
foreach( $this->GetstockReturn as $stock)
{
$this->arrayreadgetstock_value[] .= implode("|", $stock);
}
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.