Hi folks it's me again more probs in parse error land
am getting an error message:
Parse error: parse error in output_fns.php on line 270
function display_order($orderId)
{
if(get_Order($orderId))
{
$o_detail=get_order($orderId);
if(is_array($o_detail))
(
//line 270 echo"<table>";
echo"<tr>";
echo"<td>orderId</td>";
echo"<td>".$o_detail["orderId"]."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>CustomerId</td>";
echo"<td>".$o_detail["cutomerId"]."</td>";
echo"</tr>";
if(get_customer($customerId))
{
$c_detail=get_customer(customerId);
if(is_array($c_detail))
{
echo"<tr>";
echo"<td>order total</td>";
echo"<td>".$o_detail["$amount"]."</td>";
echo"</tr>";
echo"<tr>";
echo"<td> placed on <td>";
echo"<td>".$o_detail["date"]."<td>";
echo"</tr>";
echo"<tr>";
echo"<td>Customer's Name</td>";
echo"<td>".$o_detail["ship_name"]."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>First Address line</td>";
echo"<tr>".$o_detail["ship_1st_add"]."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>Second Address line</td>";
echo"<td>".$o_detail["ship_2nd_add"]."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>City/Town</td>";
echo"<td>".$o_detail["ship_city"]."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>zip/post code</td>";
echo"<td>".$o_detail["ship_zip"]."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>Country</td>";
echo"<td>".$o_detail["ship_country"]."</td>";
echo"</tr>";
if(get_ccdet(customerId))
{
$cc_detail=getccdet(customerId);
if(is_array(cc_detail))
{
echo"<tr>";
echo"<td>Card Number</td>";
echo"<td>".$ccno."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>Card expiry</td>";
echo"<tr>".$ccend."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>start date</td>";
echo"</tr>";
echo"<tr>";
echo"<td>Security<td>";
echo"<td>".$threed."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>Card holder</td>";
echo"<td>".$card_name."</td>";
echo"</tr>";
if(get_product(orderId))
{
$p_detail=get_product(orderId);
if(is_array($p_detail))
{
while(list( $productId) = each( $p_detail ))
{
display_product_details(get_product_details($p_detail));
}
}
}
}
}
}
}
}
}
}}
any ideas folks?
am getting an error message:
Parse error: parse error in output_fns.php on line 270
function display_order($orderId)
{
if(get_Order($orderId))
{
$o_detail=get_order($orderId);
if(is_array($o_detail))
(
//line 270 echo"<table>";
echo"<tr>";
echo"<td>orderId</td>";
echo"<td>".$o_detail["orderId"]."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>CustomerId</td>";
echo"<td>".$o_detail["cutomerId"]."</td>";
echo"</tr>";
if(get_customer($customerId))
{
$c_detail=get_customer(customerId);
if(is_array($c_detail))
{
echo"<tr>";
echo"<td>order total</td>";
echo"<td>".$o_detail["$amount"]."</td>";
echo"</tr>";
echo"<tr>";
echo"<td> placed on <td>";
echo"<td>".$o_detail["date"]."<td>";
echo"</tr>";
echo"<tr>";
echo"<td>Customer's Name</td>";
echo"<td>".$o_detail["ship_name"]."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>First Address line</td>";
echo"<tr>".$o_detail["ship_1st_add"]."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>Second Address line</td>";
echo"<td>".$o_detail["ship_2nd_add"]."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>City/Town</td>";
echo"<td>".$o_detail["ship_city"]."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>zip/post code</td>";
echo"<td>".$o_detail["ship_zip"]."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>Country</td>";
echo"<td>".$o_detail["ship_country"]."</td>";
echo"</tr>";
if(get_ccdet(customerId))
{
$cc_detail=getccdet(customerId);
if(is_array(cc_detail))
{
echo"<tr>";
echo"<td>Card Number</td>";
echo"<td>".$ccno."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>Card expiry</td>";
echo"<tr>".$ccend."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>start date</td>";
echo"</tr>";
echo"<tr>";
echo"<td>Security<td>";
echo"<td>".$threed."</td>";
echo"</tr>";
echo"<tr>";
echo"<td>Card holder</td>";
echo"<td>".$card_name."</td>";
echo"</tr>";
if(get_product(orderId))
{
$p_detail=get_product(orderId);
if(is_array($p_detail))
{
while(list( $productId) = each( $p_detail ))
{
display_product_details(get_product_details($p_detail));
}
}
}
}
}
}
}
}
}
}}
any ideas folks?