chesemonkyloma
08-31-2006, 05:49 PM
I did just post a question but now I'm having a problem with one of my other scripts. I keep getting this error "unexpected T_STRING". Here's my script:
<?php
$link = mysql_connect("localhost","username","password");
if (!$link)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("newsletter", $link);
mysql_query(UPDATE Members
SET Confirm = 'TRUE'
WHERE ID='$id'
)or die(mysql_error());
echo "Your subscription to the Newsletter has been confirmed";
?>
<?php
$link = mysql_connect("localhost","username","password");
if (!$link)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("newsletter", $link);
mysql_query(UPDATE Members
SET Confirm = 'TRUE'
WHERE ID='$id'
)or die(mysql_error());
echo "Your subscription to the Newsletter has been confirmed";
?>