Your help needed on a Delete PHP Script

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
pallarisari
Forum Newbie
Posts: 17
Joined: Sat Apr 16, 2005 12:52 pm

Your help needed on a Delete PHP Script

Post 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:
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

You have a space in your variable name for a start

$row_ resultdata

should be

$row_resultdata
User avatar
pallarisari
Forum Newbie
Posts: 17
Joined: Sat Apr 16, 2005 12:52 pm

Post by pallarisari »

yup stopped that and it has fixed the problem, thx
Post Reply