hm, again - do not use XHTML, because you do not know what you are
doing; Your pages will break.
HTML 4.01 is the standard that everyone should use.
And hey, I already throught you was joking there ;)
Bit of my code:
$user = User::FromPost($registerData);
if ( $user === false ) {
$site->setView("register.invalid");
}
else {
$r=$user->register(&$site);
if ( $r === false ) {
$site->setView("register.error");
}
else {
$site->setView("register.success");
}
}
Well if you really want something to make easily, there's a good
solution - Plone or something like that.
Currently, I am doing both the back (ugly bits) and front (the pretty
bits, like i pasted) on the site.
Though the back bits are not coded nicely at all because I do not
currently have any kind of framework based upon myself, to create SQL
queries etc.
There is a painful job, which was madce by Iain at
http://rocketsled.iaindooley.com/ (google it if you've got any problems
with the site, probably incorrect link). He is a good coder and knows
Java and PHP very well and is applying his Java OOP skills in ugly PHP
world :) A big thanks for the guy, working on enterprise technologies
:)
Just make sure that your HTML pages validate HTML 4.01 strict in w3's
validator. That'll be the best thing :)
Thank you :)