hi ther!
iv currently got a html form which holds 2 text boxes, and 3 buttons.
i want to put that form inside a php if statement which would do..
if(logged in)
{
display form A
}
else
{
display form B
}
its basically to change a login form from being able to login, to viewing your control panel.
if got a simple login system working on my page, but cant get this working.
keep getting syntax error: unexpected "<" on line 906.
HELP?!
ps: i dont know if im doing this a stupid way. if i am, how do i do it propperly?
iv currently got a html form which holds 2 text boxes, and 3 buttons.
i want to put that form inside a php if statement which would do..
if(logged in)
{
display form A
}
else
{
display form B
}
its basically to change a login form from being able to login, to viewing your control panel.
if got a simple login system working on my page, but cant get this working.
keep getting syntax error: unexpected "<" on line 906.
HELP?!
ps: i dont know if im doing this a stupid way. if i am, how do i do it propperly?
Last edited: