Page 1 of 1

This seems no work...is it supported or deprecated?

PostPosted: 20. March 2011 18:08
by lse123
This seems no work
next($this->Orders);
is it supported or deprecated?
I installed at 06Feb2011 newest win ver of XAMPP...

Code: Select all
foreach($this->Orders as $Order) {
$SQLstring = "SELECT * FROM ". $this->OrderTable[key($this->Orders)]." WHERE productID='".key($this->Orders)."';";
echo $SQLstring. "<br />";
$QueryResult = @mysqli_query($this->DBConnect, $SQLstring) or die("<p>Unable to perform the query1.</p>"."<p>Error code ".mysqli_errno($this->DBConnect).":".mysqli_error($this->DBConnect))."</p>";
$Row=mysqli_fetch_row($QueryResult);

echo "<tr><td>{$Row[1]}</td>";
echo "<td aligh='center'>$Order </td>";
printf("<td aligh='center'>$%.2f</td></tr>",$Row[3]);
            
$Total += $Row[3]*$Order;
            
[b]next($this->Orders);[/b]
} // end for each


consider to reply and this unrelated post please:

viewtopic.php?f=16&t=44781

Re: This seems no work...is it supported or deprecated?

PostPosted: 22. March 2011 10:16
by DC80
Check your error log from apache. I have a similar problem. If it is deprecated then it should be there.

You can find the error log at: [installation folder/drive:] xampp / apache / logs / error.log