Hi there,
Problem:
I got this error: Parse error: syntax error, unexpected end of file
Code:
[php]<?php
mysql_connect("SECRET,‘SECRET’,‘SECRET’);
mysql_select_db(‘b9_21718967_applications’);
$username=$_POST{[‘name’]};
$rank=$_POST{[‘rank’]};
$reason=$_POST{[‘reason’]};
$query='insert into staffapp (name,rank,reason) values('$name,$rank,$reason')';
$run=mysql_query($query);
if($run)
{
echo 'Succesfully Applied!'
}
else
{
echo 'Sorry try again!'
}
?>[/php]
Sorry if i made a stupid mistake its my first time ???
Thanks for your support