Jump to content

PHP Parse error: parse error in line 88???


brucegregory

Recommended Posts

This is a clip of my PHP file:
<?php
$con = mysql_connect($host,$username,$password);
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

mysql_select_db($database, $con);

$result = mysql_query("SELECT * FROM purchase_order
WHERE purchase_order_number=='$purchase_order_number'");

while($row = mysql_fetch_array($result))
  {
$vendor=$row['vendor'];
$purchase_order_date=$row['purchase_order_date'];
$ship=$row['ship'];
$state=$row['state'];
$fob=$row['fob'];
$terms=$row['terms'];
$buyer=$row['buyer'];
$freight=$row['freight'];
$req_date=$row['req_date'];
$confirming_to=$row['confirming_to'];
$remarks=$row['remarks'];
$tax=$row['tax']
} // [i][u][b]<-- This is line 88 (The one with the error)[/b][/u][/i]
?>

Thanks in advance!

Link to comment
https://forums.phpfreaks.com/topic/262362-php-parse-error-parse-error-in-line-88/
Share on other sites

This is a clip of my PHP file:
<?php
$con = mysql_connect($host,$username,$password);
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

mysql_select_db($database, $con);

$result = mysql_query("SELECT * FROM purchase_order
WHERE purchase_order_number=='$purchase_order_number'");

while($row = mysql_fetch_array($result))
  {
$vendor=$row['vendor'];
$purchase_order_date=$row['purchase_order_date'];
$ship=$row['ship'];
$state=$row['state'];
$fob=$row['fob'];
$terms=$row['terms'];
$buyer=$row['buyer'];
$freight=$row['freight'];
$req_date=$row['req_date'];
$confirming_to=$row['confirming_to'];
$remarks=$row['remarks'];
$tax=$row['tax'] <--- I need one of ; right there... Stupid me
} // [i][u][b]<-- This is line 88 (The one with the error)[/b][/u][/i]
?>

Thanks in anyway!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.