I am baffled. Why do I have this error with Windows Explorer and intermittently with another browser, but it seems to work without this warning most of the time with Mac FireFox? Should have nothing to do with the browser. The only browser connection to server side scripts that comes to mind is whether or not a session is destroyed.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource $query = "SELECT * FROM packages";
$result = mysql_query($query) or die('bird song: ' . mysql_error(). "<br>\
while ($row = mysql_fetch_array($result, MYSQL_ASSOC))
$price_ea = explode(",",$row['pricing_package']);
$id = $row['id_package'];
foreach ($price_ea as $value)
$pricing["$id"]["$j"] = $value;
if($j_max<$j) // $j_max is the max number of increments in pricing structure for any package
Sorry folks - turns out I was accessing two different scripts when testing the code from browser to browser. Accidentally put the wrong URL into one of the browsers, accessing the older version of the same script. False alarm.
Moderator - please remove this thread.
This topic is now closed. New replies are no longer allowed.