Good afternoon.
I’m already two days fighting with this script.
but he continues with this error.
Anyone have an idea what goes wrong?
this is the script.
[php]<?php
require_once(’_data/db.php’);
global $hostname_cms, $database_cms, $username_cms, $password_cms, $cms;
mysql_select_db($database_cms, $cms);
$query_bestelling = "SELECT * FROM bestelling WHERE idbedrijf='2593at142' ORDER BY prijs";
$bestelling = mysql_query($query_bestelling, $cms) or die(mysql_error());
$row_bestelling = mysql_fetch_assoc($bestelling);
$totalRows_bestelling = mysql_num_rows($bestelling);
$groups = Array();
while($w = mysql_fetch_assoc($query_bestelling)) {
if(!isset($groups[$w['tafel']])) $groups[$w['tafel']] = Array();
$groups[$w['tafel']][] = $w;
}
foreach($groups as $group_name => $sections) {
echo " <div id="".$row_bestelling[‘tafel’]."" class=“popup_block”>\n";
echo " <table width=“100%” border=“0” cellspacing=“2” cellpadding=“2”>\n";
foreach($sections as $section) {
echo "
}
echo " \n";
echo " \n";
}
echo " <a href="#?w=700" rel="".$row_bestelling[‘tafel’]."" class=“poplight”>\n";
echo " <div class=“myButton”.$row_bestelling[‘order’]."">\n";
echo " <table width=“170” height=“170” border=“0” cellspacing=“2” cellpadding=“2”>\n";
echo "
echo " <td align=“center” valign=“middle”>".$row_bestelling[‘tafel’]."\n";
echo "
echo " \n";
echo " \n";
echo " \n";
mysql_free_result($bestelling);
?>[/php]