Pc 1203
08-03-2007, 02:15 PM
Hi All,
I was testing some of my code and I got an unexpected error. It is:
Parse error: syntax error, unexpected $end in /home/penguink/public_html/dev/profilesys/update.php on line 9
And here is my code:
<?php
$data = $_POST['theme'];
$userid = $_POST['uid'];
$update = $vbulletin->db->query("UPDATE userfield SET field7 ='" . $data . "' WHERE userid =" . $userid . ");
include ('/home/penguink/public_html/members/header.php');
include ('/home/penguink/public_html/members/nav.php');
print <b><center>Settings Sucessfully Saved!</center></b>;
include ('/home/penguink/public_html/members/footer.php');
?>
Any help?
- Pc1203
ALSO: This is development code.
I was testing some of my code and I got an unexpected error. It is:
Parse error: syntax error, unexpected $end in /home/penguink/public_html/dev/profilesys/update.php on line 9
And here is my code:
<?php
$data = $_POST['theme'];
$userid = $_POST['uid'];
$update = $vbulletin->db->query("UPDATE userfield SET field7 ='" . $data . "' WHERE userid =" . $userid . ");
include ('/home/penguink/public_html/members/header.php');
include ('/home/penguink/public_html/members/nav.php');
print <b><center>Settings Sucessfully Saved!</center></b>;
include ('/home/penguink/public_html/members/footer.php');
?>
Any help?
- Pc1203
ALSO: This is development code.