Thank you Rabbit... now i closed the else statement with "}" but still I got the same "Parse error: syntax error, unexpected T_ELSE".
<?php
include 'db_connect.php ';
$name = $_POST['Fname'];
$surname = $_POST['Sname'];
$pass = $_POST['Pname'];
$user = $_POST['Uname'];
if (!$_post['submit']);
{
echo "echo please fill out the form";...
User Profile
Collapse
-
Parse error: syntax error, unexpected T_ELSE(please help)
Hi im new in php and i got a problem(T_ELSE) with this code please help!
"Parse error: syntax error, unexpected T_ELSE in C:\xampp\htdocs \update.php on line 15"
...Code:<?php include 'db_connect.php'; $name = $_POST['Fname']; $surname = $_POST['Sname']; $pass = $_POST['Pname']; $user = $_POST['Uname']; if (!$_post['submit']); { echo "echoLast edited by Dormilich; Feb 13 '12, 07:01 AM. Reason: Please use [CODE] [/CODE] tags when posting code.
No activity results to display
Show More
Leave a comment: