Skip to main content
Participant
April 5, 2012
Answered

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' - HELP PLEASE

  • April 5, 2012
  • 1 reply
  • 1375 views

On a file for a MYSQL Records Deletion I have one problem with the code, every other features works great execpt the Delete record tool

The problem is on line 96;

<td><a href="deleterecprd.php?recordID=<?php echo  $row_ recordsetName [' fieldName ']; ?>"><?php echo $row_Recordset1['Date']; ?></a></td>

The problem on is;

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'

I am running PHP 5.2 / MYSQL 5.1.57

Thank You,

This topic has been closed for replies.
Correct answer Rob Hecker2

You have an unintentional space where I put an X:

$row_XrecordsetName

1 reply

Rob Hecker2
Rob Hecker2Correct answer
Legend
April 5, 2012

You have an unintentional space where I put an X:

$row_XrecordsetName

freesirAuthor
Participant
April 5, 2012

Thank you so much, I would have been looking at the code for years

Rob Hecker2
Legend
April 5, 2012

You're welcome. Sometimes it just takes a different set of eyes.