Page 1 of 1

Your help needed on a Delete PHP Script

Posted: Mon Jan 23, 2006 7:53 am
by pallarisari
Im having an issue with a particular statement which produces error

Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in C:\Server\htdocs\data.php on line 183


Code: Select all

<td width="17%"><div align="left"><?php echo $row_resultdata['lastguitar']; ?></div></td>
                <td width="2"><a href="confirmDelete.php?recordID=<?php echo $row_ resultdata['id']; ?>">x</a></td>

Im using PHP version 4.40
Apache 2.0

any help will be greatly appreciated. thanks
:wink:

Posted: Mon Jan 23, 2006 8:05 am
by JayBird
You have a space in your variable name for a start

$row_ resultdata

should be

$row_resultdata

Posted: Mon Jan 23, 2006 9:23 am
by pallarisari
yup stopped that and it has fixed the problem, thx